8 require => Package['apache2'],
11 apache2::module { 'info': }
12 apache2::module { 'status': }
14 package { 'libapache2-mod-macro':
18 apache2::module { 'macro':
19 require => Package['libapache2-mod-macro']
22 apache2::site { '00-default':
23 site => 'default-debian.org',
24 content => template('apache2/default-debian.org.erb'),
27 apache2::site { '000-default':
31 apache2::config { 'ressource-limits':
35 apache2::config { 'resource-limits':
36 content => template('apache2/resource-limits.erb'),
39 apache2::config { 'security':
40 source => 'puppet:///modules/apache2/security',
43 apache2::config { 'logformat-privacy':
44 source => 'puppet:///modules/apache2/logformat-privacy',
47 apache2::config { 'local-serverinfo':
48 source => 'puppet:///modules/apache2/local-serverinfo',
51 apache2::config { 'server-status':
52 source => 'puppet:///modules/apache2/server-status',
55 apache2::config { 'puppet-ssl-macros':
56 source => 'puppet:///modules/apache2/puppet-ssl-macros',
59 file { '/etc/apache2/sites-available/common-ssl.inc':
63 file { '/etc/logrotate.d/apache2':
64 source => 'puppet:///modules/apache2/apache2.logrotate',
67 file { [ '/srv/www', '/srv/www/default.debian.org', '/srv/www/default.debian.org/htdocs' ]:
72 file { '/srv/www/default.debian.org/htdocs/index.html':
73 content => template('apache2/default-index.html'),
76 munin::check { 'apache_accesses': }
77 munin::check { 'apache_processes': }
78 munin::check { 'apache_volume': }
79 munin::check { 'apache_servers': }
80 munin::check { 'ps_apache2':
84 if $::hostname in [beach,buxtehude,picconi,pkgmirror-1and1] {
85 include apache2::dynamic
87 @ferm::rule { 'dsa-http':
89 description => 'Allow web access',
90 rule => '&SERVICE(tcp, (http https))'
94 @ferm::rule { 'dsa-http-v6':
97 description => 'Allow web access',
98 rule => '&SERVICE(tcp, (http https))'