Sfoglia il codice sorgente

added proper indentation for jinja conditionals in reactor template

master
Tim O'Guin 10 anni fa
parent
commit
3d52dfd8ec
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. +6
    -6
      salt/files/master.d/reactor.conf

+ 6
- 6
salt/files/master.d/reactor.conf Vedi 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…
Annulla
Salva