Puppet Class: role::offline

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

Overview

Class: role::offline

Installs offline-related extensions/services:



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

class role::offline {
    require ::electron

    mediawiki::settings { 'Electron-VRS':
        values   => template('role/offline/electron-vrs.php.erb'),
        priority => $::load_first,
    }

    mediawiki::extension { 'Collection':
        settings => template('role/offline/Collection.php.erb'),
    }

    mediawiki::extension { 'ElectronPdfService':
        settings => {
            wgElectronPdfServiceRESTbaseURL => '/api/rest_v1/page/pdf/',
        },
    }

    $electron_hostname = $::electron::vhost_name
    mediawiki::import::text { 'VagrantRoleOffline':
        content => template('role/offline/VagrantRoleOffline.wiki.erb'),
    }
}