} else {
$memlimit = 192 * 1024 * 1024
}
+ # debbugs cgis like to fork and don't deal well with EAGAIN
+ if has_role('bugs_base') {
+ $proclimit = 450
+ } else {
+ $proclimit = 256
+ }
apache2::config { 'resource-limits':
content => template('apache2/resource-limits.erb'),
content => template('apache2/puppet-config.erb'),
}
- apache2::config { 'pratchett':
- ensure => 'absent',
- }
-
apache2::config { 'headers':
source => 'puppet:///modules/apache2/headers',
}
content => template('apache2/mpm_worker.erb'),
}
- file { '/etc/apache2/sites-available/common-ssl.inc':
- ensure => absent,
- }
-
file { '/etc/logrotate.d/apache2':
source => 'puppet:///modules/apache2/apache2.logrotate',
}
if has_role('apache_ratelimited') {
include apache2::dynamic
} else {
- @ferm::rule { 'dsa-http':
+ ferm::rule { 'dsa-http':
prio => '23',
description => 'Allow web access',
rule => '&SERVICE(tcp, (http https))'
}
- @ferm::rule { 'dsa-http-v6':
+ ferm::rule { 'dsa-http-v6':
domain => '(ip6)',
prio => '23',
description => 'Allow web access',