Puppet Class: vrts::web

Defined in:
modules/vrts/manifests/web.pp

Overview

Actions:

Install the necessary apache modules, configure SSL

Requires:

Sample Usage:

include vrts::web


16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'modules/vrts/manifests/web.pp', line 16

class vrts::web {

    # We override the default mpm_prefork to set the apache setting for
    # MaxConnectionsPerChild. The chosen number is experimentally derived from
    # an OTRS suggested apache configuration example along with some experiments
    # Otherwise, OTRS memory leaks through the roof causing OOM to show up
    # We use the declarative form of the class instead of the inclusion to
    # explicitly show that we use the prefork mpm
    class { '::httpd::mpm':
        mpm    => 'prefork',
        source => 'puppet:///modules/vrts/mpm_prefork.conf',
    }

    httpd::site { 'ticket.wikimedia.org':
        content => template('vrts/ticket.wikimedia.org.erb'),
    }
}