Found this old post when looking for a way to do this. I wrote the
following short script for this purpose.
It will give you a diff of each copy of a file you search for compared to
the next older version in the file bucket starting with the current file.
Hope it helps someone else as the file b
Hi,
I have make a pull request with the filebucket patch who do that :
https://github.com/puppetlabs/puppet/pull/779
If you want to test ...
Émile
Peter Horvath a écrit :
Hello,
Does anybody know how to compare a filebucketed file easily with the
current file based on these infos?
info: /
Judging from your log messages, the bucketed file is on the puppetmaster
("Filebucketed... to puppet"). You can use this command to get it:
puppet filebucket get 26e643361f26cdf766199a830417c8bf > /tmp/old-file
(Or at least, I can, with Puppet 2.7.6.) Then you can
diff -u /tmp/old-file /etc/ngin