diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-12-29 16:32:29 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-12-29 16:32:29 -0200 |
commit | 1d663359337b4c5074bb5605851fce0c73ea4445 (patch) | |
tree | b62bc28e010155b77248c50e40f039c3ea176ac9 /templates/drush-update.sh.erb | |
parent | e2a75915f76409cdc75f1b330c635be58f1950cc (diff) | |
download | puppet-drupal-1d663359337b4c5074bb5605851fce0c73ea4445.tar.gz puppet-drupal-1d663359337b4c5074bb5605851fce0c73ea4445.tar.bz2 |
New management scripts
Diffstat (limited to 'templates/drush-update.sh.erb')
-rw-r--r-- | templates/drush-update.sh.erb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/drush-update.sh.erb b/templates/drush-update.sh.erb deleted file mode 100644 index 75e8381..0000000 --- a/templates/drush-update.sh.erb +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# -# This file is used to update all drupal instances in the host. -# - -for version in 5 6; do - # Setup base and sites folders - base="<%= $apache_www_folder %>/drupal-$version" - cd $base/sites - drupals="`ls -I default -I all`" - - # Issue updates - for drupal in $drupals; do - # Ignore symlinks so sites are updated just once - if [ ! -h $drupal ]; then - echo "Processing $drupal..." - drush -l $drupal update - fi - done - - # Fix permissions - chown -R root.root $base/sites/all/modules - chown -R root.root $base/sites/all/themes -done |