瀏覽代碼

Reactors should be in an array

master
Javier Bértoli 7 年之前
父節點
當前提交
561eb4c5c8
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      salt/files/master.d/reactor.conf
  2. +1
    -1
      salt/files/minion.d/reactor.conf

+ 1
- 1
salt/files/master.d/reactor.conf 查看文件

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


+ 1
- 1
salt/files/minion.d/reactor.conf 查看文件

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


Loading…
取消
儲存