]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Adding updatedb into update procedure
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 8 Apr 2010 13:16:49 +0000 (10:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 8 Apr 2010 13:16:49 +0000 (10:16 -0300)
templates/drupal.sh.erb

index 79ae4d221c4bf099d9388eb4877dbdcdd896cfa9..06455f9bec1cde7f5573ba7f82b5b954b9bcf9ee 100644 (file)
@@ -156,6 +156,9 @@ elif [ "$1" == "deploy" ]; then
 elif [ "$1" == "update" ]; then
   shift
   drupal_iterate update $*
+
+  # Update alone might not trigger updatedb in a farm for all instances.
+  drupal_iterate updatedb $*
 elif [ "$1" == "updatedb" ]; then
   shift
   drupal_iterate updatedb $*