29.11.2013 16:22, Cassiano Leal пишет:
I'am very interested in "How you are resolv situations when cookbook deleted from berksfile, but but remains on the server ?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 < ');" target="_blank"> > 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 YankChief Technology Officer, Avalanche Technology GroupThank 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 oruse server with berks.
What stopped you? What do you choose?
--Best regards,
CVision Lab System AdministratorVladmir Skubriev
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.