Background I am using puppet via direct invokation of puppet apply
path/to/manifest.pp -- no puppet server involved. Puppet is 3.1.1 on
RHEL6.x and CentOS6.x boxes.
I needed to study a file change, coming from a concat. Looking at the
report, I had the hash. This did not work:
# puppet filebucket get --local d49537fd4cd4a5e588b2775f25f511e6
Error: Could not run: File not found
instead, this does work (but how would one know the right bucket?):
# puppet filebucket get -b /var/lib/puppet/clientbucket --local
d49537fd4cd4a5e588b2775f25f511e6
OTOH, this Just Works:
# puppet filebucket backup --local /etc/motd
/etc/motd: d41d8cd98f00b204e9800998ecf8427e
# puppet filebucket get --local d41d8cd98f00b204e9800998ecf8427e
However, looking into /var/lib/puppet is is clear that they use
different buckets. Using puppet apply will use
/var/lib/puppet/clientbucket , while using puppet filebucket --local
will use /var/lib/puppet/bucket .
In my case I used strace and find to figure out where things were
going, which is hardly recommendable.
cheers,
m
--
martin....@gmail.com
- ask interesting questions
- don't get distracted with shiny stuff - working code first
~
http://docs.moodle.org/en/User:Martin_Langhoff