summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Harrison <mark@mivok.net>2019-01-29 15:17:48 -0500
committerTim Smith <tsmith@chef.io>2019-02-05 15:16:31 -0800
commita2709f4b3f95e85e99f7077ba172f20a0a2e6aa1 (patch)
tree28e9627c4c951f517845953f80a71c416e419219
parentd74ead9eaa5d434974348fa59f1ee718f87e1dd9 (diff)
downloadchef-a2709f4b3f95e85e99f7077ba172f20a0a2e6aa1.tar.gz
Update knife bootstrap template to use up to date omnitruck URL
omnitruck-direct.chef.io is a legacy URL that now points to the same place as omnitruck.chef.io, and was originally in place to support clients with older SSL libraries. However, the backward compatible behavior of omnitruck-direct hasn't been the case for a while now. This change just corrects the URL in the bootstrap template also. Signed-off-by: Mark Harrison <mark@mivok.net>
-rw-r--r--lib/chef/knife/bootstrap/templates/chef-full.erb2
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 145761a39e..e1ce017293 100644
--- a/lib/chef/knife/bootstrap/templates/chef-full.erb
+++ b/lib/chef/knife/bootstrap/templates/chef-full.erb
@@ -165,7 +165,7 @@ do_download() {
<% if knife_config[:bootstrap_install_command] %>
<%= knife_config[:bootstrap_install_command] %>
<% else %>
- install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://omnitruck-direct.chef.io/chef/install.sh" %>"
+ install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://omnitruck.chef.io/chef/install.sh" %>"
if test -f /usr/bin/chef-client; then
echo "-----> Existing Chef installation detected"
else