Faidon Liambotis has submitted this change and it was merged.

Change subject: Silence Phabricator/Bugzilla migration cronspam
......................................................................


Silence Phabricator/Bugzilla migration cronspam

Results in at least a one-by-minute cronspam with an output of:

/srv/phab/tools/bugzilla_update_user_comments.py completed 0, failed 0

Change-Id: Iccb1dfeeb788009c65ad69e8bef29d96013d1db1
---
M modules/phabricator/manifests/migration.pp
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Faidon Liambotis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/phabricator/manifests/migration.pp 
b/modules/phabricator/manifests/migration.pp
index 1149538..b5004a1 100644
--- a/modules/phabricator/manifests/migration.pp
+++ b/modules/phabricator/manifests/migration.pp
@@ -31,7 +31,7 @@
     $fab_lock = '/var/run/fab_update_user.flock'
     cron { 'fab_user_update':
         ensure  => absent,
-        command => "/usr/bin/flock -n ${fab_lock} -c 
'/srv/phab/tools/fab_update_user.py -a' 2>&1",
+        command => "/usr/bin/flock -n ${fab_lock} -c 
'/srv/phab/tools/fab_update_user.py -a' >/dev/null 2>&1",
         user    => root,
         hour    => '*/1',
         minute  => 0,
@@ -40,7 +40,7 @@
     $bz_header = '/var/run/bz_header.flock'
     cron { 'bz_header_update':
         ensure  => present,
-        command => "/usr/bin/flock -n ${bz_header} -c 
'/srv/phab/tools/bugzilla_update_user_header.py -a' 2>&1",
+        command => "/usr/bin/flock -n ${bz_header} -c 
'/srv/phab/tools/bugzilla_update_user_header.py -a' >/dev/null 2>&1",
         user    => root,
         hour    => '0',
     }
@@ -48,7 +48,7 @@
     $bz_comments = '/var/run/bz_comments.flock'
     cron { 'bz_comment_update':
         ensure  => present,
-        command => "/usr/bin/flock -n ${bz_comments} -c 
'/srv/phab/tools/bugzilla_update_user_comments.py -a' 2>&1",
+        command => "/usr/bin/flock -n ${bz_comments} -c 
'/srv/phab/tools/bugzilla_update_user_comments.py -a' >/dev/null 2>&1",
         user    => root,
         hour    => '1',
     }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iccb1dfeeb788009c65ad69e8bef29d96013d1db1
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: Rush <r...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to