X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/68e068818d559ef35bdf2a138a93596337828ef9..87567b1b6fd1876f7c0258a1d2737c84808b6916:/cookbooks/geoipupdate/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/geoipupdate/attributes/default.rb b/cookbooks/geoipupdate/attributes/default.rb index 878d4fbb5..a4b753583 100644 --- a/cookbooks/geoipupdate/attributes/default.rb +++ b/cookbooks/geoipupdate/attributes/default.rb @@ -1,3 +1,7 @@ default[:geoipupdate][:account] = "149244" default[:geoipupdate][:editions] = %w[GeoLite2-ASN GeoLite2-City GeoLite2-Country] -default[:geoipupdate][:directory] = "/usr/share/GeoIP" +default[:geoipupdate][:directory] = if platform?("debian") + "/var/lib/GeoIP" + else + "/usr/share/GeoIP" + end