Knife show organization


#1

Hi

I would like to ask if there is a way with knife to list the
organization it is configured to work with.

So if in a dir the .chef/knife.rb has:
chef_server_url “https://api.opscode.com/organizations/my_org_name

I would like to do something like:
$ knife organization
my_org_name

Regards
Vangelis


#2

You may be looking for this plugin:

-M
On Sep 30, 2014 4:46 AM, “Vangelis Katsikaros” ibob17@yahoo.gr wrote:

Hi

I would like to ask if there is a way with knife to list the organization
it is configured to work with.

So if in a dir the .chef/knife.rb has:
chef_server_url “https://api.opscode.com/organizations/my_org_name

I would like to do something like:
$ knife organization
my_org_name

Regards
Vangelis