From a78962b260c998271af97893d9f8db257386f728 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 17 Apr 2013 23:48:00 +0200 Subject: [PATCH] Part I of web log shipping, II --- modules/roles/manifests/static_mirror.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index c98464c37..8dd1bb850 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -2,13 +2,14 @@ class roles::static_mirror { include roles::static_source - package { 'libapache2-mod-macro': - ensure => installed, - } + package { 'libapache2-mod-macro': ensure => installed, } + package { 'libapache2-mod-geoip': ensure => installed, } + package { 'geoip-database': ensure => installed, } apache2::module { 'macro': require => Package['libapache2-mod-macro']; } apache2::module { 'rewrite': } apache2::module { 'expires': } + apache2::module { 'geoip': require => [Package['libapache2-mod-geoip'], Package['geoip-database']]; } file { '/usr/local/bin/static-mirror-run': source => 'puppet:///modules/roles/static-mirroring/static-mirror-run', -- 2.20.1