ArielGlenn has uploaded a new change for review. https://gerrit.wikimedia.org/r/112651
Change subject: hourly logrot for parsoid for now ...................................................................... hourly logrot for parsoid for now Change-Id: I61fc3142ac7a553402f992295ccfaf880eb9159e --- M manifests/role/parsoid.pp 1 file changed, 9 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/51/112651/1 diff --git a/manifests/role/parsoid.pp b/manifests/role/parsoid.pp index 3197d3b..45fe445 100644 --- a/manifests/role/parsoid.pp +++ b/manifests/role/parsoid.pp @@ -102,6 +102,15 @@ content => template('misc/parsoid.logrotate.erb'), } + cron { 'parsoid-hourly-logrot': + ensure => present, + command => '/usr/sbin/logrotate /etc/logrotate.d/parsoid' + user => 'root', + hour => '*', + minute => '12', + require => File['/etc/logrotate.d/parsoid'], + } + # Still using the old init script for now service { 'parsoid': ensure => running, -- To view, visit https://gerrit.wikimedia.org/r/112651 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I61fc3142ac7a553402f992295ccfaf880eb9159e Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: ArielGlenn <ar...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits