]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Remove puppet_module_install in favor of copy_module_to
authorTravis Fields <travis@puppetlabs.com>
Wed, 10 Sep 2014 18:47:53 +0000 (11:47 -0700)
committerTravis Fields <travis@puppetlabs.com>
Wed, 10 Sep 2014 18:47:53 +0000 (11:47 -0700)
spec/spec_helper_acceptance.rb

index ca29ce1cb759c56db47ccb2e4bdf82f5d6f0f2aa..0150eaad89ce741295951bc3acf93e560e462445 100644 (file)
@@ -36,8 +36,8 @@ RSpec.configure do |c|
   # Configure all nodes in nodeset
   c.before :suite do
     # Install module and dependencies
-    puppet_module_install(:source => proj_root, :module_name => 'firewall')
     hosts.each do |host|
+      copy_module_to(host, :source => proj_root, :module_name => 'firewall')
       shell('/bin/touch /etc/puppet/hiera.yaml')
       shell('puppet module install puppetlabs-stdlib --version 3.2.0', { :acceptable_exit_codes => [0,1] })
     end