diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index e830e7fee..07c47c601 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -14,7 +14,7 @@ on host, "/bin/echo '' > #{host['hieraconf']}" end on host, "mkdir -p #{host['distmoduledir']}" - puppet_module_install_on(host, :module_name => 'puppetlabs-stdlib') + on host, puppet('module install puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] } end end