瀏覽代碼

added proper indentation for jinja conditionals in reactor template

master
Tim O'Guin 10 年之前
父節點
當前提交
3d52dfd8ec
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. +6
    -6
      salt/files/master.d/reactor.conf

+ 6
- 6
salt/files/master.d/reactor.conf 查看文件

@@ -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…
取消
儲存