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 file { '/etc/apache2/sites-available/common-ssl.inc':
56 source => 'puppet:///modules/apache2/common-ssl.inc',
57 require => Package['apache2'],
58 notify => Service['apache2'],
61 file { '/etc/logrotate.d/apache2':
62 source => 'puppet:///modules/apache2/apache2.logrotate',
65 file { [ '/srv/www', '/srv/www/default.debian.org', '/srv/www/default.debian.org/htdocs' ]:
70 file { '/srv/www/default.debian.org/htdocs/index.html':
71 content => template('apache2/default-index.html'),
74 munin::check { 'apache_accesses': }
75 munin::check { 'apache_processes': }
76 munin::check { 'apache_volume': }
77 munin::check { 'apache_servers': }
78 munin::check { 'ps_apache2':
82 if $::hostname in [beach,buxtehude,picconi,pkgmirror-1and1] {
83 include apache2::dynamic
85 @ferm::rule { 'dsa-http':
87 description => 'Allow web access',
88 rule => '&SERVICE(tcp, (http https))'
92 @ferm::rule { 'dsa-http-v6':
95 description => 'Allow web access',
96 rule => '&SERVICE(tcp, (http https))'