blob: 82962e89a7c5a01b23b75d917e2157ea9fd62b52 (
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
|
# set up apache for nagios
class site_nagios::server::apache {
include x509::variables
include site_config::x509::commercial::cert
include site_config::x509::commercial::key
include site_config::x509::commercial::ca
include apache::module::authn_file
# "AuthUserFile"
include apache::module::authz_user
# "AuthType Basic"
include apache::module::auth_basic
# "DirectoryIndex"
include apache::module::dir
include apache::module::php5
include apache::module::cgi
# apache >= 2.4, debian jessie
if ( $::lsbdistcodename == 'jessie' ) {
include apache::module::authn_core
}
}
|