I'm tring to use https://github.com/opscode-cookbooks/mysql but when I run vagrant provision
could not find recipe ruby for cookbook mysql it returns like this.
[2014-04-23T10:13:06+00:00] ERROR: Running exception handlers
[2014-04-23T10:13:06+00:00] ERROR: Exception handlers complete
[2014-04-23T10:13:06+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-04-23T10:13:06+00:00] ERROR: could not find recipe ruby for cookbook mysql
================================================================================
Recipe Compile Error
================================================================================
Chef::Exceptions::RecipeNotFound
--------------------------------
could not find recipe ruby for cookbook mysql
I found this then added mysql-chef_gem. https://github.com/opscode-cookbooks/mysql/blob/b5072e6ae3bd81b0f6ebec8749f2c2d781271ed9/COMPAT.md
knife cookbook site vendor mysql-chef_gem -o cookbook
But when I add recipe[crossplat::default]
in run_list
, and run vagrant provision
it returns
[2014-04-23T10:15:14+00:00] ERROR: Cookbook crossplat not found. If you're loading crossplat from another cookbook, make sure you configure the dependency in your metadata
How can I solve that?