Skip to content
Snippets Groups Projects
Commit 9404ebf9 authored by Kenneth Wilke's avatar Kenneth Wilke
Browse files

Added module_config section to minion template

parent d337cc27
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,12 @@ salt:
- /srv/salt
minion:
master: salt
module_config:
test: True
test.foo: foo
test.bar:
- baz
- quo
test.baz:
spam: sausage
cheese: bread
......@@ -509,7 +509,11 @@ pillar_roots:
#
# A dict for the test module:
#test.baz: {spam: sausage, cheese: bread}
{%- if 'module_config' in minion %}
{%- for modkey, modval in minion.module_config.items() %}
{{ modkey }}: {{ modval }}
{%- endfor %}
{%- endif %}
###### Update settings ######
###########################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment