summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-03-16 20:49:36 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-03-16 20:49:36 -0400
commit316d9f9fd9147085b2eb6e1a03b2958d51dab29c (patch)
treec5fdfcd857bfee9a7ea52d6a9cfe07c9fae92099
parentcade6e3440badf2f43b3032b802a7b60c7b087db (diff)
downloadchef-ksubrama/syntax_cache.tar.gz
Change the default value of syntax cache to the latest value.ksubrama/syntax_cache
-rw-r--r--lib/chef/config.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index 4e60ad652b..4595e9e33e 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -497,7 +497,8 @@ class Chef
default(:syntax_check_cache_path) { cache_options[:path] }
# Deprecated:
- default(:cache_options) { { :path => PathHelper.join(file_cache_path, "checksums") } }
+ # Move this to the default value of syntax_cache_path when this is removed.
+ default(:cache_options) { { :path => PathHelper.join(config_dir, "syntaxcache") } }
# Whether errors should be raised for deprecation warnings. When set to
# `false` (the default setting), a warning is emitted but code using