1 --- chef-11.8.0/lib/chef/config.rb 2013-12-21 17:24:18.980654855 +0200
2 +++ chef-11.8.2/lib/chef/config.rb 2013-12-21 20:00:26.000000000 +0200
7 - platform_specific_path("/var/chef")
8 + platform_specific_path("/var/lib/chef")
14 # Location of cookbooks on disk. String or array of strings.
15 # Defaults to <chef_repo_path>/cookbooks. If chef_repo_path
16 - # is not specified, this is set to [/var/chef/cookbooks, /var/chef/site-cookbooks]).
17 + # is not specified, this is set to [/var/lib/chef/cookbooks, /var/lib/chef/site-cookbooks]).
18 default(:cookbook_path) do
19 if self.configuration[:chef_repo_path]
20 derive_path_from_chef_repo_path('cookbooks')
23 "#{config_dir}local-mode-cache"
25 - platform_specific_path("/var/chef")
26 + platform_specific_path("/var/cache/chef")
31 default(:checksum_path) { path_join(cache_path, "checksums") }
33 # Where chef's cache files should be stored
34 - default(:file_cache_path) { path_join(cache_path, "cache") }
35 + default(:file_cache_path) { cache_path }
37 # Where backups of chef-managed files should go
38 - default(:file_backup_path) { path_join(cache_path, "backup") }
39 + default(:file_backup_path) { '/var/lib/chef/backup' }
41 # The chef-client (or solo) lockfile.
43 --- chef-11.8.0/lib/chef/handler/json_file.rb~ 2013-12-21 17:25:17.000000000 +0200
44 +++ chef-11.8.0/lib/chef/handler/json_file.rb 2013-12-21 17:25:58.665209433 +0200
47 def initialize(config={})
49 - @config[:path] ||= "/var/chef/reports"
50 + @config[:path] ||= "/var/lib/chef/reports"