Hi all,

I'm having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.

I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node 'default' {
  include test
}
*********

and this test module:
*********
class test {
  file { "/etc/sudoers":
    source => "puppet:///modules/test/sudoers",
    owner => "root",
    group => "root",
    mode => "0440",
    ensure => present,
    backup => "main",
  }
}
*********

$ puppetd --test --environment testing
...
info: FileBucket adding /etc/sudoers as {md5}
fee30f6b0672f6c174709249f37380d4
info: /Stage[main]/Test/File[/etc/sudoers]: Filebucketed /etc/sudoers
to main with sum fee30f6b0672f6c174709249f37380d4
notice: Finished catalog run in 0.49 seconds

According to the Apache logs (I use Passenger) the only PUT request
it's doing is for it's report:

10.44.222.42 - - [19/Oct/2010:16:18:26 +0100] "GET /testing/
catalog/..." 200 1439 "-" "-"
10.44.222.42 - - [19/Oct/2010:16:18:26 +0100] "GET /testing/
file_metadata/modules/test/sudoers HTTP/1.1" 200 307 "-" "-"
10.44.222.42 - - [19/Oct/2010:16:18:26 +0100] "GET /testing/
file_content/modules/test/sudoers HTTP/1.1" 200 1421 "-" "-"
10.44.222.42 - - [19/Oct/2010:16:18:27 +0100] "GET /testing/
file_content/modules/test/sudoers HTTP/1.1" 200 1421 "-" "-"
10.44.222.42 - - [19/Oct/2010:16:18:27 +0100] "GET /testing/
file_metadata/modules/test/sudoers HTTP/1.1" 200 307 "-" "-"
10.44.222.42 - - [19/Oct/2010:16:18:27 +0100] "PUT /testing/report/
puppet-test.fasthosts.net.uk HTTP/1.1" 200 35 "-" "-"

I've also stopped Apache and started up the Webrick Puppet Master,
same result, no file bucketed to the server.

Can someone point out what I've missed?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to