Browse Source

added proper indentation for jinja conditionals in reactor template

master
Tim O'Guin 10 years ago
parent
commit
3d52dfd8ec
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      salt/files/master.d/reactor.conf

+ 6
- 6
salt/files/master.d/reactor.conf View File

@@ -4,12 +4,12 @@
{%- set reactors = salt['pillar.get']('salt:reactor') -%}
{%- if reactors %}
reactor:
{%- for reactor in reactors %}
{%- for event_tag, reactor_files in reactor.items() %}
{%- for reactor in reactors %}
{%- for event_tag, reactor_files in reactor.items() %}
- '{{ event_tag }}'
{%- for reactor_file in reactor_files %}
{%- for reactor_file in reactor_files %}
- {{ reactor_file }}
{%- endfor %}
{%- endfor %}
{% endfor -%}
{%- endfor %}
{%- endfor %}
{% endfor -%}
{%- endif -%}

Loading…
Cancel
Save