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

Recipe Compile Error on "Installing all 3" #206

Open
pcaryk opened this issue Apr 8, 2015 · 1 comment
Open

Recipe Compile Error on "Installing all 3" #206

pcaryk opened this issue Apr 8, 2015 · 1 comment

Comments

@pcaryk
Copy link

pcaryk commented Apr 8, 2015

As of 'database >= v4.0.2', recipe 'database::mysql' has been removed from the cookbook.
Which causes errors when installing database according to instructions from readme

Installing all 3 - Database MUST come before Server

"recipe[database::mysql]",
"recipe[mysql::server]",
"recipe[zabbix]",
"recipe[zabbix::database]",
"recipe[zabbix::server]"

Result of installation

==> monitoring_server: ================================================================================
==> monitoring_server: Recipe Compile Error
==> monitoring_server: ================================================================================
==> monitoring_server:
==> monitoring_server: Chef::Exceptions::RecipeNotFound
==> monitoring_server:
==> monitoring_server: --------------------------------
==> monitoring_server: could not find recipe mysql for cookbook database

Thanks

@hpeti2
Copy link

hpeti2 commented Oct 7, 2015

Modify the metadata like this:
depends 'database', '= 2.3.1'
depends 'mysql', '= 5.6.3'

At chef client 12.4.3 (ubuntu 14.04) I have to add a package to build-essential::_debian.rb recipe:
package 'libmysqlclient-dev'
and set node['build-essential']['compile_time'] = false

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