Puppet Class: role::mediawiki::jobrunner

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

Overview

filtertags: labs-project-deployment-prep



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/role/manifests/mediawiki/jobrunner.pp', line 2

class role::mediawiki::jobrunner {
    system::role { 'mediawiki::jobrunner': }

    include ::profile::base::firewall

    # Parent role (we don't use inheritance by choice)
    include ::role::mediawiki::common

    include ::profile::prometheus::apache_exporter
    include ::profile::mediawiki::jobrunner
    include ::profile::mediawiki::videoscaler
    include ::profile::mediawiki::php::monitoring
    include ::profile::prometheus::php_fpm_exporter

    # restart php-fpm if the opcache available is too low
    include ::profile::mediawiki::php::restarts

    # TODO: change role used in beta
    if hiera('has_lvs', true) {
        include ::profile::lvs::realserver
        include ::profile::mediawiki::jobrunner_tls
    }

}