Skip to content

Commit

Permalink
Some fixes for myql cookbook re: ubuntu 12.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jasherai committed Aug 2, 2012
1 parent 2c3a8b8 commit cb65aa0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions mysql/recipes/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@
end
end

if platform?(%w{ redhat centos fedora suse scientific amazon })
package 'ruby-mysql'
elsif platform?(%w{ debian ubuntu })
package "libmysql-ruby"
else
gem_package "mysql" do
action :install
end
gem_package "mysql" do
action :install
end
2 changes: 1 addition & 1 deletion mysql/recipes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
action :install
end

directory "#{node['mysql']['conf_dir']}/mysql/conf.d" do
directory "#{node['mysql']['conf_dir']}/conf.d" do
owner "mysql"
group "mysql"
action :create
Expand Down
2 changes: 1 addition & 1 deletion mysql/templates/default/my.cnf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ old_passwords = <%= node['mysql']['old_passwords'] %>
# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir <%= node['mysql']['conf_dir'] %>/mysql/conf.d/
!includedir <%= node['mysql']['conf_dir'] %>/conf.d/
<% end -%>

0 comments on commit cb65aa0

Please sign in to comment.