infochimps/cluster_chef — pull request #59 by arp (2011-10-20 13:17:14+00:00)
Title: Support gem-based installation

With those changes, it's now possible to install cluster_chef as a gem (via Bundler, for example). Instead of maintaining tons of symlinks, plugins are now found by knife automatically. cookbooks/site-cookbooks can be added to knife.rb as follows (given that Bundler is used):

```
# The full path to your cluster_chef installation
cluster_chef_path File.expand_path(`bundle show cluster_chef`.strip)

# The first things have lowest priority (so, site-cookbooks gets to win)
cookbook_path [
"#{cluster_chef_path}/cookbooks",
"#{cluster_chef_path}/site-cookbooks",
"#{current_dir}/../cookbooks",
"#{current_dir}/../site-cookbooks",
]
```