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