aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-09-27 15:38:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-09-27 15:38:56 -0300
commitfaf713378fdb98d3d04da9fa16ebd09d9be30438 (patch)
tree311300bad67c2bbf10a9acc19f369a058a8c5231
parent73e9fe40dcdc2f8a3dd3f760d3c2e5e16b3ab740 (diff)
downloadpuppet-drupal-faf713378fdb98d3d04da9fa16ebd09d9be30438.tar.gz
puppet-drupal-faf713378fdb98d3d04da9fa16ebd09d9be30438.tar.bz2
Filtering Array() output att cron-update
-rw-r--r--templates/drupal.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index d67bfd6..7b31ab4 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -366,7 +366,7 @@ elif [ "$1" == "cron" ]; then
drupal_iterate cron
elif [ "$1" == "cron-update" ]; then
SILENT="yes"
- drupal_iterate update -y -p | grep -v -E 'Unknown|Up-to-date|Atualizado|Desconhecido'
+ drupal_iterate update -y -p | grep -v -E 'Unknown|Up-to-date|Atualizado|Desconhecido|^Array$|^\($|^\)$'
elif [ "$1" == "deploy" ]; then
shift
drupal_deploy $*