Puppet, by default, makes a local copy of all the files that it changes on a system; it allows the recover old versions of files overwritten by Puppet. This functionality is managed with the
filebucket type, which allows to store a copy of the original files, either on a central server or locally on the managed system.
When we run Puppet, we see messages like this:
info: /Stage[main]/Ntp/File[ntp.conf]: Filebucketed /etc/ntp.conf to puppet with sum 7fda24f62b1c7ae951db0f746dc6e0cc
The checksum of the original file is useful to retrieve it; in fact files are saved in the directory
/var/lib/puppet/clientbucket in a series of subdirectories named according to the same checksum. So, given the preceding example, our ...