From a77293d304035c2db27d7f3a0ae0167735249727 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 30 May 2011 09:57:04 +0100 Subject: [PATCH] sigh for API compatibility, take 2 Signed-off-by: Stephen Gran --- modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.39.2