1
0
Fork 0
mirror of synced 2024-11-16 22:25:34 -05:00

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

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', {}) %}