Issue #9417 has been updated by Max Stepanov.

I agreed to the CLA webform.
Do i still need to pirnt, sign and send it?
----------------------------------------
Bug #9417: naggen fails with "uninitialized constant Puppet::FileBucket::Dipper"
https://projects.puppetlabs.com/issues/9417

Author: Max Stepanov
Status: Requires CLA to be signed
Priority: Normal
Assignee: Max Stepanov
Category: nagios
Target version: 
Affected Puppet version: 2.7.1
Keywords: naggen
Branch: 


<pre>
root@nagios:~# ./naggen -c
/usr/share/rails/activesupport/lib/active_support/dependencies.rb:442:in 
`load_missing_constant': uninitialized constant Puppet::FileBucket::Dipper 
(NameError)
        from 
/usr/share/rails/activesupport/lib/active_support/dependencies.rb:77:in 
`const_missing'
        from ./naggen:188:in `initialize'
        from ./naggen:299:in `new'
        from ./naggen:299
        from /usr/lib/ruby/1.8/puppet/external/nagios/base.rb:53:in `eachtype'
        from /usr/lib/ruby/1.8/puppet/external/nagios/base.rb:52:in `each'
        from /usr/lib/ruby/1.8/puppet/external/nagios/base.rb:52:in `eachtype'
        from ./naggen:298
</pre>

Solution would be:
<pre>
--- naggen      2011-09-11 13:00:52.191039474 +0200
+++ /usr/bin/naggen     2011-09-11 12:52:51.828971745 +0200
@@ -80,6 +80,7 @@
 require 'puppet/network/client'
 require 'puppet/parser/collector'
 require 'puppet/provider/naginator'
+require 'puppet/file_bucket/dipper'
 require 'getoptlong'
 
 # Monkey-patch the rails resources so we can

</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to