Package: puppet
Version: 2.6.6-1
Severity: normal
Tags: l10n patch

--- Please enter the report below this line. ---

Hello

This patch fix this upstrim bug
https://projects.puppetlabs.com/issues/4695
bun not crossplatform, only for debian based.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.38-6-generic

Debian Release: squeeze/sid
  500 unstable        debian.seriousdron.ru 
  500 testing         dl.google.com 
  500 stable          dl.google.com 
  500 stable          deb.opera.com 
  500 natty-updates   ru.archive.ubuntu.com 
  500 natty-security  security.ubuntu.com 
  500 natty           ru.archive.ubuntu.com 
  500 natty           ppa.launchpad.net 
  500 natty           extras.ubuntu.com 
  500 natty           archive.canonical.com 
  500 maverick        ppa.launchpad.net 
  500 maverick        archive.canonical.com 
  500 lucid           ppa.launchpad.net 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.



--- puppet-2.6.6.orig/lib/puppet/util.rb
+++ puppet-2.6.6/lib/puppet/util.rb
@@ -309,7 +309,7 @@
             Process.euid = arguments[:uid]
             Process.uid = arguments[:uid] unless @@os == "Darwin"
           end
-          ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = ENV['LANGUAGE'] = 'C'
+          ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = ENV['LANGUAGE'] = IO.read('/etc/default/locale')[6..-3]
           if command.is_a?(Array)
             Kernel.exec(*command)
           else

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to