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 { 'local-serverinfo':
33 source => 'puppet:///modules/apache2/local-serverinfo',
36 apache2::config { 'server-status':
37 source => 'puppet:///modules/apache2/server-status',
40 file { '/etc/apache2/sites-available/common-ssl.inc':
41 source => 'puppet:///modules/apache2/common-ssl.inc',
42 require => Package['apache2'],
43 notify => Service['apache2'],
46 file { '/etc/logrotate.d/apache2':
47 source => 'puppet:///modules/apache2/apache2.logrotate',
50 file { [ '/srv/www', '/srv/www/default.debian.org', '/srv/www/default.debian.org/htdocs' ]:
55 file { '/srv/www/default.debian.org/htdocs/index.html':
56 content => template('apache2/default-index.html'),
59 munin::check { 'apache_accesses': }
60 munin::check { 'apache_processes': }
61 munin::check { 'apache_volume': }
62 munin::check { 'apache_servers': }
63 munin::check { 'ps_apache2':
68 package { 'php5-suhosin':
70 require => Package['apache2'],
72 apache2::config { 'suhosin.ini':
73 content => 'puppet:///modules/apache2/suhosin.ini',
74 require => Package['php5-suhosin'],
78 if $::hostname in [busoni,duarte,holter,lindberg,master,powell] {
79 include apache2::dynamic
81 @ferm::rule { 'dsa-http':
83 description => 'Allow web access',
84 rule => '&SERVICE(tcp, (http https))'
88 @ferm::rule { 'dsa-http-v6':
91 description => 'Allow web access',
92 rule => '&SERVICE(tcp, (http https))'