]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/recipes/default.rb
Convert all notify/subscribe calls to the new style syntax
[chef.git] / cookbooks / dns / recipes / default.rb
index 530fd77e40c09899c19e8d2398ee7234fc3eaee6..768ad711b248511d457d18c81990f9e2345ed6c1 100644 (file)
@@ -95,7 +95,7 @@ directory "/var/lib/dns" do
   owner "git"
   group "git"
   mode 02775
-  notifies :run, resources(:execute => "dns-update")
+  notifies :run, "execute[dns-update]"
 end
 
 cookbook_file "#{node[:dns][:repository]}/hooks/post-receive" do