projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Append chain if exists
[mirror/dsa-puppet.git]
/
modules
/
apache2
/
manifests
/
init.pp
diff --git
a/modules/apache2/manifests/init.pp
b/modules/apache2/manifests/init.pp
index
41c1403
..
8be585b
100644
(file)
--- a/
modules/apache2/manifests/init.pp
+++ b/
modules/apache2/manifests/init.pp
@@
-47,6
+47,8
@@
class apache2 {
if has_role('udd') {
$memlimit = 512 * 1024 * 1024
if has_role('udd') {
$memlimit = 512 * 1024 * 1024
+ } elsif has_role('dgit_git') {
+ $memlimit = 512 * 1024 * 1024
} elsif has_role('sso') {
$memlimit = 512 * 1024 * 1024
} elsif has_role('popcon') {
} elsif has_role('sso') {
$memlimit = 512 * 1024 * 1024
} elsif has_role('popcon') {
@@
-141,4
+143,11
@@
class apache2 {
description => 'Allow web access',
rule => '&SERVICE(tcp, (http https))'
}
description => 'Allow web access',
rule => '&SERVICE(tcp, (http https))'
}
+
+ exec { 'service apache2 reload':
+ path => '/usr/bin:/usr/sbin:/bin:/sbin',
+ command => 'service apache2 reload',
+ refreshonly => true,
+ require => Package['apache2'],
+ }
}
}