[chef] Re: Re: Re: Re: Re: Re: Re: Re: berks upload error


Chronological Thread 
  • From: Michael Lindsay < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: berks upload error
  • Date: Fri, 15 May 2015 11:32:01 -0700

Hey Daniel, 

Indeed, I had a number of things going on, among them an unpinned nodejs dependency.  I'm pretty well sorted now with our existing environment and I'm going to set up another client machine from scratch to be the one I talk to my new vpn chef server (until we cut over).  Will update on success or failure.

Thanks again!
 - Michael

On Fri, May 15, 2015 at 10:27 AM, Daniel DeLeo < " target="_blank"> > wrote:


On Thursday, May 14, 2015 at 2:28 PM, Michael Lindsay wrote:

> Sorry, more spamming my own thread....
>
> When I do berks update, I've started getting this error:
> Fetching 'nodejs' from "> (mailto: "> ):redguide/nodejs.git (at master)
> Ridley::Errors::FromFileParserError Could not parse `/var/folders/w5/1k5n_41n3fg_ph5nc4k3xwn80000gp/T/d20150514-32474-17tpmlb/metadata.rb': undefined method `source_url' for #<Ridley::Chef::Cookbook::Metadata:0x007f915c907de8>

I think `source_url` is a new addition to cookbook metadata that isn’t yet supported by the version of berkshelf you have.

> My colleague, who's knife/berks configuration do not appear to be totally broken is getting this:
> Fetching 'nodejs' from "> (mailto: "> ):redguide/nodejs.git (at master)
> The cookbook downloaded for nodejs (~> 2.2.0) did not satisfy the constraint.

This happens when you have a version constraint somewhere that says the nodejs cookbook has to be version ~> 2.2.0, but you’re pulling it from github and the version there doesn’t match that constraint.

> Not clear why this problem is cropping up now.

Neither of these seem related to your bookshelf problems, FWIW.

--
Daniel DeLeo





Archive powered by MHonArc 2.6.16.

§