Actions
User story #7685
openDefine the locale used by the agent for executing every script
Status:
New
Priority:
N/A
Assignee:
-
Category:
System integration
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
By default, the agent use the system local to execute scripts. But we may need to set a specific local for a specific script, or we may simply want to use a standart local everywhere
The best place to put the locale is in promises.st, section body agent control, in environment (adding a line , "LC_ALL=C" ), and we could have a default locale (via the config file of the interface ? in the interface itself ?), and it may even be overridable ?
As a workaround, a hack would be to have cf-execd run with the LC_ALL=C argument, so as a hack, add a export LC_ALL=C in the /etc/init.d/rudder-agent script
No data to display
Actions