From: Stephen Gran Date: Mon, 30 May 2011 08:56:11 +0000 (+0100) Subject: sigh for API compatibility X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=7279eedc32f3735e78c8be28c07c3ce75aab697f;p=mirror%2Fdsa-puppet.git sigh for API compatibility Signed-off-by: Stephen Gran --- diff --git a/modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb index 4cc88f0fd..0d12c6614 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb @@ -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 = {}