From: Silvio Rhatto Date: Wed, 7 Dec 2011 13:36:23 +0000 (-0200) Subject: Clear cache an run cron to refresh update list X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=994b67ef36e7a89990cc3f32f4f5a13c93d64bd6;p=puppet-drupal.git Clear cache an run cron to refresh update list --- diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 77bc472..ae5b12c 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -352,6 +352,11 @@ elif [ "$1" == "deploy" ]; then drupal_deploy $* elif [ "$1" == "update" ]; then shift + # Clear cache an run cron to refresh update list + drupal_iterate cc all $* + drupal_iterate cron + + # Issue updates drupal_iterate pm-update $* # Update alone might not trigger updatedb in a farm for all instances.