no more use of Puppet::Parser::Parser
[mirror/dsa-puppet.git] / modules / puppetmaster / lib / puppet / parser / functions / yamlinfo.rb
index f53014d..0c64b22 100644 (file)
@@ -3,8 +3,6 @@ module Puppet::Parser::Functions
 
     host = args[0]
     yamlfile = args[1]
-    parser = Puppet::Parser::Parser.new(environment)
-    parser.watch_file(yamlfile)
 
     read_yaml = lambda { |yaml, host|
       results = {}