3 UNSUPPORTED_PLATFORMS = []
5 unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
12 on hosts, "mkdir -p #{host['distmoduledir']}"
16 RSpec.configure do |c|
18 proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
20 # Readable test descriptions
21 c.formatter = :documentation
24 copy_module_to(host, :source => proj_root, :module_name => 'rabbitmq')
26 shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
27 shell('puppet module install puppetlabs-stdlib', { :acceptable_exit_codes => [0,1] })
28 if fact('osfamily') == 'Debian'
29 shell('puppet module install puppetlabs-apt --version 1.8.0 --force', { :acceptable_exit_codes => [0,1] })
31 shell('puppet module install nanliu-staging', { :acceptable_exit_codes => [0,1] })
32 if fact('osfamily') == 'RedHat'
33 shell('puppet module install garethr-erlang', { :acceptable_exit_codes => [0,1] })