Skip to content

Commit

Permalink
Use puppet() instead of shell() to install module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Haskel committed Dec 12, 2014
1 parent aeb5ae5 commit 9361545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9361545

Please sign in to comment.