]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/default.rb
Convert all notify/subscribe calls to the new style syntax
[chef.git] / cookbooks / apt / recipes / default.rb
index 65f625a0bf2739b831be7f59292746d0a033e0da..a8e41cc0f9a7ca156ce90ebe645b0176c09ab6de 100644 (file)
@@ -34,7 +34,7 @@ template "/etc/apt/sources.list" do
   owner "root"
   group "root"
   mode 0644
-  notifies :run, resources(:execute => "apt-update")
+  notifies :run, "execute[apt-update]"
 end
 
 apt_source "opscode" do