1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
# frozen_string_literal: true
require 'voxpupuli/acceptance/spec_helper_acceptance'
configure_beaker do |host|
# sysctl is untestable in docker
install_puppet_module_via_pmt_on(host, 'puppet-augeasproviders_sysctl') unless host['hypervisor'] == 'docker'
host.install_package('puppet-bolt') if bolt_supported?(host)
if fact_on(host, 'os.family') == 'Debian'
# APT required for Debian based systems where `$redis::manage_repo` is `true`
install_puppet_module_via_pmt_on(host, 'puppetlabs-apt')
end
end
|