projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "try to get node names this way"
[mirror/dsa-puppet.git]
/
modules
/
apache2
/
templates
/
resource-limits.erb
diff --git
a/modules/apache2/templates/resource-limits.erb
b/modules/apache2/templates/resource-limits.erb
index
48875e5
..
185db4e
100644
(file)
--- a/
modules/apache2/templates/resource-limits.erb
+++ b/
modules/apache2/templates/resource-limits.erb
@@
-7,13
+7,15
@@
RLimitCPU 180
<%=
if scope.lookupvar('site::nodeinfo')['buildd_master'] then
# buildd.debian.org
<%=
if scope.lookupvar('site::nodeinfo')['buildd_master'] then
# buildd.debian.org
- "RLimitMEM "+(
96
* 1024**2).to_s
+ "RLimitMEM "+(
192
* 1024**2).to_s
else
case fqdn
when "berlioz.debian.org" then
""
when "tchaikovsky.debian.org" then
"RLimitMEM "+(96 * 1024**2).to_s
else
case fqdn
when "berlioz.debian.org" then
""
when "tchaikovsky.debian.org" then
"RLimitMEM "+(96 * 1024**2).to_s
+ when "quantz.debian.org" then
+ "RLimitMEM "+(192 * 1024**2).to_s
else
"RLimitMEM "+(32 * 1024**2).to_s
end
else
"RLimitMEM "+(32 * 1024**2).to_s
end