-
Notifications
You must be signed in to change notification settings - Fork 64
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
PermissionsException when using nexus_proxy_repository #106
Comments
I've also noticed the behavior is different depending on if I'm doing testing in vagrant + chef-solo vs. a real node interacting with chef-server. It seems to work fine in local testing and then fails on the real node. |
@KAllan357 would this conditional ever evaluate to true? I can't figure out where |
Its possible this is an edge case. It has been a while since I wrote that particular bit, it could be that I was expecting this attribute to be set on the Chef Environment after you know that the password has changed. I'd be happy to accept a change to make any of this flow a bit nicer. It might be valid to expect an encrypted databag to hold some special "Chef" user in Nexus who's creds you can us on all Chef runs. Otherwise, an alternative I've been suggesting is to abandon the LWRP style of converging a Nexus server and just using a template for the different XML files that configure your server. |
Cool, thanks for the info. I'll take a stab at reworking the flow a bit. |
In my recipe I have:
My chef run fails on the nexus_proxy_repository line with:
Where does nexus_proxy_repository get the credentials from?
The text was updated successfully, but these errors were encountered: