]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geoipupdate/attributes/default.rb
Correct path to geoip directory on 22.04
[chef.git] / cookbooks / geoipupdate / attributes / default.rb
index 315dfe1463f207195966e4a3156f5bf1e856296c..90476814c2cb80206d9ba1dc2bf6161987c7dc5d 100644 (file)
@@ -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"]