X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=64bf7ffc87e0d777ad6c81eb9c001536b884e3ff;hb=f8fb0964e63eee704ef5f7a4679f22e4f02e60f5;hp=9cd01c49d56d65ea09d6815d146d68bcc4c4a404;hpb=6cd11592f10a9294b671b06b8641df66354dae52;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index 9cd01c49d..64bf7ffc8 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -63,14 +63,6 @@ class apache2( ensure => absent, } - if has_role('udd') { - $memlimit = 512 * 1024 * 1024 - } elsif has_role('popcon') { - $memlimit = 512 * 1024 * 1024 - } else { - $memlimit = $rlimitmem - } - apache2::config { 'resource-limits': content => template('apache2/resource-limits.erb'), } @@ -155,7 +147,7 @@ class apache2( if $rate_limit { include apache2::dynamic } else { - ferm::rule { 'dsa-http': + ferm::rule { 'dsa-http-allow': description => 'http subchain, allow everything', prio => '90', chain => 'http',