]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 ed2a0c0436aac40151f28c7d8f8cc538017bd825..ebb9f3de9bd0a07d8a1422f0c62854dd722c2c5c 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'