Issue #11860 has been updated by Chris Price.
In a lot of cases, we are indeed parsing the output, and that was the general motivation for this. It should be a very minor change to individual providers (e.g., gem provider) to do something better if needed; as for your custom java service, are you handling that with an Exec resource? If so, you can manually specify environment variables in your manifest to get the behavior that you want. We are definitely open to suggestions on improving this... but the behavior was driven by problems that had come up in the past without it, so our goal is to try to find the right balance. ---------------------------------------- Bug #11860: Puppet ovewriting the LANG environment variable. https://projects.puppetlabs.com/issues/11860#change-59559 Author: Marek Kroemeke Status: Merged - Pending Release Priority: Urgent Assignee: Chris Price Category: exec Target version: Telly Affected Puppet version: 2.7.0 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/414 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.
