[chef] Re: Re: Issue uploading cookbooks to new server


Chronological Thread 
  • From: Michael Steeves < >
  • To:
  • Subject: [chef] Re: Re: Issue uploading cookbooks to new server
  • Date: Mon, 15 Apr 2013 19:26:04 -0400

On 4/15/13 4:22 PM, Daniel DeLeo wrote:
On Monday, April 15, 2013 at 1:15 PM, 

 wrote:
I'm trying to upload a new cookbook to a new server, and each time it
fails
with

steevmi1::nrusca-ldl30006$ knife cookbook upload test
Uploading test [0.1.0]
ERROR: Method Not Allowed
Response:
steevmi1::nrusca-ldl30006$
Your chef_server_url should be https instead of http.

Chef currently follows redirects by turning anything other than a GET
(e.g., PUT/POST) into a GET, based on a common misinterpretation of the
HTTP 1.0 RFC. We've accepted a patch to Chef that will change this
behavior so that redirects on non-GET requests will fail with a sensible
error message.

Fantastic -- switched the URL to https in my knife.rb, and was able to upload the cookbook.

Thanks again for the quick response.


-Mike
--
Michael Steeves 
( )



Archive powered by MHonArc 2.6.16.

§