Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using KNIFE_HOME env to allow multiple knives on same machine #235

wants to merge 3 commits into from


Copy link

@aeris aeris commented Feb 18, 2012


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

Copy link

This is shameless I know, however I've written a plugin for Knife that will allow you to do just this:

I'd be interested in your thoughts

Copy link


If you would like to have this pull request considered further for inclusion in chef.

  1. Please create an account at
  2. Please create a ticket referencing this pull request for example:
  3. Sign and submit a CLA using the instructions at

Opscode Support

Copy link
Contributor Author

aeris commented Apr 18, 2012

Account and CLA are good, i just miss the ticket

Ticket is here :

Copy link

btm commented Apr 26, 2012


@btm btm closed this Apr 26, 2012
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants