Explorar el Código

Merge pull request #279 from aboe76/fix_pillar_dict_with_default_merge

fix default dict warning with saltstack dev version
tags/v0.57.0
Brian Jackson hace 8 años
padre
commit
cb050736b0
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

@@ -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:engines', {}) -%}
{%- set engines = salt['pillar.get']('salt:master:engines', default=engines, merge=True) -%}
{%- if engines %}
engines:

+ 1
- 1
salt/files/minion.d/engine.conf Ver fichero

@@ -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:engines', {}) -%}
{%- set engines = salt['pillar.get']('salt:minion:engines', default=engines, merge=True) -%}
{%- if engines %}
engines:

Cargando…
Cancelar
Guardar