Hi,
I’ve just released the gem vagrant-butcher [0]. Once installed, it deletes the Chef node and client from the chef server if you’re using the chef-client provisioner on Vagrant.
More details on the github page [1]. My use case involved adding “gem ‘vagrant-butcher’” to the cookbook’s Gemfile and run “bundle”. No requires necessary.
Please test and let me know how it works for you, and feel free to fork and send in pull requests!
Cheers!
Cassiano Leal
And, of course, the missing links from the previous e-mail:
[0] vagrant-butcher | RubyGems.org | your community gem host
[1] GitHub - c10l/vagrant-butcher: Delete Chef client and node when destroying Vagrant VM
--
Cassiano Leal
On Monday, December 17, 2012 at 16:55, Cassiano Leal wrote:
Hi,
I've just released the gem vagrant-butcher [0]. Once installed, it deletes the Chef node and client from the chef server if you're using the chef-client provisioner on Vagrant.
More details on the github page [1]. My use case involved adding "gem 'vagrant-butcher'" to the cookbook's Gemfile and run "bundle". No requires necessary.
Please test and let me know how it works for you, and feel free to fork and send in pull requests!
Cheers!
Cassiano Leal