]> git.pld-linux.org Git - packages/chef.git/blob - FHS.patch
updated FHS patch
[packages/chef.git] / FHS.patch
1 --- chef-11.8.0/lib/chef/config.rb~     2013-12-21 17:23:33.000000000 +0200
2 +++ chef-11.8.0/lib/chef/config.rb      2013-12-21 17:24:18.980654855 +0200
3 @@ -162,7 +162,7 @@
4            end
5          end
6        else
7 -        platform_specific_path("/var/chef")
8 +        platform_specific_path("/var/lib/chef")
9        end
10      end
11  
12 @@ -260,7 +260,7 @@
13        if local_mode
14          "#{config_dir}local-mode-cache"
15        else
16 -        platform_specific_path("/var/chef")
17 +        platform_specific_path("/var/cache/chef")
18        end
19      end
20  
21 --- chef-11.8.0/lib/chef/config.rb~     2013-12-21 17:25:17.000000000 +0200
22 +++ chef-11.8.0/lib/chef/config.rb      2013-12-21 17:25:40.044358776 +0200
23 @@ -201,7 +201,7 @@
24  
25      # Location of cookbooks on disk. String or array of strings.
26      # Defaults to <chef_repo_path>/cookbooks.  If chef_repo_path
27 -    # is not specified, this is set to [/var/chef/cookbooks, /var/chef/site-cookbooks]).
28 +    # is not specified, this is set to [/var/lib/chef/cookbooks, /var/lib/chef/site-cookbooks]).
29      default(:cookbook_path) do
30        if self.configuration[:chef_repo_path]
31          derive_path_from_chef_repo_path('cookbooks')
32 --- chef-11.8.0/lib/chef/handler/json_file.rb~  2013-12-21 17:25:17.000000000 +0200
33 +++ chef-11.8.0/lib/chef/handler/json_file.rb   2013-12-21 17:25:58.665209433 +0200
34 @@ -27,7 +27,7 @@
35  
36        def initialize(config={})
37          @config = config
38 -        @config[:path] ||= "/var/chef/reports"
39 +        @config[:path] ||= "/var/lib/chef/reports"
40          @config
41        end
42  
This page took 0.030524 seconds and 3 git commands to generate.