]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/recipes/default.rb
Convert all notify/subscribe calls to the new style syntax
[chef.git] / cookbooks / exim / recipes / default.rb
index 219629f592a997e3a14c04c863694732fb3a6b96..61731d8e463cd6fa2589abbd069a8ea31901afc7 100644 (file)
@@ -78,7 +78,7 @@ template "/etc/exim4/exim4.conf" do
   mode 0644
   variables :relay_to_domains => relay_to_domains.sort,
             :relay_from_hosts => relay_from_hosts.sort
-  notifies :restart, resources(:service => "exim4")
+  notifies :restart, "service[exim4]"
 end
 
 search(:accounts, "*:*").each do |account|