]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geodns/recipes/default.rb
Add a link to GeoIP database in /etc/gdnsd/geoip
[chef.git] / cookbooks / geodns / recipes / default.rb
index a50b711411b461253de52123f894e3f3784bf230..90ae979becdf1344caaf7e2845c2f62ab3a0e1d0 100644 (file)
@@ -27,6 +27,10 @@ package %w[
   gdnsd
 ]
 
   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"
 directory "/etc/gdnsd/config.d" do
   owner "nobody"
   group "nogroup"