[chef] Re: Berksfile question


Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] Re: Berksfile question
  • Date: Wed, 22 May 2013 18:17:40 +0200

Not sure how berkshelf handles that, but if you use 'metadata' and git / github locations in the Berksfile, it would be cool if:
- it uses 'master' if no version specified in metadata.rb
- it uses 'v1.0.0' branch if dependency to version 1.0.0 is specified
- it uses the branch name specified in Berksfile if given

Everything else would lead to duplication in Berksfile and metadata.rb

On May 22, 2013 3:32 PM, "Mark Pimentel" < "> > wrote:
If I specify a git location without a branch and the metadata.rb specifies the version required, does berkshelf pull master and check the version in that dependencies' metadata?

If I want to pull a specific tag, I understand you would have to specify branch: "1.0.0" in berks but then also in metadata?  That seems somewhat redundant.  

Am I missing something?

--
Thanks,

Mark



Archive powered by MHonArc 2.6.16.

§