mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix inverted logic for component template
This commit is contained in:
@@ -67,7 +67,7 @@ if [ -f "$file" ]; then
|
|||||||
cd ${ELASTICSEARCH_TEMPLATES}/component/elastic-agent
|
cd ${ELASTICSEARCH_TEMPLATES}/component/elastic-agent
|
||||||
|
|
||||||
echo "Loading Elastic Agent component templates..."
|
echo "Loading Elastic Agent component templates..."
|
||||||
{% if GLOBALS.role != 'so-heavynode' %}
|
{% if GLOBALS.role == 'so-heavynode' %}
|
||||||
component_pattern="so-*"
|
component_pattern="so-*"
|
||||||
{% else %}
|
{% else %}
|
||||||
component_pattern="*"
|
component_pattern="*"
|
||||||
|
|||||||
Reference in New Issue
Block a user