]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Updating drupal script to new drush syntax; addinc cache clear after update
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 4 Oct 2010 01:23:12 +0000 (22:23 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 4 Oct 2010 01:23:12 +0000 (22:23 -0300)
templates/drupal.sh.erb

index f87fa8a46face3c11fae5b3a10c29ed101da1d48..3268413d26545ef98e835f6cdb4991717593ba0f 100644 (file)
@@ -163,10 +163,11 @@ elif [ "$1" == "deploy" ]; then
   drupal_deploy $*
 elif [ "$1" == "update" ]; then
   shift
-  drupal_iterate update $*
+  drupal_iterate pm-update $*
 
   # Update alone might not trigger updatedb in a farm for all instances.
   drupal_iterate updatedb $*
+  drupal_iterate cache-clear all $*
 elif [ "$1" == "updatedb" ]; then
   shift
   drupal_iterate updatedb $*