Skip to content

Commit

Permalink
[COOK-605] install mysql-client package on ubuntu/debian
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Jun 13, 2011
1 parent 0981c2e commit 9b785c8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Installs and configures MySQL client or server.
Changes
=======

### v1.0.6:

* [COOK-605] install mysql-client package on ubuntu/debian

### v1.0.5:

* [COOK-465] allow optional remote root connections to mysql
Expand Down
2 changes: 1 addition & 1 deletion mysql/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
license "Apache 2.0"
description "Installs and configures mysql for client or server"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.5"
version "1.0.6"
recipe "mysql", "Includes the client recipe to configure a client"
recipe "mysql::client", "Installs packages required for mysql clients using run_action magic"
recipe "mysql::server", "Installs packages required for mysql servers w/o manual intervention"
Expand Down
8 changes: 8 additions & 0 deletions mysql/recipes/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@

::Chef::Resource::Package.send(:include, Opscode::Mysql::Helpers)

if platform?(%w{ debian ubuntu})

package "mysql-client" do
action :install
end

end

package "mysql-devel" do
package_name begin
if platform?(%w{ centos redhat suse fedora })
Expand Down

0 comments on commit 9b785c8

Please sign in to comment.