|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if 'ext_pillar' in master -%} |
|
|
{% if 'ext_pillar' in master -%} |
|
|
ext_pillar: |
|
|
ext_pillar: |
|
|
{% for name, args in master['ext_pillar'].items() -%} |
|
|
|
|
|
- {{ name }}: {{ args }} |
|
|
|
|
|
|
|
|
{% for pillar in master['ext_pillar'] %} |
|
|
|
|
|
- {{ pillar }} |
|
|
{% endfor -%} |
|
|
{% endfor -%} |
|
|
{% elif 'ext_pillar' in salt -%} |
|
|
{% elif 'ext_pillar' in salt -%} |
|
|
ext_pillar: |
|
|
ext_pillar: |
|
|
{% for name, args in salt['ext_pillar'].items() -%} |
|
|
|
|
|
- {{ name }}: {{ args }} |
|
|
|
|
|
|
|
|
{% for pillar in salt['ext_pillar'] %} |
|
|
|
|
|
- {{ pillar }} |
|
|
{% endfor -%} |
|
|
{% endfor -%} |
|
|
{% else %} |
|
|
{% else %} |
|
|
# ext_pillar: |
|
|
# ext_pillar: |