An example cookbook directory
sdanna@gaius ~/tmp/example > tree
.
├── cookbooks
│ └── foobar
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── attributes
│ ├── definitions
│ ├── files
│ │ └── default
│ ├── libraries
│ ├── metadata.rb
│ ├── providers
│ ├── recipes
│ │ └── default.rb
│ ├── resources
│ └── templates
│ └── default
└── solo.rb
12 directories, 5 files
sdanna@gaius ~/tmp/example > cat solo.rb
cookbook_path '/Users/sdanna/tmp/example/cookbooks'
sdanna@gaius ~/tmp/example > cat cookbooks/foobar/recipes/default.rb
#
# Cookbook Name:: foobar
# Recipe:: default
#
# Copyright 2013, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
log "I'm Running Chef"
sdanna@gaius ~/tmp/example > sudo chef-solo -c solo.rb -o 'recipe[foobar]'
Starting Chef Client, version 11.4.4
[2013-05-09T21:10:11-07:00] WARN: Run List override has been provided.
[2013-05-09T21:10:11-07:00] WARN: Original Run List: []
[2013-05-09T21:10:11-07:00] WARN: Overridden Run List: [recipe[foobar]]
Compiling Cookbooks...
Converging 1 resources
Recipe: foobar::default
* log[I'm Running Chef] action write
Chef Client finished, 1 resources updated
Hi Steve,
Could you please explain how to pull cookbooks from github using chef-solo.