From 7279eedc32f3735e78c8be28c07c3ce75aab697f Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 30 May 2011 09:56:11 +0100 Subject: [PATCH] sigh for API compatibility Signed-off-by: Stephen Gran --- modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb index 4cc88f0f..0d12c661 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 = {} -- 2.39.2