I've been looking at Redmine 2371 for a while and had been looking strictly on the code and spec testing side until yesterday, when I set up a puppetmaster and client to verify the filebuckets. I found that I'm not able to get filebuckets to work at all (via puppetd), so I'm hoping I just have a simple user error. I have verified that using the 'filebucket' command mostly works as I expect.
Can someone confirm that local filebuckets are working (via puppetd) for them on 0.25? Additionally, I've included my configs below, as The following are my configs: puppetmaster: geppetto puppet client: pinocchio # cat /etc/puppet/manifests/site.pp import "classes/*" filebucket { main: server => "geppetto" } File { backup => main } node default { include sudo } node 'pinocchio' { include test_class include bucket_class } # cat /etc/puppet/manifests/classes/bucket_class.pp class bucket_class { file { "/tmp/testfile.conf": checksum => md5, owner => root, mode => 440, } } Then pinocchio just has: # cat /etc/puppet/puppet.conf [puppetd] server = geppetto I'm invoking puppetmaster as: puppetmasterd --debug --no-daemonize and puppetd as puppetd --debug --test onetime I see the following on the puppetmaster: ... debug: File[/tmp/testfile]: Adding default for backup debug: File[/tmp/testfile.conf]: Adding default for backup .. but /var/puppet/bucket stays empty. The following is the actual results of the various tests: -- tested default: determined no backups at all occur -- tested local: determined client gets error message about missing 'puppet' (i.e., it still tries to do remote but uses default of 'puppet' for the server name) -- tested remote with backup => main and main: server => geppetto; no backups -- tested remote with backup => main and main: server => no-such-host; no backups; no errors - ran the standalone filebucket command and confirmed it works properly for remote backups - ran the standalone filebucket command and confirmed it fails if no filebucket config exists and no -l option is given - ran the standalone filebucket command and confirmed it succeeds if no filebucket is given but -l is provided on the command-line. Thanks, Steven --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---