diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-13 21:31:37 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-13 21:31:37 -0700 |
commit | 88dba84b3a7a6750ce4f2763695dc586f529bc95 (patch) | |
tree | ba40f5a5d6dc024c0314bf07a0483bdf056a0675 /lib/chef/knife | |
parent | 3725ba044bd726b9f4d707939db4547e3646e4dc (diff) | |
download | chef-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>
Diffstat (limited to 'lib/chef/knife')
-rw-r--r-- | lib/chef/knife/bootstrap.rb | 2 |
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 |