Puppet Class: role::securepoll

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

Overview

Class: role::securepoll

This role installs the SecurePoll extension and creates an additional wiki:

vote.wiki.local.wmftest.net

Wiki where voting happens. Sysops here can create polls.



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

class role::securepoll {
    require ::role::mediawiki

    require_package('gnupg')

    mediawiki::extension { 'SecurePoll':
        needs_update => true,
        settings     => template('role/securepoll/conf.php.erb'),
    }

    mediawiki::wiki { 'vote': }
}