Index: modules/geoip/manifests/init.pp |
=================================================================== |
--- a/modules/geoip/manifests/init.pp |
+++ b/modules/geoip/manifests/init.pp |
@@ -49,6 +49,13 @@ |
}, |
}) |
+ # Remove any manually installed geoip-database-contrib |
+ package{'geoip-database-contrib': |
+ ensure => 'purged', |
+ require => Cron['geoip'], |
+ } |
+ |
+ |
create_resources('cron', {geoip => $cron}, { |
command => $hook ? {undef => $script, default => "$script && $hook"}, |
ensure => $ensure ? {/^(absent|purged)$/ => 'absent', default => 'present'}, |