厨师mysql opscode-cookbooks无法正常工作:“找不到食谱mysql的食谱红宝石"; [英] Chef mysql opscode-cookbooks desn't work: "could not find recipe ruby for cookbook mysql"

查看:67
本文介绍了厨师mysql opscode-cookbooks无法正常工作:“找不到食谱mysql的食谱红宝石";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 https://github.com/opscode-cookbooks/mysql 但是当我执行无业游民的规定

找不到食谱mysql的食谱红宝石,它会像这样返回.

[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

我发现了这个,然后添加了mysql-chef_gem. https://github.com/opscode-cookbooks/mysql/blob/b5072e6ae3bd81b0f6ebec8271. /a>

knife cookbook site vendor mysql-chef_gem -o cookbook

但是当我在run_list中添加recipe[crossplat::default]并运行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 the dependency in your metadata

我该如何解决?

mysql手册只是一个很大的重构,因此不再需要该食谱.您可以在 cookbook的自述文件中看到更新的用法. >

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?

解决方案

There was just a large refactor of the mysql cookbook and that recipe is no longer necessary. You can see the updated usage in the cookbook's README.

这篇关于厨师mysql opscode-cookbooks无法正常工作:“找不到食谱mysql的食谱红宝石";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆