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:14:41 -0800
commita5395dad7f5b00771eb8cae04831b04ccec41328 (patch)
tree02e9281cf7d308624724fa1c56c4890f71467a69
parentb7f36e0937f3fe554aa750b563a00c988cf3fc83 (diff)
downloadchef-a5395dad7f5b00771eb8cae04831b04ccec41328.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 c80a3aa4ff..094cca1c08 100644
--- a/lib/chef/knife/bootstrap/templates/chef-full.erb
+++ b/lib/chef/knife/bootstrap/templates/chef-full.erb
@@ -171,7 +171,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