- From: Zac Stevens <
>
- To:
- Subject: [chef] Re: Re: Chef 10.12.0 Release Candidate 1
- Date: Sun, 3 Jun 2012 21:58:17 +0100
On Fri, Jun 1, 2012 at 8:10 PM, Stephen Delano
<
>
wrote:
>
= Install Instructions
>
>
Since this is a release candidate, 10.12.0.rc.1 is NOT the default version
>
installed by either `knife bootstrap` or `install.sh`. You will have to
>
configure each method accordingly:
>
>
== `knife bootstrap`
>
>
To configure `knife bootstrap` to bootstrap new nodes with an Omnibus-built
>
Chef 0.10.12.rc.1, you'll have to set the #bootstrap_version configuration
>
parameter. You can do this either via your knife.rb (with the
>
#bootstrap_version method) or via the --bootstrap-version command line
>
argument. The correct value to set is "10.12.0.rc.1".
This worked for me on Ubuntu 12.04, but failed on Centos 6.2 -
install.sh hits a 404 downloading the package:
test-centos6.nat0.cryptocracy.com Downloading Chef 10.12.0.rc.1 for el...
test-centos6.nat0.cryptocracy.com --2012-06-03 20:47:37--
http://s3.amazonaws.com/opscode-full-stack/el-6.2-x86_64/chef-full-10.12.0.rc.1.x86_64.rpm
test-centos6.nat0.cryptocracy.com Resolving s3.amazonaws.com...
test-centos6.nat0.cryptocracy.com 205.251.242.100
test-centos6.nat0.cryptocracy.com Connecting to
s3.amazonaws.com|205.251.242.100|:80...
test-centos6.nat0.cryptocracy.com connected.
test-centos6.nat0.cryptocracy.com HTTP request sent, awaiting response...
test-centos6.nat0.cryptocracy.com 404 Not Found
I'm not sure whether this is caused by a mistake in install.sh, or a
change in package naming, but the following change allowed me to
proceed with the install:
<--snip-->
--- install.sh 2012-06-03 20:55:37.419994477 +0000
+++ install.sh.fixed 2012-06-03 20:54:19.233285081 +0000
@@ -27,7 +27,7 @@
# Set the filename for an rpm, based on version and machine
rpm_filename() {
filetype="rpm"
- filename="chef-full-${version}.${machine}.rpm"
+ filename="chef-full_${version}.${machine}.rpm"
}
# Set the filename for the sh archive
<--snip-->
Zac
Archive powered by MHonArc 2.6.16.