summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-09-11 08:58:19 -0700
committerGitHub <noreply@github.com>2019-09-11 08:58:19 -0700
commitffda24bde97b28ce79240011b41f7dd79b785756 (patch)
tree31f5aff1fb5853af8f346b562123915f8a551976
parent4919fe85ab22e4d45c3f172a4c6cec83eee80f48 (diff)
parent952af6de51dafb40759393842ba129bc3f661049 (diff)
downloadchef-ffda24bde97b28ce79240011b41f7dd79b785756.tar.gz
Merge pull request #8876 from teknofire/will/fix_bootstrap_detection
Bootstrap: Fix typo when checking for existing chef-client
-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 f70a94ea55..9da9886cb7 100644
--- a/lib/chef/knife/bootstrap/templates/chef-full.erb
+++ b/lib/chef/knife/bootstrap/templates/chef-full.erb
@@ -173,7 +173,7 @@ do_download() {
<%= knife_config[:bootstrap_install_command] %>
<% else %>
install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://omnitruck.chef.io/chef/install.sh" %>"
- if test -f /usr/bin/<%= Chef::Dist::CLIENT %>}; then
+ if test -f /usr/bin/<%= Chef::Dist::CLIENT %>; then
echo "-----> Existing <%= Chef::Dist::PRODUCT %> installation detected"
else
echo "-----> Installing Chef Omnibus (<%= @config[:channel] %>/<%= version_to_install %>)"