syntax errors
This commit is contained in:
parent
ebb103d6a4
commit
35c995aee7
2 changed files with 6 additions and 5 deletions
|
@ -95,11 +95,13 @@ Runas_Alias {{ name }} = {{ ",".join(runas) }}
|
||||||
{{ group }} {{ spec }}
|
{{ group }} {{ spec }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% for unix_group in in salt['pillar.get']('group_map:core', {}).keys() %}
|
{%- for unix_group in pillar.get('group_map:core', {}).keys() %}
|
||||||
{% if unix_group in group_map.keys() %}
|
{%- if unix_group in group_map.keys() %}
|
||||||
{{ unix_group }} {{ group_map.unix_group }}
|
{{ unix_group }} {{ group_map.unix_group }}
|
||||||
{% else %}
|
{%- else %}
|
||||||
{{ unix_group }} (( group_map.default }}
|
{{ unix_group }} (( group_map.default }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
|
||||||
{% if includedir %}
|
{% if includedir %}
|
||||||
## Read drop-in files from /etc/sudoers.d
|
## Read drop-in files from /etc/sudoers.d
|
||||||
|
|
|
@ -21,6 +21,5 @@
|
||||||
'plosqa': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
'plosqa': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
||||||
},
|
},
|
||||||
grain='environment',
|
grain='environment',
|
||||||
merge=salt['pillar.get']('group_maps:lookup', None)),
|
merge=salt['pillar.get']('group_maps:lookup', None))
|
||||||
default='default'
|
|
||||||
%}
|
%}
|
||||||
|
|
Loading…
Reference in a new issue