aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-10-03 22:23:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-10-03 22:23:12 -0300
commit9aae89a4a3ab2fd7e0e95ba683590a23609a736b (patch)
treec6ca1d418af391b0a9708b2348e8c073b0a272a2 /templates
parentcb941efbfee33045a8140fcfccb6855456ce2174 (diff)
downloadpuppet-drupal-9aae89a4a3ab2fd7e0e95ba683590a23609a736b.tar.gz
puppet-drupal-9aae89a4a3ab2fd7e0e95ba683590a23609a736b.tar.bz2
Updating drupal script to new drush syntax; addinc cache clear after update
Diffstat (limited to 'templates')
-rw-r--r--templates/drupal.sh.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index f87fa8a..3268413 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -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 $*