|
|
|
|
|
|
|
|
{% 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: |