X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/1c01b94c6cf983f79e0919ea4fc7a7f103d03864..52fb5028cfb36bf1b9490aea22cde7127dbe00ce:/cookbooks/mysql/recipes/default.rb diff --git a/cookbooks/mysql/recipes/default.rb b/cookbooks/mysql/recipes/default.rb index ffe699d85..5cedc301f 100644 --- a/cookbooks/mysql/recipes/default.rb +++ b/cookbooks/mysql/recipes/default.rb @@ -25,13 +25,7 @@ service "mysql" do supports :status => true, :restart => true end -conf_file = if node[:lsb][:release].to_f >= 16.04 - "/etc/mysql/mysql.conf.d/zzz-chef.cnf" - else - "/etc/mysql/conf.d/zzz-chef.cnf" - end - -template conf_file do +template "/etc/mysql/mysql.conf.d/zzz-chef.cnf" do source "my.cnf.erb" owner "root" group "root"