From: Tom Hughes Date: Mon, 4 Jul 2022 19:19:01 +0000 (+0100) Subject: Correct path to geoip directory on 22.04 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c7997c40ec75327df2fd9624908312d18850b854?ds=sidebyside Correct path to geoip directory on 22.04 --- diff --git a/cookbooks/geoipupdate/attributes/default.rb b/cookbooks/geoipupdate/attributes/default.rb index 315dfe146..90476814c 100644 --- a/cookbooks/geoipupdate/attributes/default.rb +++ b/cookbooks/geoipupdate/attributes/default.rb @@ -1,9 +1,5 @@ default[:geoipupdate][:account] = "149244" default[:geoipupdate][:editions] = %w[GeoLite2-ASN GeoLite2-City GeoLite2-Country] -default[:geoipupdate][:directory] = if node[:lsb][:release].to_f < 22.04 - "/usr/share/GeoIP" - else - "/var/lib/GeoIP" - end +default[:geoipupdate][:directory] = "/usr/share/GeoIP" default[:apt][:sources] |= ["maxmind"]