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

Closed
wants to merge 3 commits into
base: master
from

Conversation

Projects
None yet
4 participants
@aeris
Contributor

aeris commented Feb 18, 2012

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

@proffalken

This comment has been minimized.

Show comment
Hide comment
@proffalken

proffalken Apr 3, 2012

This is shameless I know, however I've written a plugin for Knife that will allow you to do just this: https://github.com/greenandsecure/knife-block

I'd be interested in your thoughts

proffalken commented Apr 3, 2012

This is shameless I know, however I've written a plugin for Knife that will allow you to do just this: https://github.com/greenandsecure/knife-block

I'd be interested in your thoughts

@sean-horn

This comment has been minimized.

Show comment
Hide comment
@sean-horn

sean-horn Apr 18, 2012

Contributor

aeris,

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

  1. Please create an account at community.opscode.com
  2. Please create a ticket referencing this pull request for example: http://tickets.opscode.com/browse/CHEF-2994
  3. Sign and submit a CLA using the instructions at http://wiki.opscode.com/display/chef/How+to+Contribute

Thanks,
Opscode Support

Contributor

sean-horn commented Apr 18, 2012

aeris,

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

  1. Please create an account at community.opscode.com
  2. Please create a ticket referencing this pull request for example: http://tickets.opscode.com/browse/CHEF-2994
  3. Sign and submit a CLA using the instructions at http://wiki.opscode.com/display/chef/How+to+Contribute

Thanks,
Opscode Support

@aeris

This comment has been minimized.

Show comment
Hide comment
@aeris

aeris Apr 18, 2012

Contributor

Account and CLA are good, i just miss the ticket

Ticket is here : http://tickets.opscode.com/browse/CHEF-3044

Contributor

aeris commented Apr 18, 2012

Account and CLA are good, i just miss the ticket

Ticket is here : http://tickets.opscode.com/browse/CHEF-3044

@btm

This comment has been minimized.

Show comment
Hide comment
@btm

btm Apr 26, 2012

Member

Merged!

Member

btm commented Apr 26, 2012

Merged!

@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.