sigh for API compatibility, take 2
authorStephen Gran <steve@lobefin.net>
Mon, 30 May 2011 08:57:04 +0000 (09:57 +0100)
committerStephen Gran <steve@lobefin.net>
Mon, 30 May 2011 08:57:04 +0000 (09:57 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb

index ed2a0c0..ebb9f3d 100644 (file)
@@ -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'