8 require => Package['apache2'],
11 apache2::module { 'info': }
12 apache2::module { 'status': }
13 apache2::module { 'headers': }
15 package { 'libapache2-mod-macro':
19 apache2::module { 'macro':
20 require => Package['libapache2-mod-macro']
23 apache2::site { '00-default':
24 site => 'default-debian.org',
25 content => template('apache2/default-debian.org.erb'),
28 apache2::site { '000-default':
32 apache2::config { 'ressource-limits':
36 apache2::config { 'resource-limits':
37 content => template('apache2/resource-limits.erb'),
40 apache2::config { 'security':
41 source => 'puppet:///modules/apache2/security',
44 apache2::config { 'logformat-privacy':
45 source => 'puppet:///modules/apache2/logformat-privacy',
48 apache2::config { 'local-serverinfo':
49 source => 'puppet:///modules/apache2/local-serverinfo',
52 apache2::config { 'server-status':
53 source => 'puppet:///modules/apache2/server-status',
56 apache2::config { 'puppet-ssl-macros':
57 source => 'puppet:///modules/apache2/puppet-ssl-macros',
60 file { '/etc/apache2/sites-available/common-ssl.inc':
64 file { '/etc/logrotate.d/apache2':
65 source => 'puppet:///modules/apache2/apache2.logrotate',
68 file { [ '/srv/www', '/srv/www/default.debian.org', '/srv/www/default.debian.org/htdocs' ]:
73 file { '/srv/www/default.debian.org/htdocs/index.html':
74 content => template('apache2/default-index.html'),
77 munin::check { 'apache_accesses': }
78 munin::check { 'apache_processes': }
79 munin::check { 'apache_volume': }
80 munin::check { 'apache_servers': }
81 munin::check { 'ps_apache2':
85 if $::hostname in [beach,buxtehude,picconi,pkgmirror-1and1] {
86 include apache2::dynamic
88 @ferm::rule { 'dsa-http':
90 description => 'Allow web access',
91 rule => '&SERVICE(tcp, (http https))'
95 @ferm::rule { 'dsa-http-v6':
98 description => 'Allow web access',
99 rule => '&SERVICE(tcp, (http https))'