mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
dont loop if modules arent defined for the node
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# DO NOT EDIT THIS FILE
|
||||
{% for module in MODULES.modules.keys() %}
|
||||
{%- if MODULES.modules is iterable and MODULES.modules is not string and MODULES.modules|length > 0%}
|
||||
{%- for module in MODULES.modules.keys() %}
|
||||
- module: {{ module }}
|
||||
{%- for fileset in MODULES.modules[module] %}
|
||||
{{ fileset }}:
|
||||
@@ -13,4 +14,5 @@
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{% endfor %}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user