2
0

Merge pull request #168 from saltstack-formulas/fix_master_pillar_root

Fixed pillar_roots generation for salt-master.
This commit is contained in:
Nitin Madhok 2015-08-06 05:43:08 -04:00
commit 03464977dc

View File

@ -652,12 +652,12 @@ pillar_roots:
{%- for dir in roots %}
- {{ dir }}
{%- endfor -%}
{% endfor %}
{%- elif 'pillar_roots' in cfg_salt -%}
{%- endfor -%}
{% elif 'pillar_roots' in cfg_salt -%}
pillar_roots:
{%- for name, roots in cfg_salt['pillar_roots']|dictsort -%}
{%- for name, roots in cfg_salt['pillar_roots']|dictsort %}
{{ name }}:
{%- for dir in roots -%}
{%- for dir in roots %}
- {{ dir }}
{%- endfor -%}
{%- endfor -%}