0
我有2本地食谱。一个叫做golang_app
,另一个叫test_go_web_app
。 test_go_web_app
取决于golang_app
并做include_recipe 'golang_app::default'
运行golang_app::default
其default.rb
....厨师:厨房Converge无法找到当地食谱依赖
我想补充golang_app
为test_go_web_app
的依赖......眼下,test_go_web_app
的Berksfile样子:
source 'https://supermarket.chef.io'
cookbook 'golang_app', path: '../golang_app'
metadata
但是,在运行时kitchen converge
,我得到:
Chef::Exceptions::CookbookNotFound
----------------------------------
Cookbook golang_app not found. If you're loading golang_app from another cookbook, make sure you configure the dependency in your metadata
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/test_go_web_app/recipes/default.rb:1:in `from_file'
Relevant File Content:
----------------------
/tmp/kitchen/cache/cookbooks/test_go_web_app/recipes/default.rb:
1>> include_recipe 'golang_app::default'
2:
任何人都已能够得到这个工作?