Bläddra i källkod

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 8 år sedan
förälder
incheckning
cb050736b0
2 ändrade filer med 2 tillägg och 2 borttagningar
  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 Visa fil

@@ -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 Visa fil

@@ -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:

Laddar…
Avbryt
Spara