You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
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
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
The default recipe incudes this line:
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.)The text was updated successfully, but these errors were encountered: