Puppet Class: role::parsoid

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

Overview

Class: role::parsoid

Configures Parsoid, a wikitext parsing service

Parameters:

  • public_url (Any)


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'puppet/modules/role/manifests/parsoid.pp', line 3

class role::parsoid(
    $public_url,
) {
    include ::parsoid

    apache::reverse_proxy { 'parsoid':
        port => $::parsoid::port,
    }

    # register the PHP Virtual REST Service connector
    mediawiki::settings { 'parsoid-vrs':
        values   => template('role/parsoid/vrs.php.erb'),
        priority => 4,
    }

    mediawiki::import::text { 'VagrantRoleParsoid':
        content => template('role/parsoid/VagrantRoleParsoid.wiki.erb'),
    }
}