Quellcode durchsuchen

Merge pull request #318 from netmanagers/master

Fix lists join error (#317)
tags/v0.57.0
Niels Abspoel vor 7 Jahren
Ursprung
Commit
826bf6695e
2 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen
  1. +1
    -3
      salt/files/master.d/reactor.conf
  2. +1
    -3
      salt/files/minion.d/reactor.conf

+ 1
- 3
salt/files/master.d/reactor.conf Datei anzeigen

@@ -2,9 +2,7 @@
# This file is managed by Salt! Do not edit by hand!
#
{# The parameter reactor is kept for backward compatibility -#}
{%- set reactors = salt['pillar.get']('salt:reactor', []) -%}
{%- set reactors = salt['pillar.get']('salt:reactors', default=reactors, merge=True) -%}
{%- set reactors = salt['pillar.get']('salt:master:reactors', default=reactors, merge=True) -%}
{%- set reactors = salt['pillar.get']('salt:reactor', []) + salt['pillar.get']('salt:reactors', []) + salt['pillar.get']('salt:master:reactors', []) -%}

{%- if reactors %}
reactor:

+ 1
- 3
salt/files/minion.d/reactor.conf Datei anzeigen

@@ -2,9 +2,7 @@
# This file is managed by Salt! Do not edit by hand!
#
{# The parameter reactor is kept for backward compatibility -#}
{%- set reactors = salt['pillar.get']('salt:reactor', []) -%}
{%- set reactors = salt['pillar.get']('salt:reactors', default=reactors, merge=True) -%}
{%- set reactors = salt['pillar.get']('salt:minion:reactors', default=reactors, merge=True) -%}
{%- set reactors = salt['pillar.get']('salt:reactor', []) + salt['pillar.get']('salt:reactors', []) + salt['pillar.get']('salt:minion:reactors', []) -%}

{%- if reactors %}
reactor:

Laden…
Abbrechen
Speichern