我想使用https://github.com/opscode-cookbooks/mysql, 但是当我运行vagrant provision时
找不到食谱mysql的食谱ruby它会像这样返回.
[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
Run Code Online (Sandbox Code Playgroud)
我发现这个然后添加了mysql-chef_gem. https://github.com/opscode-cookbooks/mysql/blob/b5072e6ae3bd81b0f6ebec8749f2c2d781271ed9/COMPAT.md
knife cookbook site vendor mysql-chef_gem -o cookbook
Run Code Online (Sandbox Code Playgroud)
但是当我加入recipe[crossplat::default]时run_list,运行vagrant provision它返回
[2014-04-23T10:15:14+00:00] ERROR: Cookbook crossplat not found. If you're loading crossplat from another cookbook, make sure you configure …Run Code Online (Sandbox Code Playgroud)