From 93615453b583daca2b009a272786111770d57aca Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Fri, 12 Dec 2014 12:55:31 -0800 Subject: [PATCH] Use puppet() instead of shell() to install module dependencies --- 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 cfae833bd..f87c6ed6e 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -36,7 +36,7 @@ end shell("/bin/touch #{default['puppetpath']}/hiera.yaml") - shell('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] } on host, puppet('module','install','stahnma/epel'), { :acceptable_exit_codes => [0,1] } end end