Make rlimitmem host dependent
[mirror/dsa-puppet.git] / modules / apache2 / templates / ressource-limits.erb
index 040313f..9c4ea58 100644 (file)
@@ -4,5 +4,13 @@
 ##
 
 RLimitCPU 180
-RLimitMEM 67108864
+<%=
+case fqdn
+       when "cimarosa.debian.org" then
+               # buildd.debian.org
+               "RLimitMEM 96m"
+       else
+               "RLimitMEM 32m"
+end
+%>
 RLimitNPROC 128