Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/133902
Change subject: Delete applicationserver::cron
......................................................................
Delete applicationserver::cron
I determined that the cron job was unnecessary by watching /tmp on the app
servers over the course of 24H.
Change-Id: I5f20c2ccc8ca7a4953ee220d425d20cada1a9b43
---
D modules/applicationserver/manifests/cron.pp
M modules/applicationserver/manifests/init.pp
2 files changed, 0 insertions(+), 11 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/02/133902/1
diff --git a/modules/applicationserver/manifests/cron.pp
b/modules/applicationserver/manifests/cron.pp
deleted file mode 100644
index 3e30600..0000000
--- a/modules/applicationserver/manifests/cron.pp
+++ /dev/null
@@ -1,10 +0,0 @@
-# application server required cron jobs
-class applicationserver::cron {
- cron { 'cleantmpphp':
- ensure => present,
- command => 'find /tmp -name "php*" -type f -ctime +1 -exec rm -f {}
\\;',
- user => root,
- hour => 5,
- minute => 0,
- }
-}
diff --git a/modules/applicationserver/manifests/init.pp
b/modules/applicationserver/manifests/init.pp
index d31e4f2..a095e90 100644
--- a/modules/applicationserver/manifests/init.pp
+++ b/modules/applicationserver/manifests/init.pp
@@ -1,6 +1,5 @@
class applicationserver {
include applicationserver::config::base
- include applicationserver::cron
include applicationserver::service
include applicationserver::sudo
}
--
To view, visit https://gerrit.wikimedia.org/r/133902
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f20c2ccc8ca7a4953ee220d425d20cada1a9b43
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits