Suggest different variables to use if we want to tunnel both v4 and v6
[mirror/dsa-puppet.git] / 3rdparty / modules / concat / spec / spec_helper_acceptance.rb
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'
6
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)
11
12 RSpec.configure do |c|
13   # Readable test descriptions
14   c.formatter = :documentation
15
16   c.before(:all) do
17     shell('mkdir -p /tmp/concat')
18   end
19   c.after(:all) do
20     shell('rm -rf /tmp/concat /var/lib/puppet/concat')
21   end
22
23   c.treat_symbols_as_metadata_keys_with_true_values = true
24 end
25