file "/etc/powerdns/pdns.d/pdns.simplebind" do
action :delete
- notifies :reload, resources(:service => "pdns")
+ notifies :reload, "service[pdns]"
end
template "/etc/powerdns/pdns.d/geo.conf" do
owner "root"
group "root"
mode "0600"
- notifies :reload, resources(:service => "pdns")
+ notifies :reload, "service[pdns]"
end
directory "/etc/powerdns/zones.d" do
owner "root"
group "root"
mode "0644"
- notifies :reload, resources(:service => "pdns")
+ notifies :reload, "service[pdns]"
end
template "/etc/cron.weekly/geodns-update" do