From: Tom Hughes Date: Mon, 11 Nov 2024 08:00:39 +0000 (+0000) Subject: Add a link to GeoIP database in /etc/gdnsd/geoip X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/922630d7504ed1a3fae8da5d253a917a30e72cdb Add a link to GeoIP database in /etc/gdnsd/geoip --- diff --git a/cookbooks/geodns/recipes/default.rb b/cookbooks/geodns/recipes/default.rb index a50b71141..90ae979be 100644 --- a/cookbooks/geodns/recipes/default.rb +++ b/cookbooks/geodns/recipes/default.rb @@ -27,6 +27,10 @@ package %w[ gdnsd ] +link "/etc/gdnsd/geoip/GeoLite2-Country.mmdb" do + to "#{node[:geoipupdate][:directory]}/GeoLite2-Country.mmdb" +end + directory "/etc/gdnsd/config.d" do owner "nobody" group "nogroup"