[chef] Re: Re: Berkshelf issue, help please


Chronological Thread 
  • From: Jasna Benčić < >
  • To:
  • Subject: [chef] Re: Re: Berkshelf issue, help please
  • Date: Thu, 17 Oct 2013 23:08:56 +0200

I did that and it didn't work :(

upload went well but got the same error after vagrant up


On Thu, Oct 17, 2013 at 10:46 PM, Phil Cryer < " target="_blank"> > wrote:
On Thu, Oct 17, 2013 at 3:40 PM, Jasna Benčić < "> > wrote:
> Ohai
>
>
> Got one problem with Berkshelf...
>
> Ok, I have cookbook X which depends on several other cookbooks. I do berks
> install under that cookbook and everything great.
>
> I do vagrant up under that cookbook and it fails at recognizing one
> dependency cookbooks which was successfully installed and placed under
> .berkshelf/cookbooks
>
> Is there something else that should be set under Vagrantfile so berkshelf
> doesn't fail during vagrant up? I mean that I don't get message: "Cannot
> find cookbook X on any default places"
>
>
> thanks

After you do `berks install` (which downloads and installs the
cookbooks in ~/.berkshelf/cookbooks) you need to do `berks upload` (or
`berks up` for short) to upload the new cookbook(s) to your chef
server. Once you do this, run `vagrant up` again, and it should find
the new/updated cookbook(s) on the server.


--
http://philcryer.com




Archive powered by MHonArc 2.6.16.

§