Skip to content

Commit

Permalink
add curl options to follow redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingxiang.Zhang committed Jun 6, 2014
1 parent 3d92ab2 commit 502aebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/system.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class rvm::system($version='latest') {
exec { 'system-rvm':
path => '/usr/bin:/usr/sbin:/bin',
command => "bash -c '/usr/bin/curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer -o /tmp/rvm-installer ; \
command => "bash -c '/usr/bin/curl -sL https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer -o /tmp/rvm-installer ; \
chmod +x /tmp/rvm-installer ; \
rvm_bin_path=/usr/local/rvm/bin rvm_man_path=/usr/local/rvm/man /tmp/rvm-installer --version ${version} ; \
rm /tmp/rvm-installer'",
Expand Down

0 comments on commit 502aebb

Please sign in to comment.