gocd / go-cookbook

Cookbook that installs and configures the open-source ThoughtWorks Studios GoCD product
http://www.gocd.org/
Apache License 2.0
45 stars 66 forks source link

Change URL of APT repo to bintray #23

Closed StephenKing closed 10 years ago

StephenKing commented 10 years ago

The old apt repo at http://download01.thoughtworks.com does not include recent versions of GO (only 14.1).

According to https://twitter.com/goforcd/status/511516616182747137 it is now at bintray.com

Fix the URI used to set up the apt_repository.

tpbrown commented 10 years ago

@StephenKing can you change that to http://download.go.cd instead of directly linking to bintray? Any chance you'd also want to make the update for the Yum repo too?

I made the change to the Ansible module ( https://github.com/Tpbrown/ansible-gocd ) recently, but haven't had a chance to update the Chef cookbook yet.

StephenKing commented 10 years ago

I guess that wouldn't work.. I'm pretty sure that chef will not follow meta redirects. You should at least set up Location: headers.

tpbrown commented 10 years ago

@StephenKing I've made the changes to not hit bintray direct, vetted it in Fedora/Centos/Ubuntu and pushed. Will close this now.

FWIW - it's not Chef that would hit the redirect, it's Apt/Yum. Appears to work OK.

Thanks