included_files default changed to empty dict.

This commit is contained in:
Simon Lloyd 2014-12-24 15:08:03 +01:00
parent a3d228bb05
commit ffc287bf34
1 changed files with 1 additions and 1 deletions

View File

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