diff options
author | Steven Danna <steve@opscode.com> | 2015-03-20 15:28:15 +0000 |
---|---|---|
committer | Steven Danna <steve@opscode.com> | 2015-03-20 15:28:15 +0000 |
commit | c4c7d13f7f06865c667c1aa8d0d89525f87ba50f (patch) | |
tree | 2f4080dd95596bf8b7247a80c809d369fd286836 | |
parent | 576b45348fd975f1ded026ed45c6d83967e1a85c (diff) | |
download | chef-ssd/opscode-lives-forever.tar.gz |
Use opscode.com rather than chef.io in the bootstrap script.ssd/opscode-lives-forever
chef.io is served by a CDN. The SSL certificate served will have
*.chef.io as a Subject-Alternative-Name. Unfortunately, the wget
version contained in RHEL5 (and potentially other old OS versions)
does not support SAN.
If we want to stay with chef.io, some alternative approaches include:
- Documenting that users of RHEL5 should use --bootstrap-url if their
OS image contains wget [0]
- Prefering other download methods to wget.
[0] EC2s stock RHEl5 images do not contain wget, but our bento-box
images do.
-rw-r--r-- | lib/chef/knife/bootstrap/templates/chef-full.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap/templates/chef-full.erb b/lib/chef/knife/bootstrap/templates/chef-full.erb index 17d7a9e3b5..a87ab8e544 100644 --- a/lib/chef/knife/bootstrap/templates/chef-full.erb +++ b/lib/chef/knife/bootstrap/templates/chef-full.erb @@ -22,7 +22,7 @@ exists() { <% if knife_config[:bootstrap_install_command] %> <%= knife_config[:bootstrap_install_command] %> <% else %> - install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://www.chef.io/chef/install.sh" %>" + install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://www.opscode.com/chef/install.sh" %>" if ! exists /usr/bin/chef-client; then echo "Installing Chef Client..." if exists wget; then |