1
0
Fork 0
mirror of synced 2024-12-22 14:11:07 -05:00

syntax errors

This commit is contained in:
bellaweo 2017-02-14 15:37:13 -08:00
parent ebb103d6a4
commit 35c995aee7
2 changed files with 6 additions and 5 deletions

View file

@ -95,11 +95,13 @@ Runas_Alias {{ name }} = {{ ",".join(runas) }}
{{ group }} {{ spec }}
{%- endfor %}
{%- endfor %}
{% for unix_group in in salt['pillar.get']('group_map:core', {}).keys() %}
{% if unix_group in group_map.keys() %}
{%- for unix_group in pillar.get('group_map:core', {}).keys() %}
{%- if unix_group in group_map.keys() %}
{{ unix_group }} {{ group_map.unix_group }}
{% else %}
{%- else %}
{{ unix_group }} (( group_map.default }}
{%- endif %}
{%- endfor %}
{% if includedir %}
## Read drop-in files from /etc/sudoers.d

View file

@ -21,6 +21,5 @@
'plosqa': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
},
grain='environment',
merge=salt['pillar.get']('group_maps:lookup', None)),
default='default'
merge=salt['pillar.get']('group_maps:lookup', None))
%}