summaryrefslogtreecommitdiff
path: root/lib/chef/knife
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-02-13 14:49:05 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-02-13 14:49:05 -0800
commite150d7dc2c781e230d46f8a23f2c8e17e9de0042 (patch)
treee18d90ec4826dcabf9162ae60b0004d1fd4a9da2 /lib/chef/knife
parentee8e333ad7c23aa3b84d510c3804cf840620924a (diff)
downloadchef-e150d7dc2c781e230d46f8a23f2c8e17e9de0042.tar.gz
add logging of where the validation key is
i was mildly surprised that we defaulted to /etc/chef/validation.pem in knife and surprised that i had that file on my laptop...
Diffstat (limited to 'lib/chef/knife')
-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 dde1037a66..7fcdc0820f 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -319,7 +319,7 @@ class Chef
bootstrap_context.client_pem = client_builder.client_path
else
- ui.info("Doing old-style registration with a validation key...")
+ ui.info("Doing old-style registration with the validation key at #{Chef::Config[:validation_key]}...")
ui.info("Delete your validation key in order to use your user credentials instead")
ui.info("")
end