On 07/23/2010 12:31 PM, James Turnbull wrote:
Signed-off-by: James Turnbull<[email protected]>
---
  ext/extlookup.rb |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ext/extlookup.rb b/ext/extlookup.rb
index d87583b..81e6a4b 100644
--- a/ext/extlookup.rb
+++ b/ext/extlookup.rb
@@ -125,6 +125,8 @@ module Puppet::Parser::Functions

      desired = "_ExtUNSET_"

+    parser = Puppet::Parser::Parser.new(environment)
+
      datafiles.each do |file|
        parser.watch_file(file) if File.exists?(file)

I would like to know if there is some kind of explanation as to why this is now needed? I have another custom plugin that exhibits the same behavior extlookup does without this line- the master just hangs.

--
Joe McDonagh
AIM: YoosingYoonickz
IRC: joe-mac on freenode
"When the going gets weird, the weird turn pro."

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to