]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
sigh for API compatibility
authorStephen Gran <steve@lobefin.net>
Mon, 30 May 2011 08:56:11 +0000 (09:56 +0100)
committerStephen Gran <steve@lobefin.net>
Mon, 30 May 2011 08:56:11 +0000 (09:56 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb

index 4cc88f0fd5e1bae11654b3e8bcc1fbb3a8c0729a..0d12c661433ef26a59468f623d701d4c9aa4caf6 100644 (file)
@@ -3,7 +3,7 @@ module Puppet::Parser::Functions
 
     host = args[0]
     yamlfile = args[1]
-    parser.watch_file(yamlfile)
+    self.interp.newfile(yamlfile)
 
     def read_yaml(yaml, host)
       results = {}