diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-03-13 10:43:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-03-13 10:43:58 -0300 |
commit | 2b19efd8202236744b23ea93363b69e5b9b8c12d (patch) | |
tree | 891f4d9952e202e0a2055b37106414fb212f255d /templates | |
parent | e172a0ed6e43c3b1a6579b90e8f4bb3a2393b110 (diff) | |
download | puppet-drupal-2b19efd8202236744b23ea93363b69e5b9b8c12d.tar.gz puppet-drupal-2b19efd8202236744b23ea93363b69e5b9b8c12d.tar.bz2 |
Adding 'run' action to drupal script
Diffstat (limited to 'templates')
-rw-r--r-- | templates/drupal.sh.erb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 3a10864..85ba71a 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -146,7 +146,7 @@ function drupal_upgrade { # Main procedure if [ -z "$1" ]; then - echo "Usage: `basename $0` <cron|deploy|update|updatedb|upgrade> [arguments]" + echo "Usage: `basename $0` <cron|deploy|update|updatedb|upgrade|run> [arguments]" exit 1 elif [ "$1" == "cron" ]; then drupal_iterate cron @@ -162,4 +162,7 @@ elif [ "$1" == "updatedb" ]; then elif [ "$1" == "upgrade" ]; then shift drupal_upgrade $* +elif [ "$1" == "run" ]; then + shift + drupal_iterate $* fi |