]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Enable a bunch of apache modules
authorPeter Palfrader <peter@palfrader.org>
Sun, 9 Dec 2012 11:05:01 +0000 (12:05 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 9 Dec 2012 11:05:01 +0000 (12:05 +0100)
modules/roles/manifests/static_mirror.pp

index bf8d445abfebe7806ccf9629d13ce0094d191a57..f2b5af6811cfb8e5518bf2ed72e55f55cfb40fdd 100644 (file)
@@ -1,4 +1,12 @@
 class roles::static_mirror inherits roles::static_source {
+    package { 'libapache2-mod-macro':
+        ensure => installed,
+    }
+
+    apache2::module { 'macro': require => Package['libapache2-mod-macro']; }
+    apache2::module { 'rewrite': }
+    apache2::module { 'expires': }
+
     file {
         '/usr/local/bin/static-mirror-run':
             source  => "puppet:///modules/roles/static-mirroring/static-mirror-run",