X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/16f53087287184b75bf502ab7101627a094cc205..532483bdb8b85c55fb1e5fd5bc76a8aa0d6be02a:/cookbooks/geoipupdate/recipes/default.rb diff --git a/cookbooks/geoipupdate/recipes/default.rb b/cookbooks/geoipupdate/recipes/default.rb index 27d6478ae..fedae0011 100644 --- a/cookbooks/geoipupdate/recipes/default.rb +++ b/cookbooks/geoipupdate/recipes/default.rb @@ -21,19 +21,6 @@ include_recipe "apt" license_keys = data_bag_item("geoipupdate", "license-keys") -package "geoip-database" do - action :purge -end - -package "geoip-database-contrib" do - action :purge -end - -package "geoipupdate" do - action :purge - only_if { ::File.exist?("/etc/cron.d/geoipupdate") } -end - package "geoipupdate" template "/etc/GeoIP.conf" do @@ -51,10 +38,6 @@ execute "geoipupdate" do not_if { ENV.key?("TEST_KITCHEN") || node[:geoipupdate][:editions].all? { |edition| ::File.exist?("/usr/share/GeoIP/#{edition}.mmdb") } } end -systemd_service "geoipdate" do - action :delete -end - systemd_service "geoipupdate" do description "Update GeoIP databases" user "root" @@ -76,8 +59,3 @@ end service "geoipupdate.timer" do action [:enable, :start] end - -directory "/var/lib/GeoIP" do - action :delete - recursive true -end