Berkshelf在berks安装后无法正常工作

时间:2016-01-15 01:07:34

标签: chef berkshelf chefdk

我在我的食谱中运行Berks Install。例如,让我们说我将Jenkins克隆到我的计算机并导航到我的chef-repo中的那本食谱我发现了一个错误。在我运行它之后,我看到所有的依赖项都被下载了,但是当我将它上传到我的厨师服务器时,它说我缺少了依赖项。奇怪的是,它缺少的所有依赖项都是版本0.0.0的烹饪书。

Resolving cookbook dependencies...
Fetching 'pipeline' from source at .
Fetching 'pipeline_test' from source 
test/fixtures/cookbooks/pipeline_test 
Using apt (2.9.2)
Using build-essential (2.2.4)
Using chef-dk (3.1.0)
Using chef-zero (2.0.0) from git://github.com/sethvargo-cookbooks/chef-zero.git (at master)
Using chef_handler (1.2.0)
Using dmg (2.3.0)
Using emacs (0.10.0)
Using git (4.3.5)
Using java (1.39.0)
Using jenkins (2.4.1)
Using packagecloud (0.1.1)
Using pipeline (2.3.2) from source at .
Using pipeline_test (0.1.0) from source at    test/fixtures/cookbooks/pipeline_test
Using runit (1.7.6)
Using sudo (2.7.2)
Using windows (1.39.1)
Using yum (3.8.2)
Using yum-epel (0.6.5)

ERROR: The missing cookbook(s) are: 'yum' version '>= 0.0.0', 'git' version     '>= 0.0.0', 'jenkins' version '>= 0.0.0', 'chef-zero' version '>= 0.0.0', 'emacs' version '>= 0.0.0', 'sudo' version '>= 0.0.0', 'chef-dk' version '>= 0.0.0'

然后我运行厨师上传,我得到了这个

Uploading pipeline       [2.3.2]
ERROR: Cookbook pipeline depends on cookbooks which are not currently
ERROR: being uploaded and cannot be found on the server.

Berksfile内容

source 'https://supermarket.chef.io' 
metadata 
cookbook 'chef-zero', github: 'sethvargo-cookbooks/chef-zero' 
cookbook 'pipeline_test, path: 'test/fixtures/cookbooks/pipeline_test'

0 个答案:

没有答案