我正在为我的应用程序开发一本食谱。我和厨师独唱使用流浪汉。我写了这本食谱,只有我的食谱在Berkfile中被引用,其他食谱文件在我的食谱中被引用
cookbook "myapp", "=0.1.0", path: '/Users/test/work/apps/myapp-cookbook'
但每个依赖的食谱现在似乎每次都从网上下载! 当我直接提到食谱时,事实并非如此。 知道我可能会改变什么吗?
[Berkshelf] Using postgresql (3.3.4)
[Berkshelf] Installing apt (2.3.8) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
[Berkshelf] Using build-essential (1.4.4)
[Berkshelf] Using openssl (1.1.0)
[Berkshelf] Installing python (1.4.6) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
[Berkshelf] Using yum-epel (0.3.4)
[Berkshelf] Using yum (3.1.2)
[Berkshelf] Installing mongodb (0.13.7) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
[Berkshelf] Using runit (1.5.10)
[Berkshelf] Installing nginx (2.4.2) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
[Berkshelf] Using bluepill (2.3.1)
[Berkshelf] Using rsyslog (1.12.2)
[Berkshelf] Using ohai (1.1.12)
[编辑] 当我直接将所有依赖项添加到Berksfile时似乎没有花时间来完成运行。
cookbook "apt", "=2.3.9", git: 'git@github.com:opscode-cookbooks/apt.git'
cookbook "python", "=1.4.7", git: 'git@github.com:poise/python.git'
cookbook "nginx", "=2.4.3", git: 'git@github.com:opscode-cookbooks/nginx.git'
cookbook "mongodb", "=0.15.0", git: 'git@github.com:edelight/chef-mongodb.git'
cookbook "postgresql", "=3.3.4", git: 'git@github.com:hw-cookbooks/postgresql.git'
cookbook "chef-solo-search", "=0.5.1", git: 'git@github.com:edelight/chef-solo-search.git'