X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fpuppetmaster%2Flib%2Fpuppet%2Fparser%2Ffunctions%2Fwhohosts.rb;fp=modules%2Fpuppetmaster%2Flib%2Fpuppet%2Fparser%2Ffunctions%2Fwhohosts.rb;h=ca0d2957c7ec51e0f52ffbce4ca8473cc499184b;hb=80b0cc62b8ca834194819f486a7f2bf1ba23f61b;hp=b55204ac8fdd17712ae920f509c864288301d088;hpb=7f8fe10abeee6b1afc816a831cc60a4b1dffb172;p=dsa-puppet.git diff --git a/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb b/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb index b55204ac..ca0d2957 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb @@ -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)