Skip to content

Commit

Permalink
fix(minion): update config parameter saltenv
Browse files Browse the repository at this point in the history
`environment` is being deprecated, renamed to `saltenv`
  • Loading branch information
javierbertoli committed Dec 14, 2021
1 parent 72bb949 commit 7540dc9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion salt/files/minion.d/f_defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7540dc9

Please sign in to comment.