-
Notifications
You must be signed in to change notification settings - Fork 210
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
When you create a user via chef-server-ctl add-user with --filename pointed at invalid path, the user is created, but the key is not put on the filesystem. #17
Comments
Thanks @tylercloke. With the newest changes to knife-opc, you can get the key with the user-edit command and adding
to the user data. I agree this is annoying, I think we should probably do something like:
We'll probably want to follow whatever best-practices chef-client uses when writing credentials as well. |
This has been addressed in the linked PR |
This is fixed in current knife-opc, so bumping the rev in omnibus should resolve it |
you may created the org or user my mistake, but every problem has some solution.its simple sudo -s learndevops is my org-name you may have different. this will delete the old one so you can create new user or org name. |
So it creates the user just fine, and you get a conflict when you try to re-create it (valid), but you won't have the key on your filesystem. There are other ways to get the key, but that's annoying.
The text was updated successfully, but these errors were encountered: