From: Morgan Haskel Date: Tue, 14 Oct 2014 18:53:23 +0000 (-0700) Subject: Use puppet() so the module install works better X-Git-Tag: 1.3.0~1^2~10^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=302f5aecd8f356db15ea50fe5ea44c9912e93003;p=puppet-modules%2Fpuppetlabs-firewall.git Use puppet() so the module install works better This was failing on SLES10 due to path issues. --- diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 7186774..b9af876 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -39,7 +39,7 @@ RSpec.configure do |c| hosts.each do |host| copy_module_to(host, :source => proj_root, :module_name => 'firewall') on(host, "/bin/touch #{host['hieraconf']}") - on(host, 'puppet module install puppetlabs-stdlib --version 3.2.0', { :acceptable_exit_codes => [0,1] }) + on host, puppet('module install puppetlabs-stdlib --version 3.2.0'), { :acceptable_exit_codes => [0,1] } end end end