From 922630d7504ed1a3fae8da5d253a917a30e72cdb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 11 Nov 2024 08:00:39 +0000 Subject: [PATCH] Add a link to GeoIP database in /etc/gdnsd/geoip --- cookbooks/geodns/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.5