Puppet Class: role::parsoid_js

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

Overview

Class: role::parsoid_js

Configures Parsoid/JS, 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_js.pp', line 3

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

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

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

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