[chef-dev] Admin client creation issue


Chronological Thread 
  • From: Ignasi Barrera < >
  • To:
  • Subject: [chef-dev] Admin client creation issue
  • Date: Fri, 9 Sep 2011 07:13:44 -0700 (PDT)

Hi all,

I am trying to create an admin client in a Hosted Chef environment, but it is
always created as a regular client.

I've been trying with the Server API, just copying the JSON example in the
wiki, tried also with knife, and tried to create a regular client and updating
it afterwards (using knife or the Server API), but the admin flag is never 
set.

I am trying with the following Server API request body, but it creates a
regular client: {"name": "myclient", "admin": true}
Also tried a PUT once the client is created, but the client remains the same,
and the same result if I use knife.

Is there any way I could create an administrator client using the Server API?


Thanks in advance,

Ignasi



Archive powered by MHonArc 2.6.16.

§