瀏覽代碼

Support profiles within engine.conf to be able to configure sqs_events, https://docs.saltstack.com/en/latest/ref/engines/all/salt.engines.sqs_events.html

master
Stefan Reimer 7 年之前
父節點
當前提交
334d5de72b
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      salt/files/master.d/engine.conf

+ 5
- 0
salt/files/master.d/engine.conf 查看文件

@@ -3,6 +3,11 @@
#
{%- set engines = salt['pillar.get']('salt:engines', {}) -%}
{%- set engines = salt['pillar.get']('salt:master:engines', default=engines, merge=True) -%}
{%- set engines_profiles = salt['pillar.get']('salt:engines_profiles', {}) -%}
{%- set engines_profiles = salt['pillar.get']('salt:master:engines_profiles', default=engines_profiles, merge=True) -%}
{%- if engines_profiles %}
{{ engines_profiles | yaml(False) }}
{%- endif -%}
{%- if engines %}
engines:
{{ engines | yaml(False) | indent(2) }}

Loading…
取消
儲存