Hello!
When I activate the filebucket ressource, and set the parameter server,
my server get a list of directories whose names are a character of the
md5sum, here are my conf and output:
site.pp on my server:
filebucket{main:server=>myserver}
file{"/tmp/testpuppet":
owner=>root,group=>root,mode=>777,
backup=>main
}
file{"/tmp/toto":
owner=>root,group=>root,mode=>644,
source=>"puppet://myserver/files/testfile",
backup=>main
}
puppet.conf on my server:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
bucketdir=/tmp
[puppetmasterd]
templatedir=/var/lib/puppet/templates
###Output on the client#####
info: Retrieving plugins
info: /File[/var/lib/puppet/lib]/source: No specified sources exist
notice: Ignoring cache
info: No classes to store
info: Caching catalog at /var/lib/puppet/state/localconfig.yaml
notice: Starting catalog run
6d5
< 1111111
info: //File[/tmp/toto]: Filebucketed to main with sum
90e7e90496e124e85bf4ca1da8ecce8b
notice: //File[/tmp/toto]/source: replacing from source
puppet://myserver/files/testfile with contents
{md5}4d95581c715cc5e3a0eed105ff1d8b7e
info: Sent transaction report in 0.04 seconds
notice: Finished catalog run in 0.51 seconds
And the on the server, in the /tmp dir, I have:
9/0/e/7/e/9/0/4/90e7e90496e124e85bf4ca1da8ecce8b/
The eight first characters are directories, and in the last string
(90e7e90496e124e85bf4ca1da8ecce8b), I have 2 folders:
-contents
-paths
I don''t understand I have so much dir...
Could someone explain it to me?
Thanks in advance
Greg