Hello,

This small patch corrects an old issue which didn't seemed to be
correctly fixed.

It appears older ruby versions (ruby 1.8.1 on RHEL4 in my case) emit a
warning when Kernel.fork is called by "Exec" resources:

  /usr/lib/site_ruby/1.8/puppet/util.rb:286: warning: fork terminates thread at 
/usr/lib/
ruby/1.8/timeout.rb:41


Quoting my ruby reference book:                                                 
         
  « Setting [$VERBOSE] to nil suppresses all warnings (including the output
    of Kernel.warn) ».

This patch disables the warning by setting $WARNING to nil instead of
false.


--~--~---------~--~----~------------~-------~--~----~
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