mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2025-02-20 10:28:45 +01:00
Merge pull request #168 from saltstack-formulas/fix_master_pillar_root
Fixed pillar_roots generation for salt-master.
This commit is contained in:
commit
03464977dc
@ -652,12 +652,12 @@ pillar_roots:
|
|||||||
{%- for dir in roots %}
|
{%- for dir in roots %}
|
||||||
- {{ dir }}
|
- {{ dir }}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{% endfor %}
|
{%- endfor -%}
|
||||||
{%- elif 'pillar_roots' in cfg_salt -%}
|
{% 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…
Reference in New Issue
Block a user