Skip to content

non defined attribute in generate_nexus_url function #140

Open
@akadoya

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions