Skip to content

Commit

Permalink
Fix lists join error (saltstack-formulas#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbertoli committed Jun 9, 2017
1 parent 83433c8 commit b8273b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions salt/files/master.d/reactor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions salt/files/minion.d/reactor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b8273b9

Please sign in to comment.