diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-04-08 10:16:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-04-08 10:16:49 -0300 |
commit | 73633f9f47725907a3708687b64704e4751d33c9 (patch) | |
tree | 2601d5fee6cb212527dfe446463bcae235f9ebef | |
parent | cf298ab3f1de71acf8b60d8d8ae51b46f2e6a5ce (diff) | |
download | puppet-drupal-73633f9f47725907a3708687b64704e4751d33c9.tar.gz puppet-drupal-73633f9f47725907a3708687b64704e4751d33c9.tar.bz2 |
Adding updatedb into update procedure
-rw-r--r-- | templates/drupal.sh.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 79ae4d2..06455f9 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -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 $* |