summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-03-17 15:01:16 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-03-17 15:01:16 -0400
commitb53701827122f6bdb4cec66486329f403e2c7ba8 (patch)
treeae71c86b2ce6362793240c72ec09f7b501c6731c
parente709ce706d6d3c3c884471821bfdea5c98d4e6e6 (diff)
parent316d9f9fd9147085b2eb6e1a03b2958d51dab29c (diff)
downloadchef-b53701827122f6bdb4cec66486329f403e2c7ba8.tar.gz
Merge pull request #3093 from chef/ksubrama/syntax_cache
Change the default value of syntax cache to the latest value.
-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