X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=b5084160db220b4c35740ed312e4053dce7dc0d9;hb=46f899beb2e2e512745b818506026529eaf8e8b5;hp=d200391047f70112b31c8fe4cf1737aef9b2a6e1;hpb=738ce8961d5cf4560c44a2ebacfeef0bef5f6be1;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index d20039104..b5084160d 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -54,6 +54,12 @@ class apache2 { } 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'), @@ -87,10 +93,6 @@ class apache2 { content => template('apache2/puppet-config.erb'), } - apache2::config { 'pratchett': - ensure => 'absent', - } - apache2::config { 'headers': source => 'puppet:///modules/apache2/headers', } @@ -111,10 +113,6 @@ class apache2 { 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', }