我正在用 Chef Solo 和 Berkshelf 在 CentOS 6.5 上构建一个 Vagrant VM。出于某种原因,当我尝试安装“htop”食谱时,出现此错误:
================================================================================
Recipe Compile Error
================================================================================
Chef::Exceptions::RecipeNotFound
--------------------------------
could not find recipe repoforge for cookbook yum
有没有人见过这种错误?我的 Vagrantfile 部分如下所示:
config.vm.provision :chef_solo do |chef|
chef.add_recipe 'yum'
chef.add_recipe 'yum-epel'
chef.add_recipe 'git'
chef.add_recipe 'htop'
end
如果我做同样的事情但没有'htop'配方,它工作正常。我什至尝试添加:
chef.add_recipe 'yum-repoforge'
我仍然得到同样的错误。
想法?