Skip to content
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

Create butcher command. #19

Open
squaresurf opened this issue Oct 22, 2013 · 1 comment
Open

Create butcher command. #19

squaresurf opened this issue Oct 22, 2013 · 1 comment

Comments

@squaresurf
Copy link
Collaborator

There should be a vagrant butcher command that will enable the user to run the butcher code without having to destroy the box.

--delete-guest-client-pem

There should be an optional --delete-guest-client-pem flag that will delete the /etc/chef/client.pem file from the guest machine. If no flag is specified the guest machine will be left alone. This of course will require the machine to be running.

This flag should work even if the butcher fails. For example, if you butcher without the flag, then realize you want to delete the client.pem; you will need to rerun this command with the flag. The next run should end with a butcher error, but still delete the client.pem.

The flag is useful due to the fact that chef will use the client key the machine next time guest is provisioned. This will cause the provision to fail since the client has been butchered from the chef server.

@benlangfeld
Copy link

👍

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

No branches or pull requests

2 participants