Skip to content

Commit 59fc239

Browse files
author
Morgan Haskel
committed
Merge pull request #209 from mhaskel/spec_helper_fix
Use puppet('module install puppetlabs-stdlib')
2 parents aa55ac9 + 0881cc2 commit 59fc239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper_acceptance.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
on host, "/bin/echo '' > #{host['hieraconf']}"
1515
end
1616
on host, "mkdir -p #{host['distmoduledir']}"
17-
puppet_module_install_on(host, :module_name => 'puppetlabs-stdlib')
17+
on host, puppet('module install puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
1818
end
1919
end
2020

0 commit comments

Comments
 (0)