Chef mysql opscode-cookbooks desn't work: “could not find recipe ruby for cookbook mysql”

一世执手 提交于 2019-12-04 05:39:47
sethvargo

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.

cookbooks/mysql/recipes/default.rb not available for mysql cookbook, you need update the run list "recipe[mysql::server]" or "recipe[mysql::client]"

I was getting a similar error for a different cookbook:

FATAL: Chef::Exceptions::RecipeNotFound: could not find recipe my_recipe for cookbook my_cookbook

This resulted when I removed my_recipe.rb from under the cookbook at some point and the client still referencing it somewhere. The simple solution was to re-add a blank recipe file and re-uploading the cookbook. This blog describes the problem in more detail and might have a better solution: https://www.rallydev.com/community/engineering/chef-dependency-solving

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!