X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b8a8aabcb8c98a61b0c712268eb0fc1ef1d56af7..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/geoipupdate/attributes/default.rb?ds=inline diff --git a/cookbooks/geoipupdate/attributes/default.rb b/cookbooks/geoipupdate/attributes/default.rb index 3165aa115..a4b753583 100644 --- a/cookbooks/geoipupdate/attributes/default.rb +++ b/cookbooks/geoipupdate/attributes/default.rb @@ -1,4 +1,7 @@ default[:geoipupdate][:account] = "149244" default[:geoipupdate][:editions] = %w[GeoLite2-ASN GeoLite2-City GeoLite2-Country] - -default[:apt][:sources] |= ["maxmind"] +default[:geoipupdate][:directory] = if platform?("debian") + "/var/lib/GeoIP" + else + "/usr/share/GeoIP" + end