fact about vsftpd
[mirror/dsa-puppet.git] / modules / apache2 / manifests / init.pp
index 633a473..e1eaf30 100644 (file)
@@ -3,6 +3,8 @@ define enable_module($module) {
 }
 
 class apache2 {
+        include munin-node::apache
+
        package {
                apache2: ensure => installed;
                logrotate: ensure => installed;
@@ -27,6 +29,7 @@ class apache2 {
                        source  => [ "puppet:///apache2/per-host/$fqdn/etc/apache2/conf.d/local-serverinfo",
                                     "puppet:///apache2/common/etc/apache2/conf.d/local-serverinfo" ],
                        require => Package["apache2"],
+                       notify  => Exec["apache2 reload"];
                "/etc/apache2/conf.d/server-status":
                        source  => [ "puppet:///apache2/per-host/$fqdn/etc/apache2/conf.d/server-status",
                                     "puppet:///apache2/common/etc/apache2/conf.d/server-status" ],