So, if you require a package in a files block you also need to declare it
[mirror/dsa-puppet.git] / modules / apache2 / manifests / init.pp
index 2a7366d..487409f 100644 (file)
@@ -1,4 +1,8 @@
 class apache2 {
+       package {
+               apache2: ensure => installed;
+       }
+
        file {
                "/etc/apache2/conf.d/security":
                        source  => [ "puppet:///apache2/per-host/$fqdn/etc/apache2/conf.d/security",