diff options
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 1 insertions, 8 deletions
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', |