Giuseppe Lavagetto has uploaded a new change for review.
https://gerrit.wikimedia.org/r/252923
Change subject: tendril::maintenance: write crons on one line.
......................................................................
tendril::maintenance: write crons on one line.
Change-Id: Ibc206ea37d5f76c151c3cfcd04cc1ff76cf9276b
---
M modules/tendril/manifests/maintenance.pp
1 file changed, 2 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/23/252923/1
diff --git a/modules/tendril/manifests/maintenance.pp
b/modules/tendril/manifests/maintenance.pp
index 10a2ca1..de0d001 100644
--- a/modules/tendril/manifests/maintenance.pp
+++ b/modules/tendril/manifests/maintenance.pp
@@ -93,10 +93,8 @@
cron { 'tendril-cron-5m':
user => 'tendril',
+ command => '/usr/local/bin/tendril-cron-5m.pl /etc/mysql/tendril.cnf >
/var/log/tendril-cron-5m.log 2> /var/log/tendril-cron-5m.err',
minute => '*/5',
- command => '/usr/local/bin/tendril-cron-5m.pl \
-/etc/mysql/tendril.cnf > /var/log/tendril-cron-5m.log 2> \
-/var/log/tendril-cron-5m.err',
require => [
File['/usr/local/bin/tendril-cron-5m.pl'],
File['/var/log/tendril-cron-5m.log'],
@@ -106,10 +104,8 @@
cron { 'tendril-queries':
user => 'tendril',
+ command => '/usr/local/bin/tendril-queries.pl /etc/mysql/tendril.cnf >
/var/log/tendril-queries.log 2> /var/log/tendril-queries.err',
minute => '*/5',
- command => '/usr/local/bin/tendril-queries.pl \
-/etc/mysql/tendril.cnf > /var/log/tendril-queries.log 2> \
-/var/log/tendril-queries.err',
require => [
File['/usr/local/bin/tendril-queries.pl'],
File['/var/log/tendril-queries.log'],
--
To view, visit https://gerrit.wikimedia.org/r/252923
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc206ea37d5f76c151c3cfcd04cc1ff76cf9276b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits