mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Make sure enabled_nodes is populated
This commit is contained in:
@@ -112,6 +112,7 @@ fleet_server_integrations_{{ minion }}:
|
|||||||
- group: 939
|
- group: 939
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
{% for integration in integration_keys %}
|
{% for integration in integration_keys %}
|
||||||
|
{% if 'enabled_nodes' in optional_integrations[integration]%}
|
||||||
{% set enabled_nodes = optional_integrations[integration]["enabled_nodes"] %}
|
{% set enabled_nodes = optional_integrations[integration]["enabled_nodes"] %}
|
||||||
{% if minion in enabled_nodes %}
|
{% if minion in enabled_nodes %}
|
||||||
optional_integrations_dynamic_{{ minion }}_{{ integration }}:
|
optional_integrations_dynamic_{{ minion }}_{{ integration }}:
|
||||||
@@ -124,6 +125,7 @@ optional_integrations_dynamic_{{ minion }}_{{ integration }}:
|
|||||||
- defaults:
|
- defaults:
|
||||||
NAME: {{ minion }}
|
NAME: {{ minion }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user