[chef-dev] Re: Admin client creation issue


Chronological Thread 
  • From: Christopher Brown < >
  • To: Ignasi Barrera < >
  • Cc:
  • Subject: [chef-dev] Re: Admin client creation issue
  • Date: Fri, 9 Sep 2011 07:28:30 -0700

Ignasi,
Authorization in Hosted Chef is quite different from the open source
version.  In Hosted Chef, there are no "admin" clients, but there is a
finer grained permissions system and a difference between the default
rights of a "user" and a "client".  What exactly do you want to
accomplish?  Perhaps it's just as easily done with your user identity.
 If you want to give a particular client broader permissions, take a
look at its settings in http://manage.opscode.com.  Let me know if you
need more info, and come find us on IRC.

Cheers,
Chris

On Fri, Sep 9, 2011 at 7:13 AM, Ignasi Barrera 
< >
 wrote:
> 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
>



-- 
Christopher Brown, Chief Technical Officer, Opscode, Inc.
T: (425) 502-5522, E: 

IRC, Github: skeptomai
Twitter: @skeptomai



Archive powered by MHonArc 2.6.16.

§