[chef] Re: Re: mysql percona cookbook


Chronological Thread 
  • From: Silviu Dicu < >
  • To: " " < >
  • Subject: [chef] Re: Re: mysql percona cookbook
  • Date: Mon, 25 Nov 2013 20:00:56 -0500

Hi Andy,

This is what I have into my site cookbook

```
node.override['mysql']['client']['packages'] = ['percona-server-client-5.5']
include_recipe "mysql::ruby"
```

When applied gives this:

Chef::Exceptions::Package
-------------------------
package[percona-server-client-5.5] (mysql::client line 47) had an error: Chef::Exceptions::Package: No version specified, and no candidate version available for percona-server-client-5.5
  
Also I can confirm that the apt repo is not installed.

Looking into the ruby recipe I can see at 


only debian is supported ... I run ubuntu.

This seems to be a bug in the end - should I open a jira ticket ?

thanks!

-silviu

ps: i tried also the client recipe but it does fail as well and doesn't seem to have support for the percona's repo


2013/11/25 Andy Gale < " target="_blank"> >
On Mon, Nov 25, 2013 at 8:00 PM, Silviu Dicu < "> > wrote:
> Hello,
>
> What is the best cookbook to install mysql percona distribution.
> I found a few on github but not sure which one is the 'official' one.

You can use the Opscode maintained one if you change the package names
that are to be installed with the following attributes:

node['mysql']['client']['packages'] - An array of package names that
should be installed on "client" systems. This can be modified, e.g.,
to specify packages for Percona.

node['mysql']['server']['packages'] - An array of package names that
should be installed on "server" systems. This can be modified, e.g.,
to specify packages for Percona.

--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale




Archive powered by MHonArc 2.6.16.

§