diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-13 21:31:37 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-09-25 11:46:22 -0700 |
commit | 69cfeaa3b1d965296c9b683df66e7b08d52fd523 (patch) | |
tree | f4336eeb63481e9b2f1b69d23af33b633bd9af97 | |
parent | 3e0e62bef6400ab764cfaa8a2757b90fad92a0f6 (diff) | |
download | chef-69cfeaa3b1d965296c9b683df66e7b08d52fd523.tar.gz |
Improve the error message when knife bootstrap windows isn't installedbetter_error
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.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb index f06a45452a..ae01a73c37 100644 --- a/lib/chef/knife/bootstrap.rb +++ b/lib/chef/knife/bootstrap.rb @@ -420,7 +420,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 |