Skip to content

Commit

Permalink
Add missing code to my.cnf template to deploy mysqld_safe options
Browse files Browse the repository at this point in the history
  • Loading branch information
JCotton1123 committed Nov 18, 2016
1 parent 6a9ee49 commit 16b7824
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/default/my.cnf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ host = <%= node['mariadb']['client']['host'] %>
[mysqld_safe]
socket = <%= node['mariadb']['mysqld_safe']['socket'] %>
nice = 0
<% if node['mariadb']['mysqld_safe'].key?('options') -%>
<% node['mariadb']['mysqld_safe']['options'].each { |key, value| -%>
<%= key %> = <%= value %>
<% } -%>
<% end -%>

[mysqld]
#
Expand Down

0 comments on commit 16b7824

Please sign in to comment.