]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/apache2/manifests/init.pp
Oh puppet, you are so picky
[dsa-puppet.git] / modules / apache2 / manifests / init.pp
index 29753045036581100b9c094b465967aa1e2ccd80..0e74f7b1088bd14b366b6449832a27808335cf42 100644 (file)
@@ -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":