Bläddra i källkod

added proper indentation for jinja conditionals in reactor template

master
Tim O'Guin 10 år sedan
förälder
incheckning
3d52dfd8ec
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. +6
    -6
      salt/files/master.d/reactor.conf

+ 6
- 6
salt/files/master.d/reactor.conf Visa fil

{%- 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 event_tag, reactor_files in reactor.items() %}
{%- for reactor in reactors %}
{%- 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 -%}

Laddar…
Avbryt
Spara