opscode/chef — pull request #235 by aeris (2012-02-18 15:21:35+00:00)
Title: Using KNIFE_HOME env to allow multiple knives on same machine

Hi,

Here is a patch for knife to allow multiple knives on same machine.
This is very usefull for admin managing multiple networks with one distinct chef for each.

* for multiple commands

export KNIFE_HOME=~/.chef/network1
knife client list
knife cookbook upload apache

* for single command

KNIFE_HOME=~/.chef/network2 knife client list