[chef] Re: Re: Re: how to log-in to chef-server and create role normally?


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: how to log-in to chef-server and create role normally?
  • Date: Tue, 6 Dec 2011 08:31:33 -0800



-- 
Dan DeLeo


On Tuesday, December 6, 2011 at 3:22 AM, Ilya wrote:

> it seems that some sort of signing going on, but not substituted for the 
> required headers (see attached screenshot)

Here's an example using RestClient: 
https://github.com/opscode/chef/blob/master/chef/lib/chef/cookbook_uploader.rb#L123-139

You can also try Dan Ryan's spice: https://github.com/danryan/spice/tree/

And Chef::REST should be working, try checking Chef::REST#sign_requests? to 
see if the object thinks it should sign the requests.

HTH,
Dan




Archive powered by MHonArc 2.6.16.

§