diff options
author | Claire McQuin <claire@getchef.com> | 2014-05-21 10:25:32 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-05-22 12:16:36 -0700 |
commit | 08f3547a39cb2390425587860208513cba9eab3f (patch) | |
tree | dd44955acded66d3646671d7d21ce9ba3b11e039 /lib/chef/config.rb | |
parent | 7d2891419ef04288ddd7bb2322df41cc9bd203dd (diff) | |
download | chef-08f3547a39cb2390425587860208513cba9eab3f.tar.gz |
change backup cache location to user's .chef
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r-- | lib/chef/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index fcab13ca5e..8c6aec0d34 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -247,7 +247,7 @@ class Chef # Otherwise, we'll create .chef.d under the user's home directory and use that as # the cache path. unless path_accessible?(primary_cache_path) || path_accessible?(primary_cache_root) - secondary_cache_path = File.join(user_home, '.chef.d') + secondary_cache_path = File.join(user_home, '.chef') secondary_cache_path.gsub!(File::SEPARATOR, platform_path_separator) # Safety, mainly for Windows... Chef::Log.warn("Unable to access cache at #{primary_cache_path}. Switching cache to #{secondary_cache_path}") secondary_cache_path |