Ask Your Question

Revision history [back]

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 /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

  1. fuse bucketfs
  2. storing buckets in git
  3. puppet face/api to do this

did anyone already has a solution to share?

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 /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

  1. fuse bucketfs
  2. storing buckets in git
  3. puppet face/api to do this

did does anyone already has a solution to share?

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 /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

  1. fuse bucketfs
  2. storing buckets in git
  3. puppet face/api to do this

does anyone already has a have solution to share?

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

  1. fuse bucketfs
  2. storing buckets in git
  3. puppet face/api to do this

does anyone already have solution to share?