[chef] Re: Re: Re: Re: Berkshelf with chef-repo: am I doing it right?


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Berkshelf with chef-repo: am I doing it right?
  • Date: Fri, 29 Nov 2013 16:49:43 +0400

29.11.2013 16:22, Cassiano Leal пишет:
" type="cite">
I have more than one Chef Server, each with their own set of data bags, roles, nodes, cookbooks, etc.

While I don’t commit my cookbooks to the chef-repo’ VCS, I still maintain a cookbooks/ directory in it (which is on .gitignore), and keep everything that’s part of that Chef infrastructure under the chef-repo root path.

Cookbooks and their dependencies are managed and uploaded using Berkshelf, so I only have the cookbooks I’m working on under chef-repo/cookbooks.

I don’t ever use "knife cookbook upload”. Instead I use “berks upload” from the cookbook’s root.

On Friday, November 29, 2013 at 09:54, Vladimir Skubriev wrote:

29.11.2013 14:47, Kevin Yank пишет:
On 29 Nov 2013, at 2:27 pm, Kevin Yank < "> > wrote:

Is this how others are using Berkshelf with a chef-repo, or have I missed something?

Answering my own question, I finally stumbled on a GitHub Issue that explains it all. If only the docs did as well!

I’ve posted my own summary for the curious:

--
Kevin Yank
Chief Technology Officer, Avalanche Technology Group
Thank you. I see you last comment and this is good explanation for problem.

I started with a my own "community" chef-server and work with it a year ago.

I have a very long time for decide: "I need it(chef-server) or not"

I could not decide using only chef-server, using chef-solo with berks or
use server with berks.

What stopped you? What do you choose?

--
Best regards,

CVision Lab System Administrator
Vladmir Skubriev

I'am very interested in "How you are resolv situations when cookbook deleted from berksfile, but but remains on the server ?

How to clean up all cookbooks on the chef-server ?

In other words: "How to maintain order on the server with cookbooks, and not only with cookbooks, but also roles, databags, etc"

May be there are a common command of a knife to clean up all server from existing data and then upload a new infrastructure by knife upload and berks upload ?

-- 
Best regards,

CVision Lab System Administrator
Vladmir Skubriev



Archive powered by MHonArc 2.6.16.

§