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


Chronological Thread 
  • From: Nic Grayson < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Re: Re: Berkshelf issue, help please
  • Date: Thu, 17 Oct 2013 16:26:31 -0500

Can you gist your berksfile and vagrantfile?


On Thu, Oct 17, 2013 at 4:23 PM, Jasna Benčić < " target="_blank"> > wrote:
chef-solo, yes I have vagrant-berkshelf plugin installed


On Thu, Oct 17, 2013 at 11:22 PM, Nic Grayson < " target="_blank"> > wrote:
Are you running chef_solo or chef_client as your provisioner in Vagrant? Do you have the vagrant-berkshelf plugin installed?


On Thu, Oct 17, 2013 at 4:08 PM, Jasna Benčić < " target="_blank"> > wrote:
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ć < " target="_blank"> > 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.

§