projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e1cde2
)
make 192 the new default
author
Peter Palfrader
<peter@palfrader.org>
Thu, 28 May 2015 09:19:58 +0000
(11:19 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 28 May 2015 09:19:58 +0000
(11:19 +0200)
modules/apache2/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/apache2/manifests/init.pp
b/modules/apache2/manifests/init.pp
index
9024243
..
8057e9a
100644
(file)
--- a/
modules/apache2/manifests/init.pp
+++ b/
modules/apache2/manifests/init.pp
@@
-45,22
+45,10
@@
class apache2 {
ensure => absent,
}
ensure => absent,
}
- if has_role('buildd_master') {
- $memlimit = 192 * 1024 * 1024
- } elsif has_role('buildd_ports_master') {
- $memlimit = 192 * 1024 * 1024
- } elsif has_role('nagiosmaster') {
- $memlimit = 96 * 1024 * 1024
- } elsif has_role('packagesqamaster') {
- $memlimit = 192 * 1024 * 1024
- } elsif has_role('nm') {
- $memlimit = 96 * 1024 * 1024
- } elsif has_role('udd') {
+ if has_role('udd') {
$memlimit = 512 * 1024 * 1024
$memlimit = 512 * 1024 * 1024
- } elsif has_role('soo') {
- $memlimit = 192 * 1024 * 1024
} else {
} else {
- $memlimit =
64
* 1024 * 1024
+ $memlimit =
192
* 1024 * 1024
}
apache2::config { 'resource-limits':
}
apache2::config { 'resource-limits':