diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-06-18 09:49:30 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-06-18 09:49:30 +1000 |
commit | 0b0892d382a78b3a69a97d6b3820e0a101665b8f (patch) | |
tree | fef77b05ba794a7eea410bc12812477d009180c8 | |
parent | def18b5352c8d3365531e9bdb030e240c9178925 (diff) | |
download | facter-0b0892d382a78b3a69a97d6b3820e0a101665b8f.tar.gz facter-0b0892d382a78b3a69a97d6b3820e0a101665b8f.tar.xz facter-0b0892d382a78b3a69a97d6b3820e0a101665b8f.zip |
Fixes #1334 - Forced Facter to use LANG=C
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | lib/facter.rb | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,7 @@ ?: - Fixes #1357 - change ps syntax for OSX and BSD + Fixes #1334 - Forced Facter to use LANG=C + + Fixes #1357 - Change ps syntax for OSX and BSD Set the timeout on the AIX kernelrelease fact to 5 seconds. diff --git a/lib/facter.rb b/lib/facter.rb index 2286400..b73d5ba 100644 --- a/lib/facter.rb +++ b/lib/facter.rb @@ -41,6 +41,9 @@ module Facter # puts Facter['operatingsystem'] # + # Set LANG to force i18n to C + # + ENV['LANG'] = 'C' GREEN = "[0;32m" RESET = "[0m" |