Browse Source

fixed ext_pillar

master
Kenneth Wilke 11 years ago
parent
commit
e104b3eb41
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 }}
- {{ 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 }}
- {{ pillar.items()[0] }}: {{ pillar.items()[1]
{% endfor -%} {% endfor -%}
{% else %} {% else %}
# ext_pillar: # ext_pillar:

Loading…
Cancel
Save