Project

General

Profile

Actions

User story #7685

open

Define the locale used by the agent for executing every script

Added by Nicolas CHARLES over 8 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
System integration
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

Also available in: Atom PDF