]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/recipes/default.rb
Add tests for mysql cookbook
[chef.git] / cookbooks / mysql / recipes / default.rb
index bda0065798c16761205e6824c3b0a939918f3a1c..49087e67a1b78d7a2dacfb1f1377042d4438d1b2 100644 (file)
@@ -22,7 +22,7 @@ package "mysql-client"
 
 service "mysql" do
   action [:enable, :start]
-  supports :status => true, :restart => true, :reload => true
+  supports :status => true, :restart => true
 end
 
 template "/etc/mysql/conf.d/chef.cnf" do
@@ -30,7 +30,7 @@ template "/etc/mysql/conf.d/chef.cnf" do
   owner "root"
   group "root"
   mode 0o644
-  notifies :reload, "service[mysql]"
+  notifies :restart, "service[mysql]"
 end
 
 package "libdbd-mysql-perl"