Puppet Class: role::antispoof

Defined in:
puppet/modules/role/manifests/antispoof.pp

Overview

Class: role::antispoof

Installs and sets up the AntiSpoof extension



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'puppet/modules/role/manifests/antispoof.pp', line 3

class role::antispoof {
    require ::role::mediawiki

    mediawiki::extension { 'AntiSpoof':
        needs_update => true,
        composer     => true,
    }

    mediawiki::maintenance { 'populate_spoofuser':
        command     => '/usr/local/bin/foreachwikiwithextension AntiSpoof extensions/AntiSpoof/maintenance/batchAntiSpoof.php',
        refreshonly => true,
        require     => Mediawiki::Extension['AntiSpoof'],
        subscribe   => Exec['update_all_databases'],
    }
}