Skip to content

Commit

Permalink
Update JDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
jairojunior committed May 7, 2017
1 parent 2bd6bd0 commit e60e635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def install_with_dependencies(host)

def install_java(host)
on host, puppet('resource', 'package', 'wget', 'ensure=installed')
on host, 'wget --header "Cookie: oraclelicense=accept-securebackup-cookie" -N -P /var/cache/wget http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.tar.gz && tar -C /opt -zxvf /var/cache/wget/jdk-8u111-linux-x64.tar.gz'
on host, 'wget --header "Cookie: oraclelicense=accept-securebackup-cookie" -N -P /var/cache/wget http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz && tar -C /opt -zxvf /var/cache/wget/jdk-8u131-linux-x64.tar.gz'
end

RSpec.configure do |c|
Expand Down Expand Up @@ -87,6 +87,6 @@ def test_data
data['service_name'] = ENV['TEST_service_name']
end

data['java_home'] = '/opt/jdk1.8.0_111/'
data['java_home'] = '/opt/jdk1.8.0_131/'

RSpec.configuration.test_data = data

0 comments on commit e60e635

Please sign in to comment.