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':
72 package { 'php5-suhosin':
74 require => Package['apache2'],
77 file { '/etc/php5/conf.d/suhosin.ini':
78 source => 'puppet:///modules/apache2/suhosin.ini',
79 require => Package['php5-suhosin'],
80 notify => Service['apache2'],
84 if $::hostname in [busoni,holter,lindberg,master,beach,buxtehude] {
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))'