0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-02 23:06:50 +01:00

jijna syntax fix

This commit is contained in:
Kenneth Wilke 2013-08-27 10:30:23 -05:00
parent e104b3eb41
commit 1f71bef33b

View File

@ -436,12 +436,12 @@ pillar_roots:
{% 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: