set apache ressource limits (RT#1481)
[mirror/dsa-puppet.git] / modules / apache2 / manifests / init.pp
index 5283098..a0af075 100644 (file)
@@ -5,6 +5,11 @@ class apache2 {
        }
 
        file {
+               "/etc/apache2/conf.d/ressource-limits":
+                       source  => [ "puppet:///apache2/per-host/$fqdn/etc/apache2/conf.d/ressource-limits",
+                                    "puppet:///apache2/common/etc/apache2/conf.d/ressource-limits" ],
+                       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" ],