added proper indentation for jinja conditionals in reactor template
This commit is contained in:
parent
2852e7b897
commit
3d52dfd8ec
@ -4,12 +4,12 @@
|
|||||||
{%- set reactors = salt['pillar.get']('salt:reactor') -%}
|
{%- set reactors = salt['pillar.get']('salt:reactor') -%}
|
||||||
{%- if reactors %}
|
{%- if reactors %}
|
||||||
reactor:
|
reactor:
|
||||||
{%- for reactor in reactors %}
|
{%- for reactor in reactors %}
|
||||||
{%- for event_tag, reactor_files in reactor.items() %}
|
{%- for event_tag, reactor_files in reactor.items() %}
|
||||||
- '{{ event_tag }}'
|
- '{{ event_tag }}'
|
||||||
{%- for reactor_file in reactor_files %}
|
{%- for reactor_file in reactor_files %}
|
||||||
- {{ reactor_file }}
|
- {{ reactor_file }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user