* 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet:
apache is weird
Oh puppet, you are so picky
Make rlimitmem host dependent
Make ressource-limits a template
+++ /dev/null
-##
-## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
-##
-
-RLimitCPU 180
-RLimitMEM 67108864
-RLimitNPROC 128
file {
"/etc/apache2/conf.d/ressource-limits":
- source => [ "puppet:///apache2/per-host/$fqdn/etc/apache2/conf.d/ressource-limits",
- "puppet:///apache2/common/etc/apache2/conf.d/ressource-limits" ],
+ content => template("apache2/ressource-limits.erb"),
require => Package["apache2"],
notify => Exec["apache2 reload"];
"/etc/apache2/conf.d/security":
--- /dev/null
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
+RLimitCPU 180
+<%=
+case fqdn
+ when "cimarosa.debian.org" then
+ # buildd.debian.org
+ "RLimitMEM "+(96 * 1024**2).to_s
+ else
+ "RLimitMEM "+(32 * 1024**2).to_s
+end
+%>
+RLimitNPROC 128