- From: Jamie Winsor <
>
- To:
- Subject: [chef] Re: Delete node and client when destroying Vagrant VM
- Date: Fri, 7 Dec 2012 12:13:58 -0800
I wrote a Chef API wrapper with a clean DSL that you can find here:
https://github.com/reset/ridley. You should be able to very easily destroy the client/node with just a few lines of code.
On a side note this is a good point that we don't clean up after ourselves when we destroy a Vagrant VM. I'm not sure if you are using Berkshelf or not, but I'm going to create a ticket so when using the Chef Client provisioner that there is a configurable option to enable "clean up" on destroy.
--
Jamie Winsor
@resetexistence
https://github.com/reset
On Thursday, December 6, 2012 at 4:03 AM, Cassiano Leal wrote:
I was trying to find a solution for that on the web, and the two references that made more sense were:
Neither worked out of the box, so I hacked my own solution, adapting a bit from each, and came to this:
Feel free to use it if you find it useful. Comments and suggestions are welcome.
Cheers!
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, (continued)
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Jamie Winsor, 12/08/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Cassiano Leal, 12/08/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Cassiano Leal, 12/09/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Juanje Ojeda Croissier, 12/09/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Cassiano Leal, 12/10/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Erik Hollensbe, 12/10/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Joshua Timberman, 12/10/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Cassiano Leal, 12/11/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Torben Knerr, 12/11/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Delete node and client when destroying Vagrant VM, Cassiano Leal, 12/11/2012
[chef] Re: Delete node and client when destroying Vagrant VM, Jamie Winsor, 12/07/2012
Archive powered by MHonArc 2.6.16.