-service "gdnsd" do
- action [:enable, :start]
- supports :status => true, :restart => true, :reload => true
+execute "geoipdate" do
+ command "geoipupdate"
+ user "root"
+ group "root"
+ not_if { ::File.exist?("/var/lib/GeoIP/GeoLite2-Country.mmdb") }
+end
+
+directory "/etc/gdnsd/config.d" do
+ owner "nobody"
+ group "nogroup"
+ mode 0o755