X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=60538d4d8a5ec54dcc40699cab3cd3c046a87020;hb=675120593a8226126e9b4cd2d2d28397fd15354f;hp=008dab8bd724a13651ce104812543138adfddaeb;hpb=82984b71d76387542d02ec6971003f95fd13242c;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index 008dab8bd..60538d4d8 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -37,22 +37,22 @@ class apache2 { ensure => absent, } + apache2::config { 'serve-cgi-bin': + ensure => absent, + } + apache2::config { 'ressource-limits': ensure => absent, } - if has_role('buildd_master') { - $memlimit = 192 * 1024 * 1024 - } elsif has_role('buildd_ports_master') { - $memlimit = 192 * 1024 * 1024 - } elsif has_role('nagiosmaster') { - $memlimit = 96 * 1024 * 1024 - } elsif has_role('packagesqamaster') { - $memlimit = 192 * 1024 * 1024 - } elsif has_role('nm') { - $memlimit = 96 * 1024 * 1024 + if has_role('udd') { + $memlimit = 512 * 1024 * 1024 + } elsif has_role('sso') { + $memlimit = 512 * 1024 * 1024 + } elsif has_role('qamaster') { + $memlimit = 300 * 1024 * 1024 } else { - $memlimit = 32 * 1024 * 1024 + $memlimit = 192 * 1024 * 1024 } apache2::config { 'resource-limits':