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:
parent
7abdf217a9
commit
8eabd29c1c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user