-
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
Should either lock in a nexus external_version or not include a checksum #41
Comments
Thank you @josephholsten, I actually just went to run this cookbook 20 minutes ago and noticed this. I agree that we should default to a version. If you are interested in taking it on, I would love to see this cookbook updated to support Nexus 2.6 (which just came out) - I think that would be a bit extra work:
Anyway, I would also happily accept a pull request to default to 2.5.1. |
oh, I'll give that a try |
Well this is annoying. You'd think we'd be able to just get away with overriding default['java']['jdk_version'] = '7' Unfortunately this doesn't work because the attribute loading order is alphabetical. That wouldn't be an issue, except that other java attributes are dependent on case node['platform_family']
when "rhel", "fedora"
default['java']['java_home'] = "/usr/lib/jvm/java"
default['java']['openjdk_packages'] = ["java-1.#{node['java']['jdk_version']}.0-openjdk", "java-1.#{node['java']['jdk_version']}.0-openjdk-devel"]
when "debian"
default['java']['java_home'] = "/usr/lib/jvm/default-java"
default['java']['openjdk_packages'] = ["openjdk-#{node['java']['jdk_version']}-jdk", "default-jre-headless"]
else
default['java']['java_home'] = "/usr/lib/jvm/default-java"
default['java']['openjdk_packages'] = ["openjdk-#{node['java']['jdk_version']}-jdk"]
end This sucks. But progress proceeds. |
Could you use the I agree that is less than ideal. |
tried it, nope. |
Actually, 2.6 seems to be working pretty easily once I've got java 7 set up. I'm not quite satisfied with the https proxy and I need active directory auth, but I'll wrap up the current work and put the rest in another pr. |
Ha! Forgot to actually send the pr. |
Released to Opscode Community site as 2.3.0 |
Awesome! |
the cookbook doesn't work out of the box today because it automatically downloads the latest release of nexus, which is different than the one used to calculate the checksum.
Either:
default[:nexus][:external_version] = '4.9'
, ordefault[:nexus][:checksum] = nil
I'm personally partial to locking the version to 4.9 and occasionally updating the values. Let me know your preference and I'll happily supply a pr.
The text was updated successfully, but these errors were encountered: