aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-23 18:37:01 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-23 18:37:09 -0200
commit27ba7205fdfff72f5089e7737000f83a3a8a4989 (patch)
tree63312344ccb30cd95ee7345570ac69c4c450eb45
parent446d3b2d7d784adea943292db82002e84f8dd03c (diff)
downloadpuppet-drupal-27ba7205fdfff72f5089e7737000f83a3a8a4989.tar.gz
puppet-drupal-27ba7205fdfff72f5089e7737000f83a3a8a4989.tar.bz2
Use just wget
-rw-r--r--manifests/init.pp9
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',