Przeglądaj źródła

added proper indentation for jinja conditionals in reactor template

master
Tim O'Guin 10 lat temu
rodzic
commit
3d52dfd8ec
1 zmienionych plików z 6 dodań i 6 usunięć
  1. +6
    -6
      salt/files/master.d/reactor.conf

+ 6
- 6
salt/files/master.d/reactor.conf Wyświetl plik

@@ -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 -%}

Ładowanie…
Anuluj
Zapisz