Browse Source

jijna syntax fix

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

+ 2
- 2
salt/files/master View File

{% if 'ext_pillar' in master -%} {% if 'ext_pillar' in master -%}
ext_pillar: ext_pillar:
{% for pillar in master['ext_pillar'] %} {% for pillar in master['ext_pillar'] %}
- {{ pillar.items()[0] }}: {{ pillar.items()[1]
- {{ pillar.items()[0] }}: {{ pillar.items()[1] }}
{% endfor -%} {% endfor -%}
{% elif 'ext_pillar' in salt -%} {% elif 'ext_pillar' in salt -%}
ext_pillar: ext_pillar:
{% for pillar in salt['ext_pillar'] %} {% for pillar in salt['ext_pillar'] %}
- {{ pillar.items()[0] }}: {{ pillar.items()[1]
- {{ pillar.items()[0] }}: {{ pillar.items()[1] }}
{% endfor -%} {% endfor -%}
{% else %} {% else %}
# ext_pillar: # ext_pillar:

Loading…
Cancel
Save