Puppet Class: mediawiki::maintenance::purge_abusefilter

Defined in:
modules/mediawiki/manifests/maintenance/purge_abusefilter.pp

Overview

Parameters:

  • ensure (Any) (defaults to: present)


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

class mediawiki::maintenance::purge_abusefilter( $ensure = present ) {
    cron { 'purge_abusefilteripdata':
        ensure  => $ensure,
        command => '/usr/local/bin/foreachwiki extensions/AbuseFilter/maintenance/purgeOldLogIPData.php >/dev/null 2>&1',
        user    => $::mediawiki::users::web,
        hour    => 1,
        minute  => 15,
    }
}