summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-06-29 01:40:40 +0600
committerGitHub <noreply@github.com>2022-06-29 01:40:40 +0600
commit4a9d1eb754c5922b70b69f90a05a1862612d52d7 (patch)
tree8af4c88bf9137886e64be454252b6d0f9918454d
parent83fdbf86661ebd63acf5b726de26fcfce7fbe97a (diff)
parent32469bcede193fb82f60069bb6d51d00fc38a739 (diff)
downloadchef-4a9d1eb754c5922b70b69f90a05a1862612d52d7.tar.gz
Merge pull request #12926 from ramereth/ramereth/knife-configure-dist
Use dist constant when invoking knife configure
-rw-r--r--knife/lib/chef/knife/configure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/knife/lib/chef/knife/configure.rb b/knife/lib/chef/knife/configure.rb
index 9c806b4af6..e49a01277c 100644
--- a/knife/lib/chef/knife/configure.rb
+++ b/knife/lib/chef/knife/configure.rb
@@ -138,7 +138,7 @@ class Chef
# @return [String] the path to the user's .chef directory
def chef_config_path
- @chef_config_path ||= ChefConfig::PathHelper.home(".chef")
+ @chef_config_path ||= ChefConfig::PathHelper.home(ChefUtils::Dist::Infra::USER_CONF_DIR)
end
# @return [String] the full path to the config file (credential file)