diff options
author | danielsdeleo <dan@opscode.com> | 2012-12-20 16:54:09 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2012-12-21 12:15:18 -0800 |
commit | 4638b8e0a0f7edc0a760313cb4acd2db4f11a383 (patch) | |
tree | cfb59ab942207d27026c4116a514be870473816c /lib/chef/knife/configure.rb | |
parent | 2c460c191bcdb1acfe6978a6e7e7ff8e0273f973 (diff) | |
download | chef-4638b8e0a0f7edc0a760313cb4acd2db4f11a383.tar.gz |
[CHEF-3715] rm moneta's config options
Cache for syntax check is configured by syntax_check_cache_path. For
compatibility, the old moneta-specific cache_options[:path] will be used
when syntax_check_cache_path is not set (defaults to nil)
Diffstat (limited to 'lib/chef/knife/configure.rb')
-rw-r--r-- | lib/chef/knife/configure.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/knife/configure.rb b/lib/chef/knife/configure.rb index 0be7093e29..e818239a89 100644 --- a/lib/chef/knife/configure.rb +++ b/lib/chef/knife/configure.rb @@ -81,8 +81,7 @@ client_key '#{new_client_key}' validation_client_name '#{validation_client_name}' validation_key '#{validation_key}' chef_server_url '#{chef_server}' -cache_type 'BasicFile' -cache_options( :path => '#{File.join(chef_config_path, "checksums")}' ) +syntax_check_cache_path '#{File.join(chef_config_path, "syntax_check_cache")}' EOH unless chef_repo.empty? f.puts "cookbook_path [ '#{chef_repo}/cookbooks' ]" |