Browse Source

Merge pull request #168 from saltstack-formulas/fix_master_pillar_root

Fixed pillar_roots generation for salt-master.
tags/v0.57.0
Nitin Madhok 9 years ago
parent
commit
03464977dc
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      salt/files/master.d/f_defaults.conf

+ 4
- 4
salt/files/master.d/f_defaults.conf View File

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

Loading…
Cancel
Save