included_files default changed to empty dict.
This commit is contained in:
parent
a3d228bb05
commit
ffc287bf34
|
@ -4,7 +4,7 @@ include:
|
||||||
- sudoers
|
- sudoers
|
||||||
|
|
||||||
{% set sudoers = pillar.get('sudoers', {}) %}
|
{% set sudoers = 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 }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
|
|
Loading…
Reference in New Issue