diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-11-23 18:37:01 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-11-23 18:37:09 -0200 |
commit | 27ba7205fdfff72f5089e7737000f83a3a8a4989 (patch) | |
tree | 63312344ccb30cd95ee7345570ac69c4c450eb45 /manifests | |
parent | 446d3b2d7d784adea943292db82002e84f8dd03c (diff) | |
download | puppet-drupal-27ba7205fdfff72f5089e7737000f83a3a8a4989.tar.gz puppet-drupal-27ba7205fdfff72f5089e7737000f83a3a8a4989.tar.bz2 |
Use just wget
Diffstat (limited to 'manifests')
-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', |