- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Issue uploading cookbooks to new server
- Date: Mon, 15 Apr 2013 13:22:32 -0700
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.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.