mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-27 06:57:50 +02:00
Remove optional integration from configuration if not enabled
This commit is contained in:
@@ -124,6 +124,10 @@ optional_integrations_dynamic_{{ minion }}_{{ integration }}:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
- defaults:
|
- defaults:
|
||||||
NAME: {{ minion }}
|
NAME: {{ minion }}
|
||||||
|
{% else %}
|
||||||
|
optional_integrations_dynamic_{{ minion }}_{{ integration }}_delete:
|
||||||
|
file.absent:
|
||||||
|
- name: /opt/so/conf/elastic-fleet/integrations-optional/FleetServer_{{ minion }}/{{ integration }}.json
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user