projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let fano and finzi relay via dijkstra
[mirror/dsa-puppet.git]
/
modules
/
apache2
/
manifests
/
init.pp
diff --git
a/modules/apache2/manifests/init.pp
b/modules/apache2/manifests/init.pp
index
3a7efd2
..
0e74f7b
100644
(file)
--- a/
modules/apache2/manifests/init.pp
+++ b/
modules/apache2/manifests/init.pp
@@
-1,9
+1,14
@@
class apache2 {
package {
apache2: ensure => installed;
class apache2 {
package {
apache2: ensure => installed;
+ logrotate: ensure => installed;
}
file {
}
file {
+ "/etc/apache2/conf.d/ressource-limits":
+ content => template("apache2/ressource-limits.erb"),
+ require => Package["apache2"],
+ notify => Exec["apache2 reload"];
"/etc/apache2/conf.d/security":
source => [ "puppet:///apache2/per-host/$fqdn/etc/apache2/conf.d/security",
"puppet:///apache2/common/etc/apache2/conf.d/security" ],
"/etc/apache2/conf.d/security":
source => [ "puppet:///apache2/per-host/$fqdn/etc/apache2/conf.d/security",
"puppet:///apache2/common/etc/apache2/conf.d/security" ],
@@
-30,11
+35,12
@@
class apache2 {
mode => 755,
ensure => directory;
"/srv/www/default.debian.org/htdocs/index.html":
mode => 755,
ensure => directory;
"/srv/www/default.debian.org/htdocs/index.html":
- content => template("default-index.html");
+ content => template("
apache2/
default-index.html");
- "/var/log/apache2":
- mode => 755,
- ensure => directory;
+ # sometimes this is a symlink
+ #"/var/log/apache2":
+ # mode => 755,
+ # ensure => directory;
}
exec { "apache2 reload":
}
exec { "apache2 reload":