fixed ext_pillar
This commit is contained in:
parent
c080cf37d6
commit
426493b76d
|
@ -435,13 +435,13 @@ pillar_roots:
|
|||
|
||||
{% if 'ext_pillar' in master -%}
|
||||
ext_pillar:
|
||||
{% for name, args in master['ext_pillar'].items() -%}
|
||||
- {{ name }}: {{ args }}
|
||||
{% for pillar in master['ext_pillar'] %}
|
||||
- {{ pillar }}
|
||||
{% endfor -%}
|
||||
{% elif 'ext_pillar' in salt -%}
|
||||
ext_pillar:
|
||||
{% for name, args in salt['ext_pillar'].items() -%}
|
||||
- {{ name }}: {{ args }}
|
||||
{% for pillar in salt['ext_pillar'] %}
|
||||
- {{ pillar }}
|
||||
{% endfor -%}
|
||||
{% else %}
|
||||
# ext_pillar:
|
||||
|
|
Loading…
Reference in New Issue