diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 656a0fc1..5608c576 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -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