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

backing up ApiClients #3

Open
eabbott opened this issue May 9, 2012 · 2 comments
Open

backing up ApiClients #3

eabbott opened this issue May 9, 2012 · 2 comments

Comments

@eabbott
Copy link

eabbott commented May 9, 2012

The backup/restore scripts don't seem complete without the ApiClient objects. How are you accounting for those in your environments? Thanks.

@stevendanna
Copy link
Owner

This plugin was written mostly with Hosted Chef in mind which has a more complex authorization system than Open Source Chef. Correctly dealing with the API clients on the Hosted Chef side would require some work to ensure permissions were all correctly set. Currently, I encourage people who use this plugin to simply allow the first run of the chef-client to recreate the API clients for the nodes.

@eabbott
Copy link
Author

eabbott commented May 11, 2012

Thanks Steven! That looks like it'll work, so long as we wrap the chef-client call to delete it's client.pem and retry if it gets an unauthorized exception.

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

No branches or pull requests

2 participants