mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-03-06 22:31:08 +01:00
ACL code in master config doesn't allow for nesting commands under minion names
This commit is contained in:
parent
c21c204dd5
commit
dcab81866e
@ -279,11 +279,9 @@ event_return_blacklist:
|
||||
# - network.*
|
||||
{% 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