X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9891b6455a40018f68fa9c548e238110dd0099c3..65e6abb07c5af84f4ab23c76321dc202d3ce5947:/cookbooks/geodns/recipes/default.rb diff --git a/cookbooks/geodns/recipes/default.rb b/cookbooks/geodns/recipes/default.rb index 0e20e2a26..9f7c100c5 100644 --- a/cookbooks/geodns/recipes/default.rb +++ b/cookbooks/geodns/recipes/default.rb @@ -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"