我正尝试用厨师独奏在我的流浪汉机器上安装mysql2 gem。我收到以下错误
ERROR: mysql2_chef_gem_installer[default] (mysql2_chef_gem::default line 20) had an error:
Chef::Exceptions::RecipeNotFound: could not find recipe client for cookbook mysql
我已经包含了cookbook mysql,并且依赖项已添加到metadata.rb
中以下是代码段
mysql2_chef_gem_installer 'default' do
type 'mysql'
action :install
end
有人可以解释一下我做错了吗?