]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geoipupdate/attributes/default.rb
Delete mediawiki link refresh service and timer
[chef.git] / cookbooks / geoipupdate / attributes / default.rb
index 3165aa1153feb31f32a821ca74d81f17bd27e317..a4b75358311798c949d9fb5fab2747167e01e3b0 100644 (file)
@@ -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