Support for getting and setting the environment variables of the current salt process.
salt.states.environ.
setenv
(name, value, false_unsets=False, clear_all=False, update_minion=False)¶Set the salt process environment variables.
Example:
a_string_env:
environ.setenv:
- name: foo
- value: bar
- update_minion: True
a_dict_env:
environ.setenv:
- name: does_not_matter
- value:
foo: bar
baz: quux