소스 검색

fix(minion): update config parameter saltenv

`environment` is being deprecated, renamed to `saltenv`
tags/v1.9.10
Javier Bértoli 2 년 전
부모
커밋
7540dc90aa
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -1
      salt/files/minion.d/f_defaults.conf

+ 6
- 1
salt/files/minion.d/f_defaults.conf 파일 보기

@@ -575,11 +575,16 @@ schedule:
# enabled and can be disabled by changing this value to False.
{{ get_config('clean_dynamic_modules', 'True') }}

# Normally, the minion is not isolated to any single environment on the master
# Renamed from ``environment`` to ``saltenv``. If ``environment`` is used,
# ``saltenv`` will take its value. If both are used, ``environment`` will be
# ignored and ``saltenv`` will be used.
# Normally the minion is not isolated to any single environment on the master
# when running states, but the environment can be isolated on the minion side
# by statically setting it. Remember that the recommended way to manage
# environments is to isolate via the top file.
#saltenv: None
{{ get_config('environment', 'None') }}
{{ get_config('saltenv', 'None') }}
#
# Isolates the pillar environment on the minion side. This functions the same
# as the environment setting, but for pillar instead of states.

Loading…
취소
저장