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:
parent
1a46975212
commit
f25100522f
@ -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 %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user