mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
[PR #8001/1b8e6bc9 backport][stable-7] puppet_utils: Do not force lang for cmd (#8241)
puppet_utils: Do not force lang for cmd (#8001)
puppet_utils: Add option to set LANG for puppet execution
Add option `environment_lang` to force the LANG when executing the
puppet agent. The default is the `C` LANG
(cherry picked from commit 1b8e6bc95b
)
Co-authored-by: Niklas Schwarz <schwarz.niklas@hotmail.de>
This commit is contained in:
parent
c09b5e2c66
commit
40ce650d08
3 changed files with 14 additions and 0 deletions
|
@ -107,5 +107,6 @@ def puppet_runner(module):
|
|||
verbose=cmd_runner_fmt.as_bool("--verbose"),
|
||||
),
|
||||
check_rc=False,
|
||||
force_lang=module.params["environment_lang"],
|
||||
)
|
||||
return runner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue