Skip to content

Commit

Permalink
Configure debian 8 systems for acceptance tests
Browse files Browse the repository at this point in the history
* pacemaker and crmsh are delivered in jessie-backports
* openhpid post-install may fail (#408)
  • Loading branch information
btravouillon committed Oct 23, 2017
1 parent a7c8372 commit 4114e7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@

hosts.each do |host|
on host, puppet('module', 'install', 'puppetlabs-stdlib'), acceptable_exit_codes: [0, 1]

if fact('osfamily') == 'Debian' && fact('operatingsystemmajrelease') == '8'
on host, 'echo deb http://ftp.debian.org/debian jessie-backports main >> /etc/apt/sources.list'
on host, 'apt-get update && apt-get install -y openhpid'
end
end
end
end
Expand Down

0 comments on commit 4114e7e

Please sign in to comment.