Puppet Class: profile::mediawiki::maintenance::parsercachepurging

Defined in:
modules/profile/manifests/mediawiki/maintenance/parsercachepurging.pp

Overview



1
2
3
4
5
6
7
8
9
10
# File 'modules/profile/manifests/mediawiki/maintenance/parsercachepurging.pp', line 1

class profile::mediawiki::maintenance::parsercachepurging {

    system::role { 'mediawiki::maintenance::parsercachepurging': description => 'MediaWiki Maintenance Server: parser cache purging' }

    profile::mediawiki::periodic_job { 'parser_cache_purging':
        # Every day, Purge entries older than 30d * 86400s/d = 2592000s
        command  => '/usr/local/bin/mwscript purgeParserCache.php --wiki=aawiki --age=2592000 --msleep 500',
        interval => '01:00',
    }
}