Springle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/91561


Change subject: remove bash-ism from cron job command
......................................................................

remove bash-ism from cron job command

Change-Id: I45ed975823345df5cff6fa4eb1e5d92056c75786
---
M modules/coredb_mysql/manifests/slow_digest.pp
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/61/91561/1

diff --git a/modules/coredb_mysql/manifests/slow_digest.pp 
b/modules/coredb_mysql/manifests/slow_digest.pp
index 477de14..f03e1f5 100644
--- a/modules/coredb_mysql/manifests/slow_digest.pp
+++ b/modules/coredb_mysql/manifests/slow_digest.pp
@@ -15,7 +15,7 @@
 
     cron { 'slow_digest':
         ensure  => present,
-        command => '/usr/local/bin/send_query_digest.sh &>/dev/null',
+        command => '/usr/local/bin/send_query_digest.sh >/dev/null 2>&1',
         require => File['/usr/local/bin/send_query_digest.sh'],
         user    => 'root',
         minute  => '*/20',
@@ -24,7 +24,7 @@
 
     cron { 'tcp_query_digest':
         ensure  => present,
-        command => '/usr/local/bin/send_query_digest.sh tcpdump &>/dev/null',
+        command => '/usr/local/bin/send_query_digest.sh tcpdump >/dev/null 
2>&1',
         require => File['/usr/local/bin/send_query_digest.sh'],
         user    => 'root',
         minute  => [ 5, 25, 45 ],

-- 
To view, visit https://gerrit.wikimedia.org/r/91561
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I45ed975823345df5cff6fa4eb1e5d92056c75786
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Springle <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to