how to recover from client bucket?
ok, so i screwed up and run puppet and now configuration is broken. still, it's puppet, so i have a chance to recover. usually in that case i login to affected node and do:
find /var/lib/puppet/clientbucket -cmin -60 -type f -name path|xargs grep -l /etc/file.i.need.back
and copy over accompanying contents file.
but this is hack, and there must be a better way to do this like
- fuse bucketfs
- storing buckets in git
- puppet face/api to do this
does anyone already have solution to share?