We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 360fa93 commit c10e820Copy full SHA for c10e820
1 file changed
attributes/default.rb
@@ -19,10 +19,11 @@
19
20
# default jdk attributes
21
default['java']['install_flavor'] = "openjdk"
22
-default['java']['jdk_version'] = '6'
23
-default['java']['arch'] = kernel['machine'] =~ /x86_64/ ? "x86_64" : "i586"
+default['java']['jdk_version'] = '8'
+#default['java']['arch'] = kernel['machine'] =~ /x86_64/ ? "x86_64" : "i586"
24
+default['java']['arch'] = "x86_64" # For Ubuntu 16.04, the above line needed to be commented out.
25
-case platform
26
+case node['platform'] # Needs to be compatible with Chef version 13.
27
when "centos","redhat","fedora"
28
default['java']['java_home'] = "/usr/lib/jvm/java"
29
when "freebsd"
0 commit comments