Puppet Class: profile::netmon::httpd

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

Overview

Parameters:

  • php_version (Float) (defaults to: lookup(profile::netmon::httpd::php_version, {default_value => 7.3}))


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

class profile::netmon::httpd (
    Float $php_version = lookup(profile::netmon::httpd::php_version, {default_value => 7.3}),
){
    # 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${php_version}"],
        extra_pkgs => ['libapache2-mod-fcgid'],
    }

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