[chef] Delete node and client when destroying Vagrant VM


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Delete node and client when destroying Vagrant VM
  • Date: Thu, 6 Dec 2012 10:03:49 -0200

I was trying to find a solution for that on the web, and the two references that made more sense were:

http://frank.be/articles/2011/12/16/vagrant-and-chef-auto-deregister-on-vm-destroy/
https://gist.github.com/1010660

Neither worked out of the box, so I hacked my own solution, adapting a bit from each, and came to this:

https://gist.github.com/1010660

Feel free to use it if you find it useful. Comments and suggestions are welcome.

Cheers!
-- 
Cassiano Leal




Archive powered by MHonArc 2.6.16.

§