0
0
mirror of https://github.com/saltstack-formulas/sudoers-formula.git synced 2024-11-28 02:57:52 +01:00

Need to be able to handle netgroups

This makes it incompatible with netgroups. netgroups are defined with a "+" symbol in front.  For example +mynetgroup.
This commit is contained in:
Wesley Arthur 2018-03-16 12:59:11 -04:00 committed by GitHub
parent 1a46975212
commit f25100522f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ Runas_Alias {{ name }} = {{ ",".join(runas) }}
# Group privilege specification # Group privilege specification
{%- for group,specs in groups.items() %} {%- for group,specs in groups.items() %}
{%- for spec in specs %} {%- for spec in specs %}
%{{ group }} {{ spec }} {{ group }} {{ spec }}
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}