]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/definitions/apt_source.rb
Convert all notify/subscribe calls to the new style syntax
[chef.git] / cookbooks / apt / definitions / apt_source.rb
index f98b2b22c55a0188448ecc919ca1c4f1d2595e1d..382f9cce497dc2342d0f5285b0958accc9c183ad 100644 (file)
@@ -37,7 +37,7 @@ define :apt_source do
     owner "root"
     group "root"
     mode 0644
-    notifies :run, resources(:execute => "apt-update")
+    notifies :run, "execute[apt-update]"
     variables :url => params[:url]
   end
 end