diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 245ec40bb..761062375 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -3,16 +3,15 @@ require 'beaker/puppet_install_helper' require 'beaker/module_install_helper' -run_puppet_install_helper -install_module -install_module_dependencies +run_puppet_install_helper unless ENV['BEAKER_provision'] == 'no' RSpec.configure do |c| # Readable test descriptions c.formatter = :documentation - hosts.each do |host| - if host[:platform] =~ %r{el-7-x86_64} && host[:hypervisor] =~ %r{docker} - on(host, "sed -i '/nodocs/d' /etc/yum.conf") - end + + # Configure all nodes in nodeset + c.before :suite do + install_module + install_module_dependencies end end