summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-13 21:31:37 -0700
committerTim Smith <tsmith@chef.io>2018-07-13 21:31:37 -0700
commit88dba84b3a7a6750ce4f2763695dc586f529bc95 (patch)
treeba40f5a5d6dc024c0314bf07a0483bdf056a0675
parent3725ba044bd726b9f4d707939db4547e3646e4dc (diff)
downloadchef-88dba84b3a7a6750ce4f2763695dc586f529bc95.tar.gz
Improve the error message when knife bootstrap windows isn't installedknife_cleanup
If the user really wanted to run knife boostrap windows then the "hostname" bit here doesn't make sense. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/knife/bootstrap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index 4637974492..19a7d6543e 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -405,7 +405,7 @@ class Chef
exit 1
elsif server_name == "windows"
# catches "knife bootstrap windows" when that command is not installed
- ui.warn("Hostname containing 'windows' specified. Please install 'knife-windows' if you are attempting to bootstrap a Windows node via WinRM.")
+ ui.warn("'knife bootstrap windows' specified, but the knife-windows plugin is not installed. Please install 'knife-windows' if you are attempting to bootstrap a Windows node via WinRM.")
end
end