allow for multiple lines for the same user or group

This commit is contained in:
Robert Fairburn committed 2014-08-19 09:26:47 -05:00
1 parent 24ae95394f
commit cd1ddcf25f
2 files changed
+16 -6

No files matched your search

+6 -2
View File
@@ -82,13 +82,17 @@ Runas_Alias {{ name }} = {{ ",".join(runas) }}
{%- endfor %}
# User privilege specification
{%- for user,spec in users.items() %}
{%- for user,specs in users.items() %}
{%- for spec in specs %}
{{ user }} {{ spec }}
{%- endfor %}
{%- endfor %}
# Group privilege specification
{%- for group,spec in groups.items() %}
{%- for group,specs in groups.items() %}
{%- for spec in specs %}
%{{ group }} {{ spec }}
{%- endfor %}
{%- endfor %}
{% if includedir %}