]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
KCODE is gone
authorStephen Gran <steve@lobefin.net>
Sun, 31 May 2015 15:28:15 +0000 (16:28 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 31 May 2015 15:28:15 +0000 (16:28 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb

index b55204ac8fdd17712ae920f509c864288301d088..ca0d2957c7ec51e0f52ffbce4ca8473cc499184b 100644 (file)
@@ -8,8 +8,6 @@ module Puppet::Parser::Functions
     parser = Puppet::Parser::Parser.new(environment)
     parser.watch_file(yamlfile)
 
-    $KCODE = 'utf-8'
-
     ans = {"name" => "unknown"}
     yaml = YAML.load_file(yamlfile)
 
index b38f5d56a3793e4f4365686f8d747ff97bfac587..f53014dee3a22c2f7dcaeda9fd746fa9be329605 100644 (file)
@@ -42,7 +42,6 @@ module Puppet::Parser::Functions
     }
 
     require 'yaml'
-    $KCODE = 'utf-8'
 
     yaml = YAML.load_file(yamlfile)
     ret = {}