]> git.openstreetmap.org Git - chef.git/commitdiff
Drop support for GeoIPv1 databases in rails installs
authorTom Hughes <tom@compton.nu>
Thu, 20 Aug 2020 07:32:00 +0000 (08:32 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 20 Aug 2020 07:32:00 +0000 (08:32 +0100)
cookbooks/web/resources/rails_port.rb

index 6395fb1d53b6aca8600a731a5630cd07eceda6a8..f8ee4ca2e1b09d8c5dfcddc21489129b0469de32 100644 (file)
@@ -80,7 +80,6 @@ action :create do
     ruby#{new_resource.ruby}-dev
     imagemagick
     nodejs
-    geoip-database
     tzdata
   ]
 
@@ -181,7 +180,6 @@ action :create do
 
     line.gsub!(/^( *)#geonames_username:.*$/, "\\1geonames_username: \"openstreetmap\"")
 
-    line.gsub!(/^( *)#geoip_database:.*$/, "\\1geoip_database: \"/usr/share/GeoIP/GeoIPv6.dat\"")
     line.gsub!(/^( *)#maxmind_database:.*$/, "\\1maxmind_database: \"/usr/share/GeoIP/GeoLite2-Country.mmdb\"")
 
     if new_resource.gpx_dir
@@ -327,7 +325,6 @@ action :create do
     "support_email" => "support@openstreetmap.org",
     "email_return_path" => "bounces@openstreetmap.org",
     "geonames_username" => "openstreetmap",
-    "geoip_database" => "/usr/share/GeoIP/GeoIPv6.dat",
     "maxmind_database" => "/usr/share/GeoIP/GeoLite2-Country.mmdb"
   )