Puppet Class: role::thumbor::mediawiki

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

Overview



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'modules/role/manifests/thumbor/mediawiki.pp', line 7

class role::thumbor::mediawiki {
    include ::profile::standard
    include ::profile::base::firewall
    include ::mediawiki::packages::fonts
    include ::profile::prometheus::haproxy_exporter
    include ::profile::prometheus::nutcracker_exporter
    include ::profile::thumbor
    include ::lvs::realserver
    include ::threedtopng::deploy # lint:ignore:wmf_styleguide


    class { '::profile::statsite':
      ensure => absent,
    }

    class { '::memcached':
        size => 100,
        port => 11211,
    }

    class {'::imagemagick::install': }

    include ::profile::prometheus::memcached_exporter
    class { '::profile::prometheus::statsd_exporter':
        relay_address => '',
    }

    $thumbor_memcached_servers_ferm = join(hiera('thumbor_memcached_servers'), ' ')

    ferm::service { 'memcached_memcached_role':
        proto  => 'tcp',
        port   => '11211',
        srange => "(@resolve((${thumbor_memcached_servers_ferm})))",
    }
}