Issue #11860 has been updated by Chris Price.
It appears that ENV['LANG'] is nil when the ruby VM starts up (at least for
1.8.7 on OSX). However, there is a line that gets run on Facter startup
(facter/lib/facter.rb line 44):
# Set LANG to force i18n to C
#
ENV['LANG'] = 'C'
where we seem to be always setting this.
----------------------------------------
Bug #11860: Puppet ovewriting the LANG environment variable.
https://projects.puppetlabs.com/issues/11860
Author: Marek Marek
Status: Accepted
Priority: Urgent
Assignee: Chris Price
Category: exec
Target version: Telly
Affected Puppet version: 2.7.0
Keywords:
Branch:
As far as I can see puppet is changing system's LANG environment variable -
this causes unexpected bahaviour of applications that use this setting (as LANG
is different when you run /etc/init.d/foo stop/start/restart, and different
when service is restarted by puppet!).
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.