[chef] Re: apt_repository oddity?


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: apt_repository oddity?
  • Date: Thu, 9 Jan 2014 13:47:25 -0800

On Thursday, January 9, 2014 at 1:38 PM, Daniel DeLeo wrote:


On Thursday, January 9, 2014 at 1:36 PM, Mark J Bradakis wrote:

The recipe has the code

apt_repository "haproxy" do
distribution node['lsb']['codename']
components ['main']
...



When chef-solo is run with that recipe, I get

Failed to fetch


Where did the 'ubuntu' component of the path go?


mjb.

HTTP redirect:


HTTP/1.1 301 Moved Permanently
Date: Thu, 09 Jan 2014 21:37:55 GMT
Server: Apache/2.2.14 (Ubuntu)
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1
 

-- 
Daniel DeLeo

Oops, responded too soon, the redirect just adds a trailing slash. #DERP. Though adding it might fix your issue.





Archive powered by MHonArc 2.6.16.

§