mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-30 21:45:25 +01:00
ext_pillar fix
This commit is contained in:
parent
1f71bef33b
commit
e3a29bf69a
@ -436,12 +436,12 @@ pillar_roots:
|
||||
{% if 'ext_pillar' in master -%}
|
||||
ext_pillar:
|
||||
{% for pillar in master['ext_pillar'] %}
|
||||
- {{ pillar.items()[0] }}: {{ pillar.items()[1] }}
|
||||
- {{ pillar.items()[0][0] }}: {{ pillar.items()[0][1] }}
|
||||
{% endfor -%}
|
||||
{% elif 'ext_pillar' in salt -%}
|
||||
ext_pillar:
|
||||
{% for pillar in salt['ext_pillar'] %}
|
||||
- {{ pillar.items()[0] }}: {{ pillar.items()[1] }}
|
||||
- {{ pillar.items()[0][0] }}: {{ pillar.items()[0][1] }}
|
||||
{% endfor -%}
|
||||
{% else %}
|
||||
# ext_pillar:
|
||||
|
Loading…
Reference in New Issue
Block a user