From 302f5aecd8f356db15ea50fe5ea44c9912e93003 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Tue, 14 Oct 2014 11:53:23 -0700 Subject: [PATCH] Use puppet() so the module install works better This was failing on SLES10 due to path issues. --- spec/spec_helper_acceptance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 718677498..b9af87641 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -39,7 +39,7 @@ def ip6tables_flush_all_tables 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