]> git.openstreetmap.org Git - chef.git/commitdiff
Remove some cleanup code
authorTom Hughes <tom@compton.nu>
Sun, 26 Feb 2017 10:20:12 +0000 (10:20 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 26 Feb 2017 10:21:09 +0000 (10:21 +0000)
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