![](/img/trans.png)
[英]How can I find/collect license information for our cookbook dependencies in Chef?
[英]How to set Chef Cookbook Dependencies in metadata file
我遇到的問題是,github 上存在與廚師食譜網站上的食譜同名的食譜(monit 是食譜)。 我正在寫一本食譜並想使用 github 版本,但是當我在我的 Berksfile 中包含元數據關鍵字時,berkshelf 從廚師站點中提取版本。 我試圖在 Berksfile 中覆蓋它。 這是 mt berksfile 的內容:
site :opscode
cookbook "monit" , git: "https://github.com/phlipper/chef-monit.git"
metadata
在最后添加元數據文件中的食譜,食譜名稱應在單引號中,下面是示例
取決於“測試”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.