]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Jul 2020 14:27:40 +0000 (11:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Jul 2020 14:27:40 +0000 (11:27 -0300)
manifests/drush.pp

index 96678fc47e4d65e5a54253ed16c190e54896d577..0ea7c13765068a9982c13e369f998d0b659bc7ee 100644 (file)
@@ -58,7 +58,7 @@ class drupal::drush(
 
   # Drush Legacy
   exec { 'getdrush_legacy':
-    command => "/usr/bin/wget https://github.com/drush-ops/drush/releases/download/${version}/drush.phar -O /usr/local/bin/drush-legacy && chmod +x /usr/local/bin/drush-legacy",
+    command => "/usr/bin/wget https://github.com/drush-ops/drush/releases/download/${legacy_version}/drush.phar -O /usr/local/bin/drush-legacy && chmod +x /usr/local/bin/drush-legacy",
     user    => 'root',
     cwd     => '/tmp',
     timeout => 0,