[chef] knife show organization


Chronological Thread 
  • From: Vangelis Katsikaros < >
  • To:
  • Subject: [chef] knife show organization
  • Date: Tue, 30 Sep 2014 11:46:28 +0300
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.gr; b=uFFVdRxXht7xR5M5srwaZtIc8Qz1Nz3l5EuV0+AZWB+9av9AfsCXA16KPl5PoIXPq7L6CBSGqJ7537Yw9p1fvNo6LtP3rin9jM8y/pzs0pZeFNwhm0gKGr++QfmedENNVkjktIkiKoQjY/h09FVF37A06SHs9S6m2OKCDXMo6ym5uQ00DyBoFB4M/uluihx9px9CpFrD0u+XsQVg+JicxdceC2UM1LLVtWMMmKAb6yJq0dg7IwC/IJHIGoDr9lREPZNz1O0FA6MwSAwzhp05XHYD1LWIgwivTbYCvGUo6e1z7gYliyli7kyMe8MwRUfB55Jn6tVp0kTDia4vK53MyA==;

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



Archive powered by MHonArc 2.6.16.

§