let's try this
[mirror/dsa-puppet.git] / modules / puppetmaster / lib / puppet / parser / functions / yamlinfo.rb
index 4f6227f..cb53ada 100644 (file)
@@ -3,7 +3,8 @@ module Puppet::Parser::Functions
 
     host = args[0]
     yamlfile = args[1]
-    #self.interp.newfile(yamlfile)
+    parser = Puppet::Parser::Parser.new(environment)
+    parser.watch_file(yamlfile)
 
     def read_yaml(yaml, host)
       results = {}