Configure path for GeoIP2 correctly
authorTom Hughes <tom@compton.nu>
Mon, 6 Jan 2020 17:59:41 +0000 (17:59 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 6 Jan 2020 17:59:58 +0000 (17:59 +0000)
cookbooks/web/resources/rails_port.rb

index 79a969ee9b9c80cb4bc9c7f9da20c45b5c057f48..200f3951463d9e1ba1c3c03ee13bb9bfd88c4385 100644 (file)
@@ -327,7 +327,8 @@ action :create do
     "support_email" => "support@openstreetmap.org",
     "email_return_path" => "bounces@openstreetmap.org",
     "geonames_username" => "openstreetmap",
-    "geoip_database" => "/usr/share/GeoIP/GeoIPv6.dat"
+    "geoip_database" => "/usr/share/GeoIP/GeoIPv6.dat",
+    "maxmind_database" => "/usr/share/GeoIP/GeoLite2-Country.mmdb"
   )
 
   if new_resource.memcache_servers