New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove client and node from Chef server on destroy (master) #1255

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@cassianoleal
Copy link

cassianoleal commented Dec 9, 2012

This should resolve #1253 for the master branch

@mitchellh

This comment has been minimized.

Copy link
Member

mitchellh commented Dec 16, 2012

Unfortunately this won't work because Vagrant doesn't have access to the chef rubygem when installed using the package installers (which is the preferred way). This works if Vagrant is installed via RubyGems and chef is also installed.

I'd love to have this sort of feature added as well but unfortunately relying on chef gem is not a solution.

One possible alternate solution is to shell out to knife. That would work.

@cassianoleal

This comment has been minimized.

Copy link

cassianoleal commented Dec 17, 2012

Just in case someone is interested, I released my patch in the form of a gem: https://github.com/cassianoleal/vagrant-butcher

@rodriguezsergio

This comment has been minimized.

Copy link

rodriguezsergio commented Apr 4, 2013

@cassianoleal Thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment