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':
28 apache2::config { 'resource-limits':
29 content => template('apache2/resource-limits.erb'),
32 apache2::config { 'security':
33 source => 'puppet:///modules/apache2/security',
36 apache2::config { 'logformat-privacy':
37 source => 'puppet:///modules/apache2/logformat-privacy',
40 apache2::config { 'local-serverinfo':
41 source => 'puppet:///modules/apache2/local-serverinfo',
44 apache2::config { 'server-status':
45 source => 'puppet:///modules/apache2/server-status',
48 file { '/etc/apache2/sites-available/common-ssl.inc':
49 source => 'puppet:///modules/apache2/common-ssl.inc',
50 require => Package['apache2'],
51 notify => Service['apache2'],
54 file { '/etc/logrotate.d/apache2':
55 source => 'puppet:///modules/apache2/apache2.logrotate',
58 file { [ '/srv/www', '/srv/www/default.debian.org', '/srv/www/default.debian.org/htdocs' ]:
63 file { '/srv/www/default.debian.org/htdocs/index.html':
64 content => template('apache2/default-index.html'),
67 munin::check { 'apache_accesses': }
68 munin::check { 'apache_processes': }
69 munin::check { 'apache_volume': }
70 munin::check { 'apache_servers': }
71 munin::check { 'ps_apache2':
75 if $::hostname in [beach,buxtehude,picconi,pkgmirror-1and1] {
76 include apache2::dynamic
78 @ferm::rule { 'dsa-http':
80 description => 'Allow web access',
81 rule => '&SERVICE(tcp, (http https))'
85 @ferm::rule { 'dsa-http-v6':
88 description => 'Allow web access',
89 rule => '&SERVICE(tcp, (http https))'