laradji / zabbix

Zabbix chef cookbook
Apache License 2.0
91 stars 125 forks source link

Recipe Compile Error on "Installing all 3" #206

Open pcaryk opened 9 years ago

pcaryk commented 9 years ago

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 commented 8 years ago

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