]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Use puppet() so the module install works better
authorMorgan Haskel <morgan@puppetlabs.com>
Tue, 14 Oct 2014 18:53:23 +0000 (11:53 -0700)
committerMorgan Haskel <morgan@puppetlabs.com>
Tue, 14 Oct 2014 18:53:23 +0000 (11:53 -0700)
This was failing on SLES10 due to path issues.

spec/spec_helper_acceptance.rb

index 718677498acd925313d51c386e35a6bf333be17a..b9af876416c223ddfd088d5a738656b0790e507a 100644 (file)
@@ -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