Puppet Class: profile::netmon::httpd

Defined in:
modules/profile/manifests/netmon/httpd.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/netmon/httpd.pp', line 1

class profile::netmon::httpd (
){

    $php_version_number = wmflib::debian_php_version()
    $php_version = "php${php_version_number}"

    # needed by librenms and netbox web servers
    class { '::sslcert::dhparam': }

    class { '::httpd::mpm':
        mpm => 'prefork'
    }

    class { '::httpd':
        modules    => ['headers','rewrite','proxy','proxy_http','ssl','fcgid', $php_version],
        extra_pkgs => ['libapache2-mod-fcgid'],
    }

    profile::auto_restarts::service { 'apache2': }
}