Puppet Class: role::globaluserpage

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

Overview

Class: role::globaluserpage

The GlobalUserPage extension allows for a user to create a user page on a central wiki and have it displayed on all wikis where a local page does not exist.



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

class role::globaluserpage {
    require ::role::mediawiki

    mediawiki::extension { 'GlobalUserPage':
        settings => {
            wgGlobalUserPageDBname => 'gupwiki',
            wgGlobalUserPageAPIUrl => "http://gup${::mediawiki::multiwiki::base_domain}${::port_fragment}/w/api.php",
        }
    }


    mediawiki::wiki { 'gup': }
}