]> 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 d34858d9ecde567451d16259606fdb68d62f28ba..768ad711b248511d457d18c81990f9e2345ed6c1 100644 (file)
@@ -30,7 +30,6 @@ package "libxml-writer-perl"
 package "libyaml-perl"
 package "libwww-perl"
 package "libjson-xs-perl"
-package "liblwp-useragent-determined-perl"
 
 directory "/srv/dns.openstreetmap.org" do
   owner "root"
@@ -96,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