]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Clear cache an run cron to refresh update list
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 7 Dec 2011 13:36:23 +0000 (11:36 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 7 Dec 2011 13:36:23 +0000 (11:36 -0200)
templates/drupal.sh.erb

index 77bc472767da10da20416b70c91af34a1b347c65..ae5b12c8a01dc5eb4d2e003b2462a928fae87a52 100644 (file)
@@ -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.