Puppet Class: role::contactpage

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

Overview

Class: role::contactpage

Install the ContactPage extension and a mail server that will redirect all emails to the vagrant user.

No contact forms are configured by default. Create configuration files in /vagrant/settings.d to configure specific forms.



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

class role::contactpage {
    require ::role::mediawiki
    include ::postfix

    require_package('mailutils')
    mediawiki::extension { 'ContactPage':
        settings => [
            '$wgContactConfig["default"]["RecipientUser"] = "RecipientUser";',
        ],
    }

    mediawiki::user { 'RecipientUser':
        password => $::mediawiki::admin_pass,
        email    => 'RecipientUser@example.org',
    }
}