]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
More output filtering at cron-update
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Sep 2012 14:41:32 +0000 (11:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Sep 2012 14:41:32 +0000 (11:41 -0300)
templates/drupal.sh.erb

index 7b31ab47b2800e09e759e36fc34317f979b2ed60..8ccfebb3cb3e0150e3e501b7ff40b7304cbc416e 100644 (file)
@@ -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|^Array$|^\($|^\)$'
+  drupal_iterate pm-update -y -p | grep -v -E 'Unknown|Up-to-date|Atualizado|Desconhecido|^Array$|^\($|^\)$|OK'
 elif [ "$1" == "deploy" ]; then
   shift
   drupal_deploy $*