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

non defined attribute in generate_nexus_url function #140

Open
akadoya opened this issue May 3, 2016 · 0 comments
Open

non defined attribute in generate_nexus_url function #140

akadoya opened this issue May 3, 2016 · 0 comments

Comments

@akadoya
Copy link

akadoya commented May 3, 2016

Nexus user creation fails because of NoMethodError.
node[:nexus][:ssl][:port] in libraries/chef_nexus.rb is not defined anywhere so I guess it should be node[:nexus][:app_server_proxy][:ssl][:port]

        def generate_nexus_url(node)
          if node[:nexus][:app_server_proxy][:ssl][:enabled]
            "https://localhost:#{node[:nexus][:ssl][:port]}#{node[:nexus][:context_path]}"      <<<<<
          else
            "http://localhost:#{node[:nexus][:port]}#{node[:nexus][:context_path]}"
          end
        end
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

1 participant