From: Stephen Gran Date: Thu, 2 Jan 2014 19:54:54 +0000 (+0000) Subject: puppet math is primitive X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9aaba8cd1fae6f75fab74c6e9f0b30f7ede54b92;p=mirror%2Fdsa-puppet.git puppet math is primitive Signed-off-by: Stephen Gran --- diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index f29eeefeb..875e4ba01 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -34,13 +34,13 @@ class apache2 { } if has_role('buildd_master') { - $memlimit = 192 * 1024**2 + $memlimit = 192 * 1024 * 1024 } elsif has_role('nagiosmaster') { - $memlimit = 96 * 1024**2 + $memlimit = 96 * 1024 * 1024 } elsif has_role('packagesqamaster') { - $memlimit = 192 * 1024**2 + $memlimit = 192 * 1024 * 1024 } else { - $memlimit = 32 * 1024**2 + $memlimit = 32 * 1024 * 1024 } apache2::config { 'resource-limits':