Remove deprecated puppet_module_install in favor of copy_module_to

This commit is contained in:
Travis Fields 2014-09-10 10:07:24 -07:00
parent 6a1f3aaf94
commit 968dac5a31

View file

@ -23,8 +23,8 @@ RSpec.configure do |c|
# Configure all nodes in nodeset # Configure all nodes in nodeset
c.before :suite do c.before :suite do
# Install module and dependencies # Install module and dependencies
puppet_module_install(:source => proj_root, :module_name => 'concat')
hosts.each do |host| hosts.each do |host|
copy_module_to(host, :source => proj_root, :module_name => 'concat')
on host, puppet('module','install','puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] } on host, puppet('module','install','puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
end end
end end