-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add support for clients #227
Conversation
Hi |
@thommay very nice 😀 I'll make sure to update and finish the PR this week (today or tomorrow most likely), so we can include it in 3.0 👍 |
4fcc726
to
92db56a
Compare
Signed-off-by: Sander van Harmelen <[email protected]>
92db56a
to
daddf78
Compare
@thommay I rebased the PR, added a few tests and updated the README.md and KNIFE-EXAMPLES.md files to represent the changes. So all seems to be good now, but I notice that when I do some functional tests with the current code, I get these errors: ERROR: OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key: nested asn1 error Is there anything changed that is not backwards compatible? We're using The error is not related to my changes, because I get the same error when using Thx! |
Hm, that really doesn't look good. Can you share exactly which steps you're performing, and the output of |
@thommay sure, here you go (I included the output of
|
@thommay guess this should not be a blocker for this PR right? Maybe we should merge this PR and open a separate issue for the error I got? Let me know how you want to proceed... |
Yeah. Mind opening that issue? |
Sure, will create a new issue in a few... Thx for merging this one! |
@thommay Was this included in the release candidate for 3.0.0? Any idea when 3.0.0 will be released? Sorry if this is not the place for this question. |
@rneu31 yes it's in the RCs |
Before finishing up this PR I would like some feedback about the feasibility of getting this functionality merged in
chef-vault
?The reason we have a need for this is because we would like the Terraform
chef
provisioner to be able to add single clients in the same way asknife bootstrap
currently does.knife bootstrap
does this by directly calling/using thechef-vault
package, but that approach is not possible for thechef
provisioner.So currently we add
clients
asadmins
, but of course this has all kinds of nasty side effects and is now howchef-vault
should be used so people are not happy with that approach.Besides this very specific reason, I would imagine that this is adds value by extending the number use cases in which
knife vault
can be used.I really hope this is something that can be merged as it would make the Terraform
chef
provisioner able to handlechef-vaults
correctly and with that have better Chef support/integration.EDIT: I know this branch is outdated because I based it of v2.9.0 instead of master. I will of course rebase this if/when we can move forward with this PR!