0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 00:48:02 +01:00

Merge pull request #17 from KennethWilke/master

Added module_config section to minion template
This commit is contained in:
David Boucha 2013-09-03 08:46:31 -07:00
commit bea689e977
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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 ######
###########################################