]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
let's try this
[dsa-puppet.git] / modules / puppetmaster / lib / puppet / parser / functions / whohosts.rb
index f98bf0ad050cd2c33a0857d2a29f3c7698ed0454..5dec7b0def29e1abac9b0d1b01c7dcfc6bdb1127 100644 (file)
@@ -5,7 +5,8 @@ module Puppet::Parser::Functions
 
     ipAddrs = args[0]
     yamlfile = args[1]
-    #self.interp.newfile(yamlfile)
+    parser = Puppet::Parser::Parser.new(environment)
+    parser.watch_file(yamlfile)
 
     $KCODE = 'utf-8'