我遇到的问题是 github 上存在与厨师食谱网站上的食谱同名的食谱(monit 是食谱)。我正在写一本食谱并想使用 github 版本,但是当我在 Berksfile 中包含元数据关键字时,berkshelf 从厨师网站提取版本。我试图在 Berksfile 中覆盖它。这是 mt berksfile 的内容:
site :opscode
cookbook "monit" , git: "https://github.com/phlipper/chef-monit.git"
metadata