diff --git a/salt/files/master.d/engine.conf b/salt/files/master.d/engine.conf index 47e6a6d..deae50d 100644 --- a/salt/files/master.d/engine.conf +++ b/salt/files/master.d/engine.conf @@ -1,8 +1,13 @@ # # This file is managed by Salt! Do not edit by hand! # -{%- set engines = salt['pillar.get']('salt:engines', {}) -%} +{%- 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) }}