]> gitweb.fluxo.info Git - puppet-mailalias_core.git/commitdiff
Pass hosts array to install_modules_on
authorJosh Cooper <josh@puppet.com>
Wed, 18 Jul 2018 03:03:13 +0000 (20:03 -0700)
committerJosh Cooper <josh@puppet.com>
Wed, 18 Jul 2018 03:09:22 +0000 (20:09 -0700)
spec/spec_helper_acceptance.rb

index e7060a0909e3481bf9a094c21d7f826edf005b9b..24d3b9dfe7cb1022ce0cb16b159f767db4a73a00 100644 (file)
@@ -17,9 +17,7 @@ RSpec.configure do |c|
   c.before :suite do
     unless ENV['BEAKER_provision'] == 'no'
       run_puppet_install_helper
-      hosts.each do |host|
-        install_module_on(host)
-      end
+      install_module_on(hosts)
       install_module_dependencies_on(hosts)
     end
   end