Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/geoip/manifests/init.pp

Issue 29511584: #2762 - Fix provisioning of geoip to filter servers (Closed) Base URL: https://hg1/infrastructure
Patch Set: Created Aug. 10, 2017, 9:57 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « hiera/roles/filterserver.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'},
« no previous file with comments | « hiera/roles/filterserver.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld