summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache/manifests/common.pp
blob: 74116575a08d7253a67e6ba1f3309aab317181ab (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
# 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

  # needed for mod_ssl config
  include apache::module::socache_shmcb
  # generally needed
  include apache::module::mpm_prefork

  include site_apache::common::tls
  include site_apache::common::acme
  include site_apache::common::autorestart

}