`hosts_as` takes a role type, not an array of hosts. Unfortunately,
`install_module_on` only takes one host as an argument. We were lucky
that `hosts_as('default')` was returning only one host, but we should be
explicitly installing this on each host individually.
c.before :suite do
unless ENV['BEAKER_provision'] == 'no'
run_puppet_install_helper
- install_module_on(hosts_as(hosts))
+ hosts.each do |host|
+ install_module_on(host)
+ end
install_module_dependencies_on(hosts)
end
end