aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-03-13 11:10:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-03-13 11:10:30 -0300
commitcf298ab3f1de71acf8b60d8d8ae51b46f2e6a5ce (patch)
tree755ea1cd50472bcf67c470e085a325a587f53259 /templates
parent2b19efd8202236744b23ea93363b69e5b9b8c12d (diff)
downloadpuppet-drupal-cf298ab3f1de71acf8b60d8d8ae51b46f2e6a5ce.tar.gz
puppet-drupal-cf298ab3f1de71acf8b60d8d8ae51b46f2e6a5ce.tar.bz2
Basic syntax check at drupal script
Diffstat (limited to 'templates')
-rw-r--r--templates/drupal.sh.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index 85ba71a..79ae4d2 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -165,4 +165,7 @@ elif [ "$1" == "upgrade" ]; then
elif [ "$1" == "run" ]; then
shift
drupal_iterate $*
+else
+ echo "No action $1"
+ exit 1
fi