Puppet Class: role::invitesignup

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

Overview

Class: role::invitesignup

Provisions the InviteSignup extension which allows restricting account creation on a closed wiki to invited users only.

[1]: www.mediawiki.org/wiki/Extension:InviteSignup



8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'puppet/modules/role/manifests/invitesignup.pp', line 8

class role::invitesignup {
    mediawiki::extension { 'InviteSignup':
        needs_update => true,
        settings     => [
            '$wgGroupPermissions["sysop"]["invitesignup"] = true;',
            '$wgISGroups = [ "sysop" ]',
        ],
    }

    mediawiki::import::text { 'VagrantRoleInviteSignup':
        source => 'puppet:///modules/role/invitesignup/VagrantRoleInviteSignup.wiki',
    }
}