]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/recipes/default.rb
Remove some cleanup code
[chef.git] / cookbooks / mysql / recipes / default.rb
index 07835e729908255066921f67fa3c2a97eda69e4a..427081239daa786675442735ee1adbdc881ae64d 100644 (file)
@@ -25,11 +25,6 @@ service "mysql" do
   supports :status => true, :restart => true
 end
 
   supports :status => true, :restart => true
 end
 
-file "/etc/mysql/conf.d/chef.cnf" do
-  action :delete
-  notifies :restart, "service[mysql]"
-end
-
 conf_file = if node[:lsb][:release].to_f >= 16.04
               "/etc/mysql/mysql.conf.d/zzz-chef.cnf"
             else
 conf_file = if node[:lsb][:release].to_f >= 16.04
               "/etc/mysql/mysql.conf.d/zzz-chef.cnf"
             else