Knife plugin to allow listing of available chef servers and organisations and selection thereof
Simply install the gem:
$ gem install knife-select
Commands take the form of:
$ knife select ...
Use the built-in help to determine exact syntax
Choose the chef server to interact with, prints the export command needed to set the environment variable (as you can't change the parents environment, obviously).
Invoke as 'eval "knife select [chef_server_alias]"' to autoset the CHEF_SERVER_ALIAS
With no argument is an alias for "knife select list"
Add a new server into the list
This will ask for the url, user and key file for the chef server
Print a list of servers known to knife select
Please submit a pull request
Author: Jon-Paul Sullivan (jonpaul.sullivan@hp.com)
Copyright 2012-2013 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.