1 require 'beaker-rspec/spec_helper'
2 require 'beaker-rspec/helpers/serverspec'
3 require 'acceptance/specinfra_stubs'
4 require 'beaker/puppet_install_helper'
5 require 'beaker/module_install_helper'
7 run_puppet_install_helper
8 install_ca_certs unless ENV['PUPPET_INSTALL_TYPE'] =~ /pe/i
9 install_module_on(hosts)
10 install_module_dependencies_on(hosts)
12 RSpec.configure do |c|
13 # Readable test descriptions
14 c.formatter = :documentation
17 shell('mkdir -p /tmp/concat')
20 shell('rm -rf /tmp/concat /var/lib/puppet/concat')
23 c.treat_symbols_as_metadata_keys_with_true_values = true