mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-02-21 11:28:01 +01:00
Allow nesting commands under minion names in master ACL config
This commit is contained in:
parent
7abdf217a9
commit
f3ce57252a
@ -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