switch default from list to dict on include to match the global configuration

This commit is contained in:
Robert Fairburn 2014-07-09 13:36:47 -05:00
parent 1c3e6844bc
commit fb3773a605
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
{%- endif %}
{%- set includedir = sudoers.get('includedir', '/etc/sudoers.d') -%}
{%- else %}
{%- set defaults = sudoers.get('defaults', []) %}
{%- set defaults = sudoers.get('defaults', {}) %}
{%- set generic_defaults = defaults.get('generic', []) %}
{%- set user_list_defaults = defaults.get('user_list', {}) %}
{%- set host_list_defaults = defaults.get('host_list', {}) %}