]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Drush: migrate to drush-launcher
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Feb 2019 13:38:40 +0000 (10:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Feb 2019 13:38:40 +0000 (10:38 -0300)
manifests/drush.pp

index 4fb346afbcbf9f5deef694699b34071e5d2d0cc0..1b605b7b0d939e3200d6522fd74c7fed01747383 100644 (file)
@@ -1,5 +1,5 @@
 class drupal::drush(
-  $version = hiera('drupal::drush::version', '8.1.18')
+  $version = hiera('drupal::drush::version', '0.6.0')
 ) {
   # Drush config folder
   file { '/etc/drush':
@@ -49,7 +49,7 @@ class drupal::drush(
   #}
 
   exec { 'getdrush':
-    command => "/usr/bin/wget https://github.com/drush-ops/drush/releases/download/${version}/drush.phar -O /usr/local/bin/drush && chmod +x /usr/local/bin/drush",
+    command => "/usr/bin/whet https://github.com/drush-ops/drush-launcher/releases/download/${version}/drush.phar -O /usr/local/bin/drush && chmod +x /usr/local/bin/drush",
     user    => 'root',
     cwd     => '/tmp',
     timeout => 0,