mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-16 14:02:52 +01:00
Fix wrong variables in learn init.sls
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
|
||||
{% set module_dict = salt['pillar.get']('learn:modules', [] ) %}
|
||||
|
||||
{% if module_list|length != 0 %}}
|
||||
{% if module_dict.items()|length != 0 %}}
|
||||
include:
|
||||
{% for module, _ in module_dict %}
|
||||
{% for module, _ in module_dict.items() %}
|
||||
- 'learn.{{ module }}'
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user