Fix inverted logic for component template

This commit is contained in:
Wes
2023-07-06 20:46:35 +00:00
parent 910125f13a
commit 0b5ee49873

View File

@@ -67,7 +67,7 @@ if [ -f "$file" ]; then
cd ${ELASTICSEARCH_TEMPLATES}/component/elastic-agent
echo "Loading Elastic Agent component templates..."
{% if GLOBALS.role != 'so-heavynode' %}
{% if GLOBALS.role == 'so-heavynode' %}
component_pattern="so-*"
{% else %}
component_pattern="*"