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.