X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..e5cfdc9914e4d57a2e7cb5cfb370eeb97683f745:/cookbooks/geodns/recipes/default.rb diff --git a/cookbooks/geodns/recipes/default.rb b/cookbooks/geodns/recipes/default.rb index 0bd74fb8e..09f28c9d9 100644 --- a/cookbooks/geodns/recipes/default.rb +++ b/cookbooks/geodns/recipes/default.rb @@ -27,7 +27,7 @@ end 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 @@ -35,7 +35,7 @@ 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 @@ -49,7 +49,7 @@ template "/etc/powerdns/zones.d/tile.conf" do owner "root" group "root" mode "0644" - notifies :reload, resources(:service => "pdns") + notifies :reload, "service[pdns]" end template "/etc/cron.weekly/geodns-update" do