Merge pull request #22 from smlloyd/master

Fix overwriting dictionary with pillar data.
This commit is contained in:
Wolodja Wentland 2015-01-12 09:44:56 +01:00
commit 4098e46527
1 changed files with 1 additions and 1 deletions

View File

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