9 require => Package['apache2'],
12 apache2::module { 'info': }
13 apache2::module { 'status': }
15 apache2::site { '00-default':
16 site => 'default-debian.org',
17 content => template('apache2/default-debian.org.erb'),
20 apache2::site { '000-default':
24 apache2::config { 'ressource-limits':
25 content => template('apache2/ressource-limits.erb'),
28 apache2::config { 'security':
29 source => 'puppet:///modules/apache2/security',
32 apache2::config { 'logformat-privacy':
33 source => 'puppet:///modules/apache2/logformat-privacy',
36 apache2::config { 'local-serverinfo':
37 source => 'puppet:///modules/apache2/local-serverinfo',
40 apache2::config { 'server-status':
41 source => 'puppet:///modules/apache2/server-status',
44 file { '/etc/apache2/sites-available/common-ssl.inc':
45 source => 'puppet:///modules/apache2/common-ssl.inc',
46 require => Package['apache2'],
47 notify => Service['apache2'],
50 file { '/etc/logrotate.d/apache2':
51 source => 'puppet:///modules/apache2/apache2.logrotate',
54 file { [ '/srv/www', '/srv/www/default.debian.org', '/srv/www/default.debian.org/htdocs' ]:
59 file { '/srv/www/default.debian.org/htdocs/index.html':
60 content => template('apache2/default-index.html'),
63 munin::check { 'apache_accesses': }
64 munin::check { 'apache_processes': }
65 munin::check { 'apache_volume': }
66 munin::check { 'apache_servers': }
67 munin::check { 'ps_apache2':
71 if $::hostname in [holter,beach,buxtehude,picconi,pkgmirror-1and1] {
72 include apache2::dynamic
74 @ferm::rule { 'dsa-http':
76 description => 'Allow web access',
77 rule => '&SERVICE(tcp, (http https))'
81 @ferm::rule { 'dsa-http-v6':
84 description => 'Allow web access',
85 rule => '&SERVICE(tcp, (http https))'