summaryrefslogtreecommitdiff
path: root/lib/chef/knife/configure.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-11-04 14:15:19 -0800
committerTim Smith <tsmith84@gmail.com>2019-11-04 14:15:19 -0800
commit950f7f127d585eff203db8bd0b4904ca9282b6fd (patch)
tree32a58e2a98959497f26488c2f387c5800cdf54c1 /lib/chef/knife/configure.rb
parent72352921c1b03957fdf39794737f45c88a9346ba (diff)
downloadchef-950f7f127d585eff203db8bd0b4904ca9282b6fd.tar.gz
Updates for Chefstyle with Rubocop 0.75.1
This update found a few things that should have been triggering before. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/knife/configure.rb')
-rw-r--r--lib/chef/knife/configure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/configure.rb b/lib/chef/knife/configure.rb
index 739428d5e3..888b4290dd 100644
--- a/lib/chef/knife/configure.rb
+++ b/lib/chef/knife/configure.rb
@@ -120,7 +120,7 @@ class Chef
@admin_client_key = config[:admin_client_key] || ask_question("Please enter the location of the existing admin's private key: ", default: "#{Chef::Dist::SERVER_CONF_DIR}/admin.pem")
@admin_client_key = File.expand_path(@admin_client_key)
else
- @new_client_name = config[:node_name] || ask_question("Please enter an existing username or clientname for the API: ", default: Etc.getlogin)
+ @new_client_name = config[:node_name] || ask_question("Please enter an existing username or clientname for the API: ", default: Etc.getlogin)
end
@new_client_key = config[:client_key] || File.join(chef_config_path, "#{@new_client_name}.pem")