Issue #4787 has been updated by Jesse Wolfe.

Assignee set to Jesse Wolfe


----------------------------------------
Bug #4787: Tidy fails with uninitialized constant Puppet::FileBucket::Dipper
http://projects.puppetlabs.com/issues/4787

Author: Jan  Doleschal
Status: Accepted
Priority: High
Assignee: Jesse Wolfe
Category: tidy
Target version: 2.6.2
Affected version: 2.6.0
Keywords: 
Branch: 


Running puppet 2.6.1 and get the following error when using tidy:
<pre>
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/type/tidy.rb:215:in 
`initialize'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/resource.rb:246:in `new'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/resource.rb:246:in 
`to_ral'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/resource/catalog.rb:553:in
 `send'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/resource/catalog.rb:553:in
 `to_catalog'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/resource/catalog.rb:531:in
 `each'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/resource/catalog.rb:531:in
 `to_catalog'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/resource/catalog.rb:468:in
 `to_ral'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/configurer.rb:117:in 
`convert_catalog'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/configurer.rb:112:in 
`retrieve_catalog'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/configurer.rb:143:in `run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/agent.rb:39:in `run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/agent/locker.rb:21:in 
`lock'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/agent.rb:39:in `run'
/usr/lib64/ruby/1.8/sync.rb:229:in `synchronize'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/agent.rb:39:in `run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/agent.rb:103:in 
`with_client'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/agent.rb:37:in `run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/application.rb:171:in 
`call'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/application.rb:171:in 
`controlled_run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/agent.rb:35:in `run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/application/agent.rb:114:in
 `onetime'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/application/agent.rb:88:in
 `run_command'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/application.rb:300:in 
`run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/application.rb:397:in 
`exit_on_fail'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/application.rb:300:in 
`run'
/usr/lib64/ruby/gems/1.8/gems/puppet-2.6.1/bin/puppetd:4
/usr/bin/puppetd:19:in `load'
/usr/bin/puppetd:19
err: Could not run Puppet configuration client: uninitialized constant 
Puppet::FileBucket::Dipper 
</pre> 
The module causing the problem:
<pre>
class cleanup {

    tidy {"/tmp/":
        size    => '1b',
        matches => [ "delete.txt" ], 
        recurse => true,
        backup  => false;
    }
}
</pre>

Jan



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