]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/memcached/recipes/default.rb
Convert all notify/subscribe calls to the new style syntax
[chef.git] / cookbooks / memcached / recipes / default.rb
index d8d1434d06cdc24fd95dcc72ade820a3cfce9162..0ed312b0d3c612e8bbf128a2bbb1bf424be265ac 100644 (file)
@@ -29,7 +29,7 @@ template "/etc/memcached.conf" do
   owner "root"
   group "root"
   mode 0644
   owner "root"
   group "root"
   mode 0644
-  notifies :restart, resources(:service => "memcached")
+  notifies :restart, "service[memcached]"
 end
 
 munin_plugin_conf "memcached_multi" do
 end
 
 munin_plugin_conf "memcached_multi" do