0

I was wondering if someone out there can help or advise me, on the following

I have a single Chef Git Repo, being a windows guys i'm now comfortable with things like git / chef etc, and want to start splitting my cookbooks out into single repo's etc and allowing other people / teams to manage them

Now there is loads of documentation out there, but none on how and where I install berkshelf.

Let me explain

Current Setup

/chef-repo
      /certificates 
      /cookbooks
            /IIS
            /SQL 
      /environments 

run a git and everything gets pushed up to my repo

Where i'm confused is or the lack of documentation or i'm might not be getting it.

I want each cookbook as its own repo ? but what happens to everything above that cookbook as that should existing in a repo aswell ? e.g. databags / environments / roles / certs etc .....

or is it the chef-repo, stays fairly slim and you install berkshelf in the root chef-repo folder and it manages where those cookbooks exist on your machine

e.g

/chef-repo
      /berkshelf 
      /cookbooks
            /mycookbook
            /yourcookbook 
      /environments 

actually those cookbook might exist in the following location c:\stuff\cookbooks

rather than under the cookbook locations of c:\users\myname\chef-repo

regards

j

4

0 回答 0