make the configuration of engines specific to master or minion

the engines are now configured using the following pillars:

* salt.master.engines
* salt.minion.engines

instead of a global salt.engines pillar.

Note: the pillar.example provided seems to assume this behaviour.
(the pillar is salt.master.engines.slack and not salt.engines.slack)
This commit is contained in:
carpenti 2016-10-05 10:26:36 +02:00
parent 5e9c937931
commit c27bfd92b7
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#
# This file is managed by Salt! Do not edit by hand!
#
{%- set engines = salt['pillar.get']('salt:engines') -%}
{%- set engines = salt['pillar.get']('salt:master:engines') -%}
{%- if engines %}
engines:
{{ engines | yaml(False) | indent(2) }}

View File

@ -1,7 +1,7 @@
#
# This file is managed by Salt! Do not edit by hand!
#
{%- set engines = salt['pillar.get']('salt:engines') -%}
{%- set engines = salt['pillar.get']('salt:minion:engines') -%}
{%- if engines %}
engines:
{{ engines | yaml(False) | indent(2) }}