Skip to content

Commit

Permalink
fix(version): download latest version
Browse files Browse the repository at this point in the history
Drush version is stuck to initial download
Fixed to allow download of latest version
  • Loading branch information
minorOffense authored May 13, 2019
1 parent e71d497 commit 3723f1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
else {
exec{'drush-global-download':
command => "/usr/bin/wget -q ${drush_dl_url} -O ${drush_cmd}",
creates => "${drush_cmd}",
returns => [0],
unless => "test $(${drush_cmd} --version --pipe) == ${version_actual}",
require => Package['wget'],
}
-> exec {'drush_status_check':
command => 'phar ${drush_cmd} status',
require => File["${drush_cmd}"],
exec {'drush_status_check':
command => '${drush_cmd} status',
require => Exec["drush-global-download"],
refreshonly => 'true',
subscribe => Exec["drush-global-download"],
}
}

Expand Down

0 comments on commit 3723f1d

Please sign in to comment.