summaryrefslogtreecommitdiffstats
path: root/lib/facter.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-06-18 09:49:30 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-06-18 09:49:30 +1000
commit0b0892d382a78b3a69a97d6b3820e0a101665b8f (patch)
treefef77b05ba794a7eea410bc12812477d009180c8 /lib/facter.rb
parentdef18b5352c8d3365531e9bdb030e240c9178925 (diff)
downloadfacter-0b0892d382a78b3a69a97d6b3820e0a101665b8f.tar.gz
facter-0b0892d382a78b3a69a97d6b3820e0a101665b8f.tar.xz
facter-0b0892d382a78b3a69a97d6b3820e0a101665b8f.zip
Fixes #1334 - Forced Facter to use LANG=C
Diffstat (limited to 'lib/facter.rb')
-rw-r--r--lib/facter.rb3
1 files changed, 3 insertions, 0 deletions
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 = ""
RESET = ""