From: Silvio Rhatto Date: Mon, 23 Nov 2015 20:37:01 +0000 (-0200) Subject: Use just wget X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=27ba7205fdfff72f5089e7737000f83a3a8a4989;p=puppet-drupal.git Use just wget --- diff --git a/manifests/init.pp b/manifests/init.pp index 1ce1643..11ea592 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -146,16 +146,9 @@ class drupal( backup => false, } - # TODO: move to a custom module - if ! defined(Package["curl"]) { - package { 'curl': - ensure => present, - } - } - # Composer exec { 'getcomposer': - command => '/usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php && /bin/mv composer.phar /usr/local/bin/composer', + command => '/usr/bin/wget -O - https://getcomposer.org/installer | /usr/bin/php && /bin/mv composer.phar /usr/local/bin/composer', user => 'root', cwd => '/tmp', creates => '/usr/local/bin/composer',