Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql dependency set as mysql >= 0.0.0, but will not work with >= 4.0 #43

Open
flatrocks opened this issue Apr 13, 2015 · 1 comment
Open

Comments

@flatrocks
Copy link

The default recipe incudes this line:

include_recipe "mysql::client" if node[:sphinx][:use_mysql]

The mysql cookbook was refactored in version 4.0 to implement server and client as resources rather than recipes, so for mysql cookbook >= 4.0, the client recipe does not exist.

A reasonable solution might be to simply remove that include_recipe statement and document that you have to have a client installed first. (I have not tested this, but our workaround is to just install the unixodbc, libpq5, and sphinxsearch packages so it seems ok.)

@IanAtkin
Copy link

I wrote a wrapper cookbook called company_sphinx, and overrode the default behavior to simply install the mysql-client package.

package "mysql-client" if node[:sphinx][:use_mysql]

@flatrocks flatrocks changed the title mysql dependency set as mysql >= 0.0.0, but will not work with >4.0 mysql dependency set as mysql >= 0.0.0, but will not work with >= 4.0 Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants