From: Stephen Gran Date: Mon, 30 May 2011 08:57:04 +0000 (+0100) Subject: sigh for API compatibility, take 2 X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=a77293d304035c2db27d7f3a0ae0167735249727 sigh for API compatibility, take 2 Signed-off-by: Stephen Gran --- diff --git a/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb b/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb index ed2a0c04..ebb9f3de 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb @@ -5,7 +5,7 @@ module Puppet::Parser::Functions ipAddrs = args[0] yamlfile = args[1] - parser.watch_file(yamlfile) + self.interp.newfile(yamlfile) $KCODE = 'utf-8'