File: spec_helper_acceptance.rb

package info (click to toggle)
puppet-module-arioch-redis 11.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 668 kB
  • sloc: ruby: 2,314; sh: 10; makefile: 8
file content (15 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
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