]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geodns/recipes/default.rb
Add support for distributing gdnsd configuration via rsync
[chef.git] / cookbooks / geodns / recipes / default.rb
index 0e20e2a26c140c4e1804a2567de46ea2975dbf83..9f7c100c5b6b0f8eff17db8f455b6564b7442383 100644 (file)
@@ -29,6 +29,12 @@ execute "geoipdate" do
   not_if { ::File.exist?("/var/lib/GeoIP/GeoLite2-Country.mmdb") }
 end
 
+directory "/etc/gdnsd/config.d" do
+  owner "nobody"
+  group "nogroup"
+  mode 0o755
+end
+
 template "/etc/gdnsd/config" do
   source "config.erb"
   owner "root"