blob: 208c15d533603f754c6f138c99f49b31f17d6b5a (
plain)
1
2
3
4
5
6
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
|
# install basic apache modules needed for all services (nagios, webapp)
class site_apache::common {
include apache::module::rewrite
include apache::module::env
class { '::apache':
no_default_site => true,
ssl => true,
ssl_cipher_suite => 'HIGH:MEDIUM:!aNULL:!MD5'
}
# needed for the mod_ssl config
include apache::module::mime
# load mods depending on apache version
if ( $::lsbdistcodename == 'jessie' ) {
# apache >= 2.4, debian jessie
# needed for mod_ssl config
include apache::module::socache_shmcb
# generally needed
include apache::module::mpm_prefork
} else {
# apache < 2.4, debian wheezy
# for "Order" directive, i.e. main apache2.conf
include apache::module::authz_host
}
include site_apache::common::tls
include site_apache::common::acme
}
|