mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 02:57:50 +01:00
Fix lists join error (#317)
This commit is contained in:
parent
83433c8dd8
commit
b8273b9c3f
@ -2,9 +2,7 @@
|
|||||||
# This file is managed by Salt! Do not edit by hand!
|
# This file is managed by Salt! Do not edit by hand!
|
||||||
#
|
#
|
||||||
{# The parameter reactor is kept for backward compatibility -#}
|
{# The parameter reactor is kept for backward compatibility -#}
|
||||||
{%- set reactors = salt['pillar.get']('salt:reactor', []) -%}
|
{%- set reactors = salt['pillar.get']('salt:reactor', []) + salt['pillar.get']('salt:reactors', []) + salt['pillar.get']('salt:master:reactors', []) -%}
|
||||||
{%- set reactors = salt['pillar.get']('salt:reactors', default=reactors, merge=True) -%}
|
|
||||||
{%- set reactors = salt['pillar.get']('salt:master:reactors', default=reactors, merge=True) -%}
|
|
||||||
|
|
||||||
{%- if reactors %}
|
{%- if reactors %}
|
||||||
reactor:
|
reactor:
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
# This file is managed by Salt! Do not edit by hand!
|
# This file is managed by Salt! Do not edit by hand!
|
||||||
#
|
#
|
||||||
{# The parameter reactor is kept for backward compatibility -#}
|
{# The parameter reactor is kept for backward compatibility -#}
|
||||||
{%- set reactors = salt['pillar.get']('salt:reactor', []) -%}
|
{%- set reactors = salt['pillar.get']('salt:reactor', []) + salt['pillar.get']('salt:reactors', []) + salt['pillar.get']('salt:minion:reactors', []) -%}
|
||||||
{%- set reactors = salt['pillar.get']('salt:reactors', default=reactors, merge=True) -%}
|
|
||||||
{%- set reactors = salt['pillar.get']('salt:minion:reactors', default=reactors, merge=True) -%}
|
|
||||||
|
|
||||||
{%- if reactors %}
|
{%- if reactors %}
|
||||||
reactor:
|
reactor:
|
||||||
|
Loading…
Reference in New Issue
Block a user