Преглед изворни кода

Merge pull request #526 from netmanagers/update-minion-config-environment-to-saltenv

fix(minion): update config parameter saltenv
tags/v1.9.10
Éric Veiras Galisson пре 2 година
родитељ
комит
c7c08c9b91
No account linked to committer's email address
1 измењених фајлова са 6 додато и 1 уклоњено
  1. +6
    -1
      salt/files/minion.d/f_defaults.conf

+ 6
- 1
salt/files/minion.d/f_defaults.conf Прегледај датотеку

# enabled and can be disabled by changing this value to False. # enabled and can be disabled by changing this value to False.
{{ get_config('clean_dynamic_modules', 'True') }} {{ 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 # when running states, but the environment can be isolated on the minion side
# by statically setting it. Remember that the recommended way to manage # by statically setting it. Remember that the recommended way to manage
# environments is to isolate via the top file. # environments is to isolate via the top file.
#saltenv: None
{{ get_config('environment', 'None') }} {{ get_config('environment', 'None') }}
{{ get_config('saltenv', 'None') }}
# #
# Isolates the pillar environment on the minion side. This functions the same # Isolates the pillar environment on the minion side. This functions the same
# as the environment setting, but for pillar instead of states. # as the environment setting, but for pillar instead of states.

Loading…
Откажи
Сачувај