Skip to content

Commit 0192116

Browse files
author
Austin Blatt
authored
Merge pull request #293 from austb/maint/master/jessie-backports-fix
(maint) use beaker helper to install jdk8
2 parents 795c518 + 6cfd78a commit 0192116

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'beaker-rspec'
2+
require 'beaker-puppet'
23
require 'beaker/puppet_install_helper'
34
require 'beaker/module_install_helper'
45

@@ -64,7 +65,7 @@ def build_url(platform)
6465
'/etc/apt/sources.list.d/jessie-backports.list',
6566
'deb https://artifactory.delivery.puppetlabs.net/artifactory/debian_archive__remote/ jessie-backports main')
6667
on host, 'apt-get -y -m update'
67-
on host, 'apt-get install -y openjdk-8-jre-headless'
68+
install_package(host, 'openjdk-8-jre-headless')
6869
end
6970
on host, 'apt-get install apt-transport-https --assume-yes'
7071
on host, "curl -O #{build_url('debian')}$(lsb_release -c -s).deb"

0 commit comments

Comments
 (0)