-
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
use nexus context to generate nexus url #50
Conversation
@@ -43,7 +43,22 @@ def get_nexus_data_bag(node) | |||
# | |||
# @return [Chef::Mash] the credentials entry in the data bag item | |||
def get_credentials(node) | |||
get_nexus_data_bag(node)[:credentials] | |||
if Chef::Config[:solo] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! I am 👍 on this after the commented on code is removed. I'd like to see that code revisited in #48 so we can make this cookbook easier to use. |
i only wanted the first commit. it automatically added my second commit to the pull request. let me see if i can get it back to the state i submitted it. |
This reverts commit 156285a.
sorry about that. i only wanted the nexus context used when generating the url. i hope this will do. |
do you want me to clean up the pull request sans the chef-solo branching and resubmit? I reverted that commit and the current state is just the nexus context url generator. |
Nope, this looks good! Thanks! |
use nexus context to generate nexus url
when the nexus context is modified, the Chef::Nexus.nexus_available is failing due to the incorrectly generated endpoint.