popcon -> hiera role; explicitly include apache2
[mirror/dsa-puppet.git] / modules / apache2 / manifests / init.pp
index 20a963f..64bf7ff 100644 (file)
@@ -63,12 +63,6 @@ class apache2(
     ensure => absent,
   }
 
-  if has_role('popcon') {
-    $memlimit = 512 * 1024 * 1024
-  } else {
-    $memlimit = $rlimitmem
-  }
-
   apache2::config { 'resource-limits':
     content => template('apache2/resource-limits.erb'),
   }