Puppet Class: role::mediawiki

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

Overview

Class: role::mediawiki

Provisions a MediaWiki instance powered by PHP, MySQL, and redis.

Parameters

hostname

Hostname for the main wiki.

Parameters:

  • hostname (Any)


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

class role::mediawiki(
    $hostname,
){
    include ::arcanist
    include ::mediawiki
    include ::postfix
    require ::misc
    require ::mwv
    require ::mysql
    require ::redis

    require_package('libimage-exiftool-perl')

    # mailutils depends on default MTA or any MTA.  This way we
    # explicitly install postfix, not relying on it happening to be the
    # default MTA.
    require_package('mailutils')
    Package['postfix'] -> Package['mailutils']
}