Pārlūkot izejas kodu

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)
tags/v0.57.0
carpenti pirms 8 gadiem
vecāks
revīzija
c27bfd92b7
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      salt/files/master.d/engine.conf
  2. +1
    -1
      salt/files/minion.d/engine.conf

+ 1
- 1
salt/files/master.d/engine.conf Parādīt failu

# #
# This file is managed by Salt! Do not edit by hand! # 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 %} {%- if engines %}
engines: engines:
{{ engines | yaml(False) | indent(2) }} {{ engines | yaml(False) | indent(2) }}

+ 1
- 1
salt/files/minion.d/engine.conf Parādīt failu

# #
# This file is managed by Salt! Do not edit by hand! # 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 %} {%- if engines %}
engines: engines:
{{ engines | yaml(False) | indent(2) }} {{ engines | yaml(False) | indent(2) }}

Notiek ielāde…
Atcelt
Saglabāt