Chad has uploaded a new change for review.
https://gerrit.wikimedia.org/r/297802
Change subject: Phab: properly disable crons for maintenance
......................................................................
Phab: properly disable crons for maintenance
Follows up Iab5e0fb5. Commenting a cron doesn't remove it from the
system. These should not be running at the moment but they still are
Bug: T138460
Change-Id: Ide926d45b246a2f2c44d0db69ec3f0b928d4c41c
---
M modules/phabricator/manifests/logmail.pp
M modules/role/manifests/phabricator/main.pp
2 files changed, 17 insertions(+), 18 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/02/297802/1
diff --git a/modules/phabricator/manifests/logmail.pp
b/modules/phabricator/manifests/logmail.pp
index 0f6ad4d..f6605df 100644
--- a/modules/phabricator/manifests/logmail.pp
+++ b/modules/phabricator/manifests/logmail.pp
@@ -54,7 +54,8 @@
}
cron { "phabstatscron_${title}":
- ensure => present,
+ # disabled due to maintenance: T138460
+ ensure => absent,
command => "${basedir}/${script_name}",
user => 'root',
hour => $hour,
diff --git a/modules/role/manifests/phabricator/main.pp
b/modules/role/manifests/phabricator/main.pp
index 4792f89..b24765f 100644
--- a/modules/role/manifests/phabricator/main.pp
+++ b/modules/role/manifests/phabricator/main.pp
@@ -177,23 +177,21 @@
}
# community metrics mail (T81784, T1003)
- # disabled due to maintenance: T138460
- #phabricator::logmail {'communitymetrics':
- # script_name => 'community_metrics.sh',
- # rcpt_address => '[email protected]',
- # sndr_address => '[email protected]',
- # monthday => '1',
- # require => Package[$deploy_target],
- #}
+ phabricator::logmail {'communitymetrics':
+ script_name => 'community_metrics.sh',
+ rcpt_address => '[email protected]',
+ sndr_address => '[email protected]',
+ monthday => '1',
+ require => Package[$deploy_target],
+ }
# project changes mail (T85183)
- # disabled due to maintenance: T138460
- #phabricator::logmail {'projectchanges':
- # script_name => 'project_changes.sh',
- # rcpt_address => [ '[email protected]' ],
- # sndr_address => '[email protected]',
- # monthday => '*',
- # weekday => 1, # Monday
- # require => Package[$deploy_target],
- #}
+ phabricator::logmail {'projectchanges':
+ script_name => 'project_changes.sh',
+ rcpt_address => [ '[email protected]' ],
+ sndr_address => '[email protected]',
+ monthday => '*',
+ weekday => 1, # Monday
+ require => Package[$deploy_target],
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/297802
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide926d45b246a2f2c44d0db69ec3f0b928d4c41c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Chad <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits