I have a backup policy set up on my puppetmaster to back up all files
to a /backup directory on each local machine, which it does
flawlessly, and have verified even backups run locally work correctly,
however when I try to restore I get an uninitialized constant error,
to whit:
[root@iron ~]# filebucket backup -b /backup /etc/sudoers
/etc/sudoers: 593cc6c8daa910ac404229da56e89b0e
[root@iron ~]# filebucket restore -b /backup /etc/sudoers
593cc6c8daa910ac404229da56e89b0e
/usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/file_bucket/
dipper.rb:60:in `restore'': uninitialized constant
Puppet::FileBucket::Dipper::Digest (NameError)
from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/
application/filebucket.rb:46:in `restore''
from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/
application/filebucket.rb:18:in `send''
from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/
application/filebucket.rb:18:in `run_command''
from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/
application.rb:301:in `run''
from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/
application.rb:398:in `exit_on_fail''
from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/
application.rb:301:in `run''
from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/bin/filebucket:7
from /usr/bin/filebucket:19:in `load''
from /usr/bin/filebucket:19
[root@iron ~]#
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
Richard That looks like a bug to me. Can you please log it - it''ll be a simple naming fix. Thanks James Turnbull Richard Knight wrote:> I have a backup policy set up on my puppetmaster to back up all files > to a /backup directory on each local machine, which it does > flawlessly, and have verified even backups run locally work correctly, > however when I try to restore I get an uninitialized constant error, > to whit: > > [root@iron ~]# filebucket backup -b /backup /etc/sudoers > /etc/sudoers: 593cc6c8daa910ac404229da56e89b0e > [root@iron ~]# filebucket restore -b /backup /etc/sudoers > 593cc6c8daa910ac404229da56e89b0e > /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/file_bucket/ > dipper.rb:60:in `restore'': uninitialized constant > Puppet::FileBucket::Dipper::Digest (NameError) > from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/ > application/filebucket.rb:46:in `restore'' > from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/ > application/filebucket.rb:18:in `send'' > from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/ > application/filebucket.rb:18:in `run_command'' > from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/ > application.rb:301:in `run'' > from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/ > application.rb:398:in `exit_on_fail'' > from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/ > application.rb:301:in `run'' > from /usr/lib/ruby/gems/1.8/gems/puppet-2.6.0/bin/filebucket:7 > from /usr/bin/filebucket:19:in `load'' > from /usr/bin/filebucket:19 > [root@iron ~]# > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.