]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geoipupdate/templates/default/GeoIP.conf.erb
Use MaxMind PPA for geoipupdate and configure account credentials
[chef.git] / cookbooks / geoipupdate / templates / default / GeoIP.conf.erb
diff --git a/cookbooks/geoipupdate/templates/default/GeoIP.conf.erb b/cookbooks/geoipupdate/templates/default/GeoIP.conf.erb
new file mode 100644 (file)
index 0000000..9caa330
--- /dev/null
@@ -0,0 +1,5 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+AccountID <%= node[:geoipupdate][:account] %>
+LicenseKey <%= @license_keys[node[:geoipupdate][:account]] %>
+EditionIDs <%= Array(node[:geoipupdate][:editions]).join(" ") %>