BBlack has uploaded a new change for review.
https://gerrit.wikimedia.org/r/189613
Change subject: reload nginx once a day on protoproxies
......................................................................
reload nginx once a day on protoproxies
Change-Id: I0fd68564a608d6cc5aafbd653a72350702abf31b
---
M manifests/role/protoproxy.pp
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/13/189613/1
diff --git a/manifests/role/protoproxy.pp b/manifests/role/protoproxy.pp
index 77535d6..792990a 100644
--- a/manifests/role/protoproxy.pp
+++ b/manifests/role/protoproxy.pp
@@ -35,6 +35,14 @@
content => template('nginx/logrotate'),
}
+ # reload protoproxies once a day for ticket keys.
+ # this is not the ideal solution, but it's a good
+ # stopgap measure.
+ cron { 'nginx_reload_daily':
+ command => '/usr/sbin/service nginx reload',
+ hour => fqdn_rand(24),
+ minute => fqdn_rand(60),
+ }
}
class role::protoproxy::ssl::beta::common {
--
To view, visit https://gerrit.wikimedia.org/r/189613
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0fd68564a608d6cc5aafbd653a72350702abf31b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits