Browse Source

ext_pillar fix

tags/v0.57.0
Kenneth Wilke 11 years ago
parent
commit
e3a29bf69a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      salt/files/master

+ 2
- 2
salt/files/master View File

@@ -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…
Cancel
Save