Skip to content

Commit 2f9820c

Browse files
committed
Merge pull request #622 from mhaskel/puppet_not_shell
Use puppet() instead of shell() to install module dependencies
2 parents aeb5ae5 + 9361545 commit 2f9820c

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
@@ -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)