Skip to content

Commit 9361545

Browse files
author
Morgan Haskel
committed
Use puppet() instead of shell() to install module dependencies
1 parent aeb5ae5 commit 9361545

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
end
3737

3838
shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
39-
shell('puppet module install puppetlabs-stdlib --version 3.2.0', { :acceptable_exit_codes => [0,1] })
39+
on host, puppet('module install puppetlabs-stdlib --version 3.2.0'), { :acceptable_exit_codes => [0,1] }
4040
on host, puppet('module','install','stahnma/epel'), { :acceptable_exit_codes => [0,1] }
4141
end
4242
end

0 commit comments

Comments
 (0)