0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2025-04-21 12:34:37 +02:00

Allow nesting commands under minion names in master ACL config

This commit is contained in:
John Carlyle-Clarke 2016-03-17 14:58:23 +00:00
parent 7abdf217a9
commit 8eabd29c1c

View File

@ -323,11 +323,9 @@ event_return_blacklist:
# disabled.
{% if 'client_acl' in cfg_master -%}
client_acl:
{%- for name, user in cfg_master['client_acl']|dictsort %}
{%- for name, items in cfg_master['client_acl']|dictsort %}
{{ name}}:
{%- for command in user %}
- {% raw %}'{% endraw %}{{ command }}{% raw %}'{% endraw %}
{%- endfor -%}
{{ items | yaml }}
{%- endfor -%}
{% elif 'client_acl' in cfg_salt -%}
client_acl: