I've been trying to setup a chef server and supply it with the cookbooks form the opscode github page
http://github.com/opscode/cookbooks.git
I've cloned this repo and set it in both my server config and knife config
server.rb
cookbook_path [ '/opt/chef/cookbooks', '/opt/chef/site-cookbooks' ]
knife.rb
cookbook_path [ '/opt/chef/cookbooks', '/opt/chef/site-cookbooks']
Both directories contain the cookbooks from the repo, but cookbooks are visible either in the web-ui or via knife cookbook list. I'm pretty sure I have everything configured correctly as clients can connect and all the processes seem to be running (as per the server setp doc).
Anyone got this working and can set me on the right track to getting my cookbooks listed?
rgds,
ste
The Opscode GitHub repository for cookbooks is considered in development and releases are made to the Cookbooks site, along with other members of the community. Opscode recommends using Knife's "cookbook site" sub-commands to work with this site to download cookbooks and incorporate them in the local Chef Repository.
The Chef Repository page describes how to get your local repo set up to store cookbooks and other configuration bits for your environment (knife's config, etc).
Once you have cookbooks, you upload them to the Chef Server using knife cookbook upload.
Or use the rake task in the chef-repo.
You can upload individual cookbooks, e.g., if you have made changes to just one.