Merge pull request #22 from smlloyd/master
Fix overwriting dictionary with pillar data.
This commit is contained in:
commit
4098e46527
|
@ -3,7 +3,7 @@
|
||||||
include:
|
include:
|
||||||
- sudoers
|
- sudoers
|
||||||
|
|
||||||
{% set sudoers = pillar.get('sudoers', {}) %}
|
{% do sudoers.update(pillar.get('sudoers', {})) %}
|
||||||
{% set included_files = sudoers.get('included_files', {}) %}
|
{% set included_files = sudoers.get('included_files', {}) %}
|
||||||
{% for included_file,spec in included_files.items() -%}
|
{% for included_file,spec in included_files.items() -%}
|
||||||
{{ included_file }}:
|
{{ included_file }}:
|
||||||
|
|
Loading…
Reference in New Issue