X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=0e74f7b1088bd14b366b6449832a27808335cf42;hb=ab2083412262a2760e8ec30a8f4d1dbfa6def3c5;hp=29753045036581100b9c094b465967aa1e2ccd80;hpb=b1345b1525de3a2329d7961a0c816998a04c3081;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index 297530450..0e74f7b10 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -5,6 +5,10 @@ class apache2 { } 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" ], @@ -31,11 +35,12 @@ class apache2 { 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":