gpt4 book ai didi

mysql - Chef mysql opscode-cookbooks 不工作 : "could not find recipe ruby for cookbook mysql"

转载 作者:可可西里 更新时间:2023-11-01 06:46:42 26 4
gpt4 key购买 nike

我打算使用 https://github.com/opscode-cookbooks/mysql但是当我运行 vagrant provision 时

找不到菜谱 mysql 的 recipe 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

我发现了这个然后添加了 mysql-chef_gem。 https://github.com/opscode-cookbooks/mysql/blob/b5072e6ae3bd81b0f6ebec8749f2c2d781271ed9/COMPAT.md

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 刚刚进行了一次大型重构,不再需要该 Recipe 。您可以在 cookbook's README 中查看更新后的用法.

关于mysql - Chef mysql opscode-cookbooks 不工作 : "could not find recipe ruby for cookbook mysql",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23241531/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com