浏览代码

added proper indentation for jinja conditionals in reactor template

tags/v0.57.0
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 -%}

正在加载...
取消
保存