Skip to content

Commit

Permalink
Merge pull request #622 from mhaskel/puppet_not_shell
Browse files Browse the repository at this point in the history
Use puppet() instead of shell() to install module dependencies
  • Loading branch information
hunner committed Dec 12, 2014
2 parents aeb5ae5 + 9361545 commit 2f9820c
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 2f9820c

Please sign in to comment.