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 }}
|
||||
{%- 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
|
||||
|
|
|
@ -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))
|
||||
%}
|
||||
|
|
Loading…
Reference in a new issue