0
0
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:
Fastmarkets Infrastructure 2015-07-02 17:22:14 +01:00
parent c21c204dd5
commit dcab81866e

View File

@ -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: