chef 11.14.0.alpha.2-x86-mingw32 → 11.14.0.alpha.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/bin/chef-service-manager +1 -1
  3. data/lib/chef/application.rb +8 -2
  4. data/lib/chef/chef_fs/command_line.rb +4 -4
  5. data/lib/chef/chef_fs/file_system.rb +3 -3
  6. data/lib/chef/chef_fs/parallelizer.rb +66 -90
  7. data/lib/chef/chef_fs/parallelizer/flatten_enumerable.rb +35 -0
  8. data/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb +279 -0
  9. data/lib/chef/config.rb +36 -2
  10. data/lib/chef/cookbook/cookbook_version_loader.rb +0 -1
  11. data/lib/chef/cookbook/synchronizer.rb +64 -42
  12. data/lib/chef/cookbook_uploader.rb +4 -25
  13. data/lib/chef/cookbook_version.rb +12 -11
  14. data/lib/chef/formatters/error_inspectors/api_error_formatting.rb +18 -1
  15. data/lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb +1 -3
  16. data/lib/chef/knife/bootstrap.rb +23 -1
  17. data/lib/chef/knife/bootstrap/chef-aix.erb +58 -0
  18. data/lib/chef/knife/bootstrap/chef-full.erb +16 -13
  19. data/lib/chef/knife/core/bootstrap_context.rb +25 -1
  20. data/lib/chef/knife/list.rb +9 -8
  21. data/lib/chef/knife/serve.rb +44 -0
  22. data/lib/chef/knife/show.rb +2 -3
  23. data/lib/chef/knife/ssh.rb +1 -0
  24. data/lib/chef/mixin/create_path.rb +20 -4
  25. data/lib/chef/node.rb +19 -3
  26. data/lib/chef/platform/provider_mapping.rb +0 -1
  27. data/lib/chef/platform/query_helpers.rb +4 -3
  28. data/lib/chef/provider/env/windows.rb +10 -3
  29. data/lib/chef/provider/file.rb +1 -1
  30. data/lib/chef/provider/mount.rb +84 -42
  31. data/lib/chef/provider/package/freebsd/base.rb +92 -0
  32. data/lib/chef/provider/package/freebsd/pkg.rb +113 -0
  33. data/lib/chef/provider/package/freebsd/pkgng.rb +80 -0
  34. data/lib/chef/provider/package/freebsd/port.rb +70 -0
  35. data/lib/chef/providers.rb +3 -1
  36. data/lib/chef/resource/chef_gem.rb +2 -1
  37. data/lib/chef/resource/freebsd_package.rb +39 -3
  38. data/lib/chef/resource/lwrp_base.rb +2 -2
  39. data/lib/chef/resource/mount.rb +9 -9
  40. data/lib/chef/util/threaded_job_queue.rb +61 -0
  41. data/lib/chef/version.rb +1 -1
  42. data/lib/chef/version/platform.rb +2 -0
  43. data/lib/chef/whitelist.rb +82 -0
  44. data/lib/chef/win32/registry.rb +0 -1
  45. data/lib/chef/win32/version.rb +4 -3
  46. data/spec/functional/win32/versions_spec.rb +4 -4
  47. data/spec/integration/client/ipv6_spec.rb +1 -1
  48. data/spec/integration/knife/chef_fs_data_store_spec.rb +1 -1
  49. data/spec/integration/knife/chef_repo_path_spec.rb +4 -1
  50. data/spec/integration/knife/common_options_spec.rb +9 -9
  51. data/spec/integration/knife/cookbook_api_ipv6_spec.rb +2 -2
  52. data/spec/integration/knife/deps_spec.rb +3 -0
  53. data/spec/integration/knife/list_spec.rb +3 -0
  54. data/spec/integration/knife/raw_spec.rb +5 -2
  55. data/spec/integration/knife/redirection_spec.rb +4 -1
  56. data/spec/integration/knife/serve_spec.rb +57 -0
  57. data/spec/integration/knife/show_spec.rb +3 -0
  58. data/spec/support/pedant/run_pedant.rb +1 -0
  59. data/spec/support/platform_helpers.rb +7 -5
  60. data/spec/support/shared/context/config.rb +21 -0
  61. data/spec/support/shared/functional/file_resource.rb +52 -0
  62. data/spec/unit/chef_fs/parallelizer.rb +482 -0
  63. data/spec/unit/client_spec.rb +4 -2
  64. data/spec/unit/config_spec.rb +66 -12
  65. data/spec/unit/knife/bootstrap_spec.rb +6 -0
  66. data/spec/unit/knife/core/bootstrap_context_spec.rb +31 -1
  67. data/spec/unit/node_spec.rb +73 -3
  68. data/spec/unit/provider/mount_spec.rb +102 -79
  69. data/spec/unit/provider/package/{freebsd_spec.rb → freebsd/pkg_spec.rb} +19 -32
  70. data/spec/unit/provider/package/freebsd/pkgng_spec.rb +155 -0
  71. data/spec/unit/provider/package/freebsd/port_spec.rb +160 -0
  72. data/spec/unit/resource/chef_gem_spec.rb +5 -0
  73. data/spec/unit/resource/freebsd_package_spec.rb +63 -11
  74. data/spec/unit/resource/mount_spec.rb +11 -0
  75. data/spec/unit/role_spec.rb +5 -1
  76. data/spec/unit/run_lock_spec.rb +2 -0
  77. data/spec/unit/util/threaded_job_queue_spec.rb +51 -0
  78. data/spec/unit/version/platform_spec.rb +1 -1
  79. metadata +176 -161
  80. data/lib/chef/provider/package/freebsd.rb +0 -149
@@ -40,10 +40,15 @@ end
40
40
 
41
41
  describe Chef::Resource::ChefGem, "gem_binary" do
42
42
  before(:each) do
43
+ expect(RbConfig::CONFIG).to receive(:[]).with('bindir').and_return("/opt/chef/embedded/bin")
43
44
  @resource = Chef::Resource::ChefGem.new("foo")
44
45
  end
45
46
 
46
47
  it "should raise an exception when gem_binary is set" do
47
48
  lambda { @resource.gem_binary("/lol/cats/gem") }.should raise_error(ArgumentError)
48
49
  end
50
+
51
+ it "should set the gem_binary based on computing it from RbConfig" do
52
+ expect(@resource.gem_binary).to eql("/opt/chef/embedded/bin/gem")
53
+ end
49
54
  end
@@ -1,6 +1,8 @@
1
1
  #
2
- # Author:: AJ Christensen (<aj@opscode.com>)
2
+ # Authors:: AJ Christensen (<aj@opscode.com>)
3
+ # Richard Manyanza (<liseki@nyikacraftsmen.com>)
3
4
  # Copyright:: Copyright (c) 2008 Opscode, Inc.
5
+ # Copyright:: Copyright (c) 2014 Richard Manyanza.
4
6
  # License:: Apache License, Version 2.0
5
7
  #
6
8
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,23 +19,73 @@
17
19
  #
18
20
 
19
21
  require 'spec_helper'
22
+ require 'ostruct'
20
23
 
21
- describe Chef::Resource::FreebsdPackage, "initialize" do
22
-
24
+ describe Chef::Resource::FreebsdPackage do
23
25
  before(:each) do
24
- @resource = Chef::Resource::FreebsdPackage.new("foo")
26
+ @node = Chef::Node.new
27
+ @events = Chef::EventDispatch::Dispatcher.new
28
+ @run_context = Chef::RunContext.new(@node, {}, @events)
29
+ @resource = Chef::Resource::FreebsdPackage.new("foo", @run_context)
25
30
  end
26
31
 
27
- it "should return a Chef::Resource::FreebsdPackage" do
28
- @resource.should be_a_kind_of(Chef::Resource::FreebsdPackage)
29
- end
30
32
 
31
- it "should set the resource_name to :freebsd_package" do
32
- @resource.resource_name.should eql(:freebsd_package)
33
+ describe "Initialization" do
34
+ it "should return a Chef::Resource::FreebsdPackage" do
35
+ @resource.should be_a_kind_of(Chef::Resource::FreebsdPackage)
36
+ end
37
+
38
+ it "should set the resource_name to :freebsd_package" do
39
+ @resource.resource_name.should eql(:freebsd_package)
40
+ end
41
+
42
+ it "should not set the provider" do
43
+ @resource.provider.should be_nil
44
+ end
33
45
  end
34
46
 
35
- it "should set the provider to Chef::Provider::Package::freebsd" do
36
- @resource.provider.should eql(Chef::Provider::Package::Freebsd)
47
+
48
+ describe "Assigning provider after creation" do
49
+ describe "if ports specified as source" do
50
+ it "should be Freebsd::Port" do
51
+ @resource.source('ports')
52
+ @resource.after_created
53
+ @resource.provider.should == Chef::Provider::Package::Freebsd::Port
54
+ end
55
+ end
56
+
57
+ describe "if __Freebsd_version is greater than or equal to 1000017" do
58
+ it "should be Freebsd::Pkgng" do
59
+ [1000017, 1000018, 1000500, 1001001, 1100000].each do |__freebsd_version|
60
+ @node.normal[:os_version] = __freebsd_version
61
+ @resource.after_created
62
+ @resource.provider.should == Chef::Provider::Package::Freebsd::Pkgng
63
+ end
64
+ end
65
+ end
66
+
67
+ describe "if pkgng enabled" do
68
+ it "should be Freebsd::Pkgng" do
69
+ pkg_enabled = OpenStruct.new(:stdout => "yes\n")
70
+ @resource.stub(:shell_out!).with("make -V WITH_PKGNG", :env => nil).and_return(pkg_enabled)
71
+ @resource.after_created
72
+ @resource.provider.should == Chef::Provider::Package::Freebsd::Pkgng
73
+ end
74
+ end
75
+
76
+ describe "if __Freebsd_version is less than 1000017 and pkgng not enabled" do
77
+ it "should be Freebsd::Pkg" do
78
+ pkg_enabled = OpenStruct.new(:stdout => "\n")
79
+ @resource.stub(:shell_out!).with("make -V WITH_PKGNG", :env => nil).and_return(pkg_enabled)
80
+
81
+ [1000016, 1000000, 901503, 902506, 802511].each do |__freebsd_version|
82
+ @node[:os_version] == __freebsd_version
83
+ @node.normal[:os_version] = __freebsd_version
84
+ @resource.after_created
85
+ @resource.provider.should == Chef::Provider::Package::Freebsd::Pkg
86
+ end
87
+ end
88
+ end
37
89
  end
38
90
  end
39
91
 
@@ -82,6 +82,17 @@ describe Chef::Resource::Mount do
82
82
  @resource.options.should be_a_kind_of(Array)
83
83
  end
84
84
 
85
+ it "should allow options to be sent as a delayed evaluator" do
86
+ @resource.options Chef::DelayedEvaluator.new {["rw", "noexec"]}
87
+ @resource.options.should eql(["rw", "noexec"])
88
+ end
89
+
90
+ it "should allow options to be sent as a delayed evaluator, and convert to array" do
91
+ @resource.options Chef::DelayedEvaluator.new {"rw,noexec"}
92
+ @resource.options.should be_a_kind_of(Array)
93
+ @resource.options.should eql(["rw", "noexec"])
94
+ end
95
+
85
96
  it "should accept true for mounted" do
86
97
  @resource.mounted(true)
87
98
  @resource.mounted.should eql(true)
@@ -250,6 +250,11 @@ description "like Aliens, but furry"
250
250
  EOR
251
251
 
252
252
  describe "when loading from disk" do
253
+ before do
254
+ default_cache_path = windows? ? 'C:\chef' : '/var/chef'
255
+ Chef::Config.stub(:cache_path).and_return(default_cache_path)
256
+ end
257
+
253
258
  it "should return a Chef::Role object from JSON" do
254
259
  File.should_receive(:exists?).with(File.join(Chef::Config[:role_path], 'lolcat.json')).exactly(1).times.and_return(true)
255
260
  IO.should_receive(:read).with(File.join(Chef::Config[:role_path], 'lolcat.json')).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
@@ -325,4 +330,3 @@ EOR
325
330
 
326
331
  end
327
332
  end
328
-
@@ -20,10 +20,12 @@ require 'chef/client'
20
20
 
21
21
  describe Chef::RunLock do
22
22
 
23
+ default_cache_path = windows? ? 'C:\chef' : '/var/chef'
23
24
  default_pid_location = windows? ? 'C:\chef\cache\chef-client-running.pid' : '/var/chef/cache/chef-client-running.pid'
24
25
 
25
26
  describe "when first created" do
26
27
  it "locates the lockfile in the file cache path by default" do
28
+ Chef::Config.stub(:cache_path).and_return(default_cache_path)
27
29
  run_lock = Chef::RunLock.new(Chef::Config.lockfile)
28
30
  run_lock.runlock_file.should == default_pid_location
29
31
  end
@@ -0,0 +1,51 @@
1
+ # Copyright:: Copyright (c) 2014 Opscode, Inc.
2
+ # License:: Apache License, Version 2.0
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ require 'spec_helper'
17
+
18
+ class WorkerThreadError < StandardError
19
+ end
20
+
21
+ describe Chef::Util::ThreadedJobQueue do
22
+ let(:queue) { Chef::Util::ThreadedJobQueue.new }
23
+
24
+ it "should pass mutex to jobs with an arity of 1" do
25
+ job = double()
26
+ job.should_receive(:arity).at_least(:once).and_return(1)
27
+ job.should_receive(:call).exactly(5).times.with(an_instance_of(Mutex))
28
+
29
+ 5.times { queue << job }
30
+ queue.process
31
+ end
32
+
33
+ it "should pass nothing to jobs with an arity of 0" do
34
+ job = double()
35
+ job.should_receive(:arity).at_least(:once).and_return(0)
36
+ job.should_receive(:call).exactly(5).times.with(no_args)
37
+
38
+ 5.times { queue << job }
39
+ queue.process
40
+ end
41
+
42
+ it "should use specified number of threads" do
43
+ Thread.should_receive(:new).exactly(7).times.and_call_original
44
+ queue.process(7)
45
+ end
46
+
47
+ it "should propagate exceptions to the main thread" do
48
+ queue << lambda { raise WorkerThreadError }
49
+ lambda { queue.process }.should raise_error(WorkerThreadError)
50
+ end
51
+ end
@@ -30,7 +30,7 @@ describe Chef::Version::Platform do
30
30
  end
31
31
 
32
32
  describe "when creating valid Versions" do
33
- good_versions = %w(1 1.2 1.2.3 1000.80.50000 0.300.25 001.02.00003)
33
+ good_versions = %w(1 1.2 1.2.3 1000.80.50000 0.300.25 001.02.00003 1.2-STABLE 10.0-BETA3 9.1-RELEASE-p3)
34
34
  good_versions.each do |v|
35
35
  it "should accept '#{v}'" do
36
36
  Chef::Version::Platform.new v
metadata CHANGED
@@ -1,365 +1,365 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.14.0.alpha.2
4
+ version: 11.14.0.alpha.3
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-07 00:00:00.000000000 Z
11
+ date: 2014-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-config
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.4'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.4'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mixlib-log
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mixlib-authentication
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mixlib-shellout
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: ohai
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: '7.0'
89
+ version: 7.2.0.alpha.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: '7.0'
96
+ version: 7.2.0.alpha.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rest-client
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: 1.0.4
104
- - - <
104
+ - - "<"
105
105
  - !ruby/object:Gem::Version
106
106
  version: 1.7.0
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - '>='
111
+ - - ">="
112
112
  - !ruby/object:Gem::Version
113
113
  version: 1.0.4
114
- - - <
114
+ - - "<"
115
115
  - !ruby/object:Gem::Version
116
116
  version: 1.7.0
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: mime-types
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ~>
121
+ - - "~>"
122
122
  - !ruby/object:Gem::Version
123
123
  version: '1.16'
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ~>
128
+ - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '1.16'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: json
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - '>='
135
+ - - ">="
136
136
  - !ruby/object:Gem::Version
137
137
  version: 1.4.4
138
- - - <=
138
+ - - "<="
139
139
  - !ruby/object:Gem::Version
140
140
  version: 1.8.1
141
141
  type: :runtime
142
142
  prerelease: false
143
143
  version_requirements: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - '>='
145
+ - - ">="
146
146
  - !ruby/object:Gem::Version
147
147
  version: 1.4.4
148
- - - <=
148
+ - - "<="
149
149
  - !ruby/object:Gem::Version
150
150
  version: 1.8.1
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: yajl-ruby
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ~>
155
+ - - "~>"
156
156
  - !ruby/object:Gem::Version
157
157
  version: '1.1'
158
158
  type: :runtime
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
- - - ~>
162
+ - - "~>"
163
163
  - !ruby/object:Gem::Version
164
164
  version: '1.1'
165
165
  - !ruby/object:Gem::Dependency
166
166
  name: net-ssh
167
167
  requirement: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - ~>
169
+ - - "~>"
170
170
  - !ruby/object:Gem::Version
171
171
  version: '2.6'
172
172
  type: :runtime
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ~>
176
+ - - "~>"
177
177
  - !ruby/object:Gem::Version
178
178
  version: '2.6'
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: net-ssh-multi
181
181
  requirement: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ~>
183
+ - - "~>"
184
184
  - !ruby/object:Gem::Version
185
185
  version: '1.1'
186
186
  type: :runtime
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - ~>
190
+ - - "~>"
191
191
  - !ruby/object:Gem::Version
192
192
  version: '1.1'
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: highline
195
195
  requirement: !ruby/object:Gem::Requirement
196
196
  requirements:
197
- - - ~>
197
+ - - "~>"
198
198
  - !ruby/object:Gem::Version
199
199
  version: '1.6'
200
- - - '>='
200
+ - - ">="
201
201
  - !ruby/object:Gem::Version
202
202
  version: 1.6.9
203
203
  type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ~>
207
+ - - "~>"
208
208
  - !ruby/object:Gem::Version
209
209
  version: '1.6'
210
- - - '>='
210
+ - - ">="
211
211
  - !ruby/object:Gem::Version
212
212
  version: 1.6.9
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: erubis
215
215
  requirement: !ruby/object:Gem::Requirement
216
216
  requirements:
217
- - - ~>
217
+ - - "~>"
218
218
  - !ruby/object:Gem::Version
219
219
  version: '2.7'
220
220
  type: :runtime
221
221
  prerelease: false
222
222
  version_requirements: !ruby/object:Gem::Requirement
223
223
  requirements:
224
- - - ~>
224
+ - - "~>"
225
225
  - !ruby/object:Gem::Version
226
226
  version: '2.7'
227
227
  - !ruby/object:Gem::Dependency
228
228
  name: diff-lcs
229
229
  requirement: !ruby/object:Gem::Requirement
230
230
  requirements:
231
- - - ~>
231
+ - - "~>"
232
232
  - !ruby/object:Gem::Version
233
233
  version: '1.2'
234
- - - '>='
234
+ - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: 1.2.4
237
237
  type: :runtime
238
238
  prerelease: false
239
239
  version_requirements: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - ~>
241
+ - - "~>"
242
242
  - !ruby/object:Gem::Version
243
243
  version: '1.2'
244
- - - '>='
244
+ - - ">="
245
245
  - !ruby/object:Gem::Version
246
246
  version: 1.2.4
247
247
  - !ruby/object:Gem::Dependency
248
248
  name: chef-zero
249
249
  requirement: !ruby/object:Gem::Requirement
250
250
  requirements:
251
- - - ~>
251
+ - - "~>"
252
252
  - !ruby/object:Gem::Version
253
- version: '2.0'
254
- - - '>='
253
+ version: '2.1'
254
+ - - ">="
255
255
  - !ruby/object:Gem::Version
256
- version: 2.0.2
256
+ version: 2.1.4
257
257
  type: :runtime
258
258
  prerelease: false
259
259
  version_requirements: !ruby/object:Gem::Requirement
260
260
  requirements:
261
- - - ~>
261
+ - - "~>"
262
262
  - !ruby/object:Gem::Version
263
- version: '2.0'
264
- - - '>='
263
+ version: '2.1'
264
+ - - ">="
265
265
  - !ruby/object:Gem::Version
266
- version: 2.0.2
266
+ version: 2.1.4
267
267
  - !ruby/object:Gem::Dependency
268
268
  name: pry
269
269
  requirement: !ruby/object:Gem::Requirement
270
270
  requirements:
271
- - - ~>
271
+ - - "~>"
272
272
  - !ruby/object:Gem::Version
273
273
  version: '0.9'
274
274
  type: :runtime
275
275
  prerelease: false
276
276
  version_requirements: !ruby/object:Gem::Requirement
277
277
  requirements:
278
- - - ~>
278
+ - - "~>"
279
279
  - !ruby/object:Gem::Version
280
280
  version: '0.9'
281
281
  - !ruby/object:Gem::Dependency
282
282
  name: rake
283
283
  requirement: !ruby/object:Gem::Requirement
284
284
  requirements:
285
- - - ~>
285
+ - - "~>"
286
286
  - !ruby/object:Gem::Version
287
287
  version: 10.1.0
288
288
  type: :development
289
289
  prerelease: false
290
290
  version_requirements: !ruby/object:Gem::Requirement
291
291
  requirements:
292
- - - ~>
292
+ - - "~>"
293
293
  - !ruby/object:Gem::Version
294
294
  version: 10.1.0
295
295
  - !ruby/object:Gem::Dependency
296
296
  name: rack
297
297
  requirement: !ruby/object:Gem::Requirement
298
298
  requirements:
299
- - - '>='
299
+ - - ">="
300
300
  - !ruby/object:Gem::Version
301
301
  version: '0'
302
302
  type: :development
303
303
  prerelease: false
304
304
  version_requirements: !ruby/object:Gem::Requirement
305
305
  requirements:
306
- - - '>='
306
+ - - ">="
307
307
  - !ruby/object:Gem::Version
308
308
  version: '0'
309
309
  - !ruby/object:Gem::Dependency
310
310
  name: rspec_junit_formatter
311
311
  requirement: !ruby/object:Gem::Requirement
312
312
  requirements:
313
- - - '>='
313
+ - - ">="
314
314
  - !ruby/object:Gem::Version
315
315
  version: '0'
316
316
  type: :development
317
317
  prerelease: false
318
318
  version_requirements: !ruby/object:Gem::Requirement
319
319
  requirements:
320
- - - '>='
320
+ - - ">="
321
321
  - !ruby/object:Gem::Version
322
322
  version: '0'
323
323
  - !ruby/object:Gem::Dependency
324
324
  name: rspec-core
325
325
  requirement: !ruby/object:Gem::Requirement
326
326
  requirements:
327
- - - ~>
327
+ - - "~>"
328
328
  - !ruby/object:Gem::Version
329
329
  version: 2.14.0
330
330
  type: :development
331
331
  prerelease: false
332
332
  version_requirements: !ruby/object:Gem::Requirement
333
333
  requirements:
334
- - - ~>
334
+ - - "~>"
335
335
  - !ruby/object:Gem::Version
336
336
  version: 2.14.0
337
337
  - !ruby/object:Gem::Dependency
338
338
  name: rspec-expectations
339
339
  requirement: !ruby/object:Gem::Requirement
340
340
  requirements:
341
- - - ~>
341
+ - - "~>"
342
342
  - !ruby/object:Gem::Version
343
343
  version: 2.14.0
344
344
  type: :development
345
345
  prerelease: false
346
346
  version_requirements: !ruby/object:Gem::Requirement
347
347
  requirements:
348
- - - ~>
348
+ - - "~>"
349
349
  - !ruby/object:Gem::Version
350
350
  version: 2.14.0
351
351
  - !ruby/object:Gem::Dependency
352
352
  name: rspec-mocks
353
353
  requirement: !ruby/object:Gem::Requirement
354
354
  requirements:
355
- - - ~>
355
+ - - "~>"
356
356
  - !ruby/object:Gem::Version
357
357
  version: 2.14.0
358
358
  type: :development
359
359
  prerelease: false
360
360
  version_requirements: !ruby/object:Gem::Requirement
361
361
  requirements:
362
- - - ~>
362
+ - - "~>"
363
363
  - !ruby/object:Gem::Version
364
364
  version: 2.14.0
365
365
  - !ruby/object:Gem::Dependency
@@ -376,20 +376,6 @@ dependencies:
376
376
  - - '='
377
377
  - !ruby/object:Gem::Version
378
378
  version: 1.5.0
379
- - !ruby/object:Gem::Dependency
380
- name: rdp-ruby-wmi
381
- requirement: !ruby/object:Gem::Requirement
382
- requirements:
383
- - - '='
384
- - !ruby/object:Gem::Version
385
- version: 0.3.1
386
- type: :runtime
387
- prerelease: false
388
- version_requirements: !ruby/object:Gem::Requirement
389
- requirements:
390
- - - '='
391
- - !ruby/object:Gem::Version
392
- version: 0.3.1
393
379
  - !ruby/object:Gem::Dependency
394
380
  name: windows-api
395
381
  requirement: !ruby/object:Gem::Requirement
@@ -516,6 +502,20 @@ dependencies:
516
502
  - - '='
517
503
  - !ruby/object:Gem::Version
518
504
  version: 0.4.0
505
+ - !ruby/object:Gem::Dependency
506
+ name: wmi-lite
507
+ requirement: !ruby/object:Gem::Requirement
508
+ requirements:
509
+ - - "~>"
510
+ - !ruby/object:Gem::Version
511
+ version: '1.0'
512
+ type: :runtime
513
+ prerelease: false
514
+ version_requirements: !ruby/object:Gem::Requirement
515
+ requirements:
516
+ - - "~>"
517
+ - !ruby/object:Gem::Version
518
+ version: '1.0'
519
519
  description: A systems integration framework, built to bring the benefits of configuration
520
520
  management to your entire infrastructure.
521
521
  email: adam@opscode.com
@@ -533,10 +533,18 @@ extra_rdoc_files:
533
533
  - CONTRIBUTING.md
534
534
  - LICENSE
535
535
  files:
536
- - Rakefile
536
+ - CONTRIBUTING.md
537
537
  - LICENSE
538
538
  - README.md
539
- - CONTRIBUTING.md
539
+ - Rakefile
540
+ - bin/chef-apply
541
+ - bin/chef-client
542
+ - bin/chef-service-manager
543
+ - bin/chef-shell
544
+ - bin/chef-solo
545
+ - bin/knife
546
+ - bin/shef
547
+ - distro/README
540
548
  - distro/arch/etc/conf.d/chef-client.conf
541
549
  - distro/arch/etc/conf.d/chef-expander.conf
542
550
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -647,6 +655,7 @@ files:
647
655
  - distro/common/html/objects.inv
648
656
  - distro/common/html/search.html
649
657
  - distro/common/html/searchindex.js
658
+ - distro/common/man/man1/README.md
650
659
  - distro/common/man/man1/chef-shell.1
651
660
  - distro/common/man/man1/knife-bootstrap.1
652
661
  - distro/common/man/man1/knife-client.1
@@ -678,9 +687,9 @@ files:
678
687
  - distro/common/man/man1/knife-user.1
679
688
  - distro/common/man/man1/knife-xargs.1
680
689
  - distro/common/man/man1/knife.1
681
- - distro/common/man/man1/README.md
682
690
  - distro/common/man/man8/chef-client.8
683
691
  - distro/common/man/man8/chef-solo.8
692
+ - distro/common/markdown/README
684
693
  - distro/common/markdown/man1/chef-shell.mkd
685
694
  - distro/common/markdown/man1/knife-bootstrap.mkd
686
695
  - distro/common/markdown/man1/knife-client.mkd
@@ -705,23 +714,21 @@ files:
705
714
  - distro/common/markdown/man8/chef-server.mkd
706
715
  - distro/common/markdown/man8/chef-solo.mkd
707
716
  - distro/common/markdown/man8/chef-solr.mkd
708
- - distro/common/markdown/README
709
717
  - distro/debian/etc/default/chef-client
710
718
  - distro/debian/etc/default/chef-expander
711
719
  - distro/debian/etc/default/chef-server
712
720
  - distro/debian/etc/default/chef-server-webui
713
721
  - distro/debian/etc/default/chef-solr
714
- - distro/debian/etc/init/chef-client.conf
715
- - distro/debian/etc/init/chef-expander.conf
716
- - distro/debian/etc/init/chef-server-webui.conf
717
- - distro/debian/etc/init/chef-server.conf
718
- - distro/debian/etc/init/chef-solr.conf
719
722
  - distro/debian/etc/init.d/chef-client
720
723
  - distro/debian/etc/init.d/chef-expander
721
724
  - distro/debian/etc/init.d/chef-server
722
725
  - distro/debian/etc/init.d/chef-server-webui
723
726
  - distro/debian/etc/init.d/chef-solr
724
- - distro/README
727
+ - distro/debian/etc/init/chef-client.conf
728
+ - distro/debian/etc/init/chef-expander.conf
729
+ - distro/debian/etc/init/chef-server-webui.conf
730
+ - distro/debian/etc/init/chef-server.conf
731
+ - distro/debian/etc/init/chef-solr.conf
725
732
  - distro/redhat/etc/init.d/chef-client
726
733
  - distro/redhat/etc/init.d/chef-expander
727
734
  - distro/redhat/etc/init.d/chef-server
@@ -738,8 +745,10 @@ files:
738
745
  - distro/redhat/etc/sysconfig/chef-server-webui
739
746
  - distro/redhat/etc/sysconfig/chef-solr
740
747
  - distro/windows/service_manager.rb
741
- - lib/chef/api_client/registration.rb
748
+ - lib/chef.rb
742
749
  - lib/chef/api_client.rb
750
+ - lib/chef/api_client/registration.rb
751
+ - lib/chef/application.rb
743
752
  - lib/chef/application/agent.rb
744
753
  - lib/chef/application/apply.rb
745
754
  - lib/chef/application/client.rb
@@ -747,8 +756,8 @@ files:
747
756
  - lib/chef/application/solo.rb
748
757
  - lib/chef/application/windows_service.rb
749
758
  - lib/chef/application/windows_service_manager.rb
750
- - lib/chef/application.rb
751
759
  - lib/chef/applications.rb
760
+ - lib/chef/chef_fs.rb
752
761
  - lib/chef/chef_fs/chef_fs_data_store.rb
753
762
  - lib/chef/chef_fs/command_line.rb
754
763
  - lib/chef/chef_fs/config.rb
@@ -764,6 +773,7 @@ files:
764
773
  - lib/chef/chef_fs/data_handler/role_data_handler.rb
765
774
  - lib/chef/chef_fs/data_handler/user_data_handler.rb
766
775
  - lib/chef/chef_fs/file_pattern.rb
776
+ - lib/chef/chef_fs/file_system.rb
767
777
  - lib/chef/chef_fs/file_system/acl_dir.rb
768
778
  - lib/chef/chef_fs/file_system/acl_entry.rb
769
779
  - lib/chef/chef_fs/file_system/acls_dir.rb
@@ -803,11 +813,11 @@ files:
803
813
  - lib/chef/chef_fs/file_system/operation_not_allowed_error.rb
804
814
  - lib/chef/chef_fs/file_system/rest_list_dir.rb
805
815
  - lib/chef/chef_fs/file_system/rest_list_entry.rb
806
- - lib/chef/chef_fs/file_system.rb
807
816
  - lib/chef/chef_fs/knife.rb
808
817
  - lib/chef/chef_fs/parallelizer.rb
818
+ - lib/chef/chef_fs/parallelizer/flatten_enumerable.rb
819
+ - lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
809
820
  - lib/chef/chef_fs/path_utils.rb
810
- - lib/chef/chef_fs.rb
811
821
  - lib/chef/client.rb
812
822
  - lib/chef/config.rb
813
823
  - lib/chef/config_fetcher.rb
@@ -834,6 +844,7 @@ files:
834
844
  - lib/chef/deprecation/provider/template.rb
835
845
  - lib/chef/deprecation/warnings.rb
836
846
  - lib/chef/digester.rb
847
+ - lib/chef/dsl.rb
837
848
  - lib/chef/dsl/data_query.rb
838
849
  - lib/chef/dsl/include_attribute.rb
839
850
  - lib/chef/dsl/include_recipe.rb
@@ -841,32 +852,32 @@ files:
841
852
  - lib/chef/dsl/reboot_pending.rb
842
853
  - lib/chef/dsl/recipe.rb
843
854
  - lib/chef/dsl/registry_helper.rb
844
- - lib/chef/dsl.rb
855
+ - lib/chef/encrypted_data_bag_item.rb
845
856
  - lib/chef/encrypted_data_bag_item/decryption_failure.rb
846
857
  - lib/chef/encrypted_data_bag_item/decryptor.rb
847
858
  - lib/chef/encrypted_data_bag_item/encryptor.rb
848
859
  - lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
849
860
  - lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
850
861
  - lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
851
- - lib/chef/encrypted_data_bag_item.rb
852
862
  - lib/chef/environment.rb
853
863
  - lib/chef/event_dispatch/base.rb
854
864
  - lib/chef/event_dispatch/dispatcher.rb
855
865
  - lib/chef/event_dispatch/events_output_stream.rb
856
866
  - lib/chef/exceptions.rb
867
+ - lib/chef/file_access_control.rb
857
868
  - lib/chef/file_access_control/unix.rb
858
869
  - lib/chef/file_access_control/windows.rb
859
- - lib/chef/file_access_control.rb
860
870
  - lib/chef/file_cache.rb
861
871
  - lib/chef/file_content_management/content_base.rb
872
+ - lib/chef/file_content_management/deploy.rb
862
873
  - lib/chef/file_content_management/deploy/cp.rb
863
874
  - lib/chef/file_content_management/deploy/mv_unix.rb
864
875
  - lib/chef/file_content_management/deploy/mv_windows.rb
865
- - lib/chef/file_content_management/deploy.rb
866
876
  - lib/chef/file_content_management/tempfile.rb
867
877
  - lib/chef/formatters/base.rb
868
878
  - lib/chef/formatters/doc.rb
869
879
  - lib/chef/formatters/error_descriptor.rb
880
+ - lib/chef/formatters/error_inspectors.rb
870
881
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
871
882
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
872
883
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -875,15 +886,15 @@ files:
875
886
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
876
887
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
877
888
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
878
- - lib/chef/formatters/error_inspectors.rb
879
889
  - lib/chef/formatters/error_mapper.rb
880
890
  - lib/chef/formatters/indentable_output_stream.rb
881
891
  - lib/chef/formatters/minimal.rb
882
892
  - lib/chef/guard_interpreter/default_guard_interpreter.rb
883
893
  - lib/chef/guard_interpreter/resource_guard_interpreter.rb
894
+ - lib/chef/handler.rb
884
895
  - lib/chef/handler/error_report.rb
885
896
  - lib/chef/handler/json_file.rb
886
- - lib/chef/handler.rb
897
+ - lib/chef/http.rb
887
898
  - lib/chef/http/auth_credentials.rb
888
899
  - lib/chef/http/authenticator.rb
889
900
  - lib/chef/http/basic_client.rb
@@ -898,17 +909,18 @@ files:
898
909
  - lib/chef/http/simple.rb
899
910
  - lib/chef/http/ssl_policies.rb
900
911
  - lib/chef/http/validate_content_length.rb
901
- - lib/chef/http.rb
902
912
  - lib/chef/json_compat.rb
913
+ - lib/chef/knife.rb
914
+ - lib/chef/knife/bootstrap.rb
915
+ - lib/chef/knife/bootstrap/README.md
903
916
  - lib/chef/knife/bootstrap/archlinux-gems.erb
904
917
  - lib/chef/knife/bootstrap/centos5-gems.erb
918
+ - lib/chef/knife/bootstrap/chef-aix.erb
905
919
  - lib/chef/knife/bootstrap/chef-full.erb
906
920
  - lib/chef/knife/bootstrap/fedora13-gems.erb
907
- - lib/chef/knife/bootstrap/README.md
908
921
  - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
909
922
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
910
923
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
911
- - lib/chef/knife/bootstrap.rb
912
924
  - lib/chef/knife/client_bulk_delete.rb
913
925
  - lib/chef/knife/client_create.rb
914
926
  - lib/chef/knife/client_delete.rb
@@ -989,6 +1001,7 @@ files:
989
1001
  - lib/chef/knife/role_list.rb
990
1002
  - lib/chef/knife/role_show.rb
991
1003
  - lib/chef/knife/search.rb
1004
+ - lib/chef/knife/serve.rb
992
1005
  - lib/chef/knife/show.rb
993
1006
  - lib/chef/knife/ssh.rb
994
1007
  - lib/chef/knife/ssl_check.rb
@@ -1005,13 +1018,12 @@ files:
1005
1018
  - lib/chef/knife/user_reregister.rb
1006
1019
  - lib/chef/knife/user_show.rb
1007
1020
  - lib/chef/knife/xargs.rb
1008
- - lib/chef/knife.rb
1009
1021
  - lib/chef/log.rb
1010
1022
  - lib/chef/mash.rb
1011
1023
  - lib/chef/mixin/checksum.rb
1024
+ - lib/chef/mixin/command.rb
1012
1025
  - lib/chef/mixin/command/unix.rb
1013
1026
  - lib/chef/mixin/command/windows.rb
1014
- - lib/chef/mixin/command.rb
1015
1027
  - lib/chef/mixin/convert_to_class_name.rb
1016
1028
  - lib/chef/mixin/create_path.rb
1017
1029
  - lib/chef/mixin/deep_merge.rb
@@ -1047,35 +1059,37 @@ files:
1047
1059
  - lib/chef/monkey_patches/uri.rb
1048
1060
  - lib/chef/monologger.rb
1049
1061
  - lib/chef/nil_argument.rb
1062
+ - lib/chef/node.rb
1050
1063
  - lib/chef/node/attribute.rb
1051
1064
  - lib/chef/node/attribute_collections.rb
1052
1065
  - lib/chef/node/immutable_collections.rb
1053
- - lib/chef/node.rb
1066
+ - lib/chef/platform.rb
1054
1067
  - lib/chef/platform/provider_mapping.rb
1055
1068
  - lib/chef/platform/query_helpers.rb
1056
- - lib/chef/platform.rb
1069
+ - lib/chef/policy_builder.rb
1057
1070
  - lib/chef/policy_builder/expand_node_object.rb
1058
1071
  - lib/chef/policy_builder/policyfile.rb
1059
- - lib/chef/policy_builder.rb
1072
+ - lib/chef/provider.rb
1060
1073
  - lib/chef/provider/batch.rb
1061
1074
  - lib/chef/provider/breakpoint.rb
1062
- - lib/chef/provider/cookbook_file/content.rb
1063
1075
  - lib/chef/provider/cookbook_file.rb
1076
+ - lib/chef/provider/cookbook_file/content.rb
1077
+ - lib/chef/provider/cron.rb
1064
1078
  - lib/chef/provider/cron/aix.rb
1065
1079
  - lib/chef/provider/cron/solaris.rb
1066
1080
  - lib/chef/provider/cron/unix.rb
1067
- - lib/chef/provider/cron.rb
1081
+ - lib/chef/provider/deploy.rb
1068
1082
  - lib/chef/provider/deploy/revision.rb
1069
1083
  - lib/chef/provider/deploy/timestamped.rb
1070
- - lib/chef/provider/deploy.rb
1071
1084
  - lib/chef/provider/directory.rb
1072
- - lib/chef/provider/env/windows.rb
1073
1085
  - lib/chef/provider/env.rb
1086
+ - lib/chef/provider/env/windows.rb
1074
1087
  - lib/chef/provider/erl_call.rb
1075
1088
  - lib/chef/provider/execute.rb
1076
- - lib/chef/provider/file/content.rb
1077
1089
  - lib/chef/provider/file.rb
1090
+ - lib/chef/provider/file/content.rb
1078
1091
  - lib/chef/provider/git.rb
1092
+ - lib/chef/provider/group.rb
1079
1093
  - lib/chef/provider/group/aix.rb
1080
1094
  - lib/chef/provider/group/dscl.rb
1081
1095
  - lib/chef/provider/group/gpasswd.rb
@@ -1085,26 +1099,29 @@ files:
1085
1099
  - lib/chef/provider/group/suse.rb
1086
1100
  - lib/chef/provider/group/usermod.rb
1087
1101
  - lib/chef/provider/group/windows.rb
1088
- - lib/chef/provider/group.rb
1089
1102
  - lib/chef/provider/http_request.rb
1103
+ - lib/chef/provider/ifconfig.rb
1090
1104
  - lib/chef/provider/ifconfig/aix.rb
1091
1105
  - lib/chef/provider/ifconfig/debian.rb
1092
1106
  - lib/chef/provider/ifconfig/redhat.rb
1093
- - lib/chef/provider/ifconfig.rb
1094
1107
  - lib/chef/provider/link.rb
1095
1108
  - lib/chef/provider/log.rb
1096
1109
  - lib/chef/provider/lwrp_base.rb
1097
1110
  - lib/chef/provider/mdadm.rb
1111
+ - lib/chef/provider/mount.rb
1098
1112
  - lib/chef/provider/mount/aix.rb
1099
1113
  - lib/chef/provider/mount/mount.rb
1100
1114
  - lib/chef/provider/mount/windows.rb
1101
- - lib/chef/provider/mount.rb
1102
1115
  - lib/chef/provider/ohai.rb
1116
+ - lib/chef/provider/package.rb
1103
1117
  - lib/chef/provider/package/aix.rb
1104
1118
  - lib/chef/provider/package/apt.rb
1105
1119
  - lib/chef/provider/package/dpkg.rb
1106
1120
  - lib/chef/provider/package/easy_install.rb
1107
- - lib/chef/provider/package/freebsd.rb
1121
+ - lib/chef/provider/package/freebsd/base.rb
1122
+ - lib/chef/provider/package/freebsd/pkg.rb
1123
+ - lib/chef/provider/package/freebsd/pkgng.rb
1124
+ - lib/chef/provider/package/freebsd/port.rb
1108
1125
  - lib/chef/provider/package/ips.rb
1109
1126
  - lib/chef/provider/package/macports.rb
1110
1127
  - lib/chef/provider/package/pacman.rb
@@ -1113,26 +1130,26 @@ files:
1113
1130
  - lib/chef/provider/package/rubygems.rb
1114
1131
  - lib/chef/provider/package/smartos.rb
1115
1132
  - lib/chef/provider/package/solaris.rb
1116
- - lib/chef/provider/package/windows/msi.rb
1117
1133
  - lib/chef/provider/package/windows.rb
1134
+ - lib/chef/provider/package/windows/msi.rb
1118
1135
  - lib/chef/provider/package/yum-dump.py
1119
1136
  - lib/chef/provider/package/yum.rb
1120
1137
  - lib/chef/provider/package/zypper.rb
1121
- - lib/chef/provider/package.rb
1122
1138
  - lib/chef/provider/powershell_script.rb
1123
1139
  - lib/chef/provider/registry_key.rb
1124
1140
  - lib/chef/provider/remote_directory.rb
1141
+ - lib/chef/provider/remote_file.rb
1125
1142
  - lib/chef/provider/remote_file/cache_control_data.rb
1126
1143
  - lib/chef/provider/remote_file/content.rb
1127
1144
  - lib/chef/provider/remote_file/fetcher.rb
1128
1145
  - lib/chef/provider/remote_file/ftp.rb
1129
1146
  - lib/chef/provider/remote_file/http.rb
1130
1147
  - lib/chef/provider/remote_file/local_file.rb
1131
- - lib/chef/provider/remote_file.rb
1132
1148
  - lib/chef/provider/resource_update.rb
1133
1149
  - lib/chef/provider/route.rb
1134
1150
  - lib/chef/provider/ruby_block.rb
1135
1151
  - lib/chef/provider/script.rb
1152
+ - lib/chef/provider/service.rb
1136
1153
  - lib/chef/provider/service/arch.rb
1137
1154
  - lib/chef/provider/service/debian.rb
1138
1155
  - lib/chef/provider/service/freebsd.rb
@@ -1147,24 +1164,23 @@ files:
1147
1164
  - lib/chef/provider/service/systemd.rb
1148
1165
  - lib/chef/provider/service/upstart.rb
1149
1166
  - lib/chef/provider/service/windows.rb
1150
- - lib/chef/provider/service.rb
1151
1167
  - lib/chef/provider/subversion.rb
1152
- - lib/chef/provider/template/content.rb
1153
1168
  - lib/chef/provider/template.rb
1169
+ - lib/chef/provider/template/content.rb
1154
1170
  - lib/chef/provider/template_finder.rb
1171
+ - lib/chef/provider/user.rb
1155
1172
  - lib/chef/provider/user/dscl.rb
1156
1173
  - lib/chef/provider/user/pw.rb
1157
1174
  - lib/chef/provider/user/solaris.rb
1158
1175
  - lib/chef/provider/user/useradd.rb
1159
1176
  - lib/chef/provider/user/windows.rb
1160
- - lib/chef/provider/user.rb
1161
1177
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1162
1178
  - lib/chef/provider/windows_script.rb
1163
- - lib/chef/provider.rb
1164
1179
  - lib/chef/providers.rb
1165
1180
  - lib/chef/recipe.rb
1166
1181
  - lib/chef/request_id.rb
1167
1182
  - lib/chef/reserved_names.rb
1183
+ - lib/chef/resource.rb
1168
1184
  - lib/chef/resource/apt_package.rb
1169
1185
  - lib/chef/resource/bash.rb
1170
1186
  - lib/chef/resource/batch.rb
@@ -1225,9 +1241,8 @@ files:
1225
1241
  - lib/chef/resource/windows_package.rb
1226
1242
  - lib/chef/resource/windows_script.rb
1227
1243
  - lib/chef/resource/yum_package.rb
1228
- - lib/chef/resource.rb
1229
- - lib/chef/resource_collection/stepable_iterator.rb
1230
1244
  - lib/chef/resource_collection.rb
1245
+ - lib/chef/resource_collection/stepable_iterator.rb
1231
1246
  - lib/chef/resource_definition.rb
1232
1247
  - lib/chef/resource_definition_list.rb
1233
1248
  - lib/chef/resource_platform_map.rb
@@ -1235,12 +1250,12 @@ files:
1235
1250
  - lib/chef/resources.rb
1236
1251
  - lib/chef/rest.rb
1237
1252
  - lib/chef/role.rb
1238
- - lib/chef/run_context/cookbook_compiler.rb
1239
1253
  - lib/chef/run_context.rb
1254
+ - lib/chef/run_context/cookbook_compiler.rb
1255
+ - lib/chef/run_list.rb
1240
1256
  - lib/chef/run_list/run_list_expansion.rb
1241
1257
  - lib/chef/run_list/run_list_item.rb
1242
1258
  - lib/chef/run_list/versioned_recipe_list.rb
1243
- - lib/chef/run_list.rb
1244
1259
  - lib/chef/run_lock.rb
1245
1260
  - lib/chef/run_status.rb
1246
1261
  - lib/chef/runner.rb
@@ -1249,11 +1264,11 @@ files:
1249
1264
  - lib/chef/search/query.rb
1250
1265
  - lib/chef/server_api.rb
1251
1266
  - lib/chef/shef/ext.rb
1267
+ - lib/chef/shell.rb
1252
1268
  - lib/chef/shell/ext.rb
1253
1269
  - lib/chef/shell/model_wrapper.rb
1254
1270
  - lib/chef/shell/shell_rest.rb
1255
1271
  - lib/chef/shell/shell_session.rb
1256
- - lib/chef/shell.rb
1257
1272
  - lib/chef/shell_out.rb
1258
1273
  - lib/chef/streaming_cookbook_uploader.rb
1259
1274
  - lib/chef/tasks/chef_repo.rake
@@ -1263,16 +1278,19 @@ files:
1263
1278
  - lib/chef/util/editor.rb
1264
1279
  - lib/chef/util/file_edit.rb
1265
1280
  - lib/chef/util/selinux.rb
1281
+ - lib/chef/util/threaded_job_queue.rb
1282
+ - lib/chef/util/windows.rb
1266
1283
  - lib/chef/util/windows/net_group.rb
1267
1284
  - lib/chef/util/windows/net_use.rb
1268
1285
  - lib/chef/util/windows/net_user.rb
1269
1286
  - lib/chef/util/windows/volume.rb
1270
- - lib/chef/util/windows.rb
1271
- - lib/chef/version/platform.rb
1272
1287
  - lib/chef/version.rb
1288
+ - lib/chef/version/platform.rb
1273
1289
  - lib/chef/version_class.rb
1274
- - lib/chef/version_constraint/platform.rb
1275
1290
  - lib/chef/version_constraint.rb
1291
+ - lib/chef/version_constraint/platform.rb
1292
+ - lib/chef/whitelist.rb
1293
+ - lib/chef/win32/api.rb
1276
1294
  - lib/chef/win32/api/error.rb
1277
1295
  - lib/chef/win32/api/file.rb
1278
1296
  - lib/chef/win32/api/installer.rb
@@ -1283,26 +1301,23 @@ files:
1283
1301
  - lib/chef/win32/api/synchronization.rb
1284
1302
  - lib/chef/win32/api/system.rb
1285
1303
  - lib/chef/win32/api/unicode.rb
1286
- - lib/chef/win32/api.rb
1287
1304
  - lib/chef/win32/error.rb
1288
- - lib/chef/win32/file/info.rb
1289
1305
  - lib/chef/win32/file.rb
1306
+ - lib/chef/win32/file/info.rb
1290
1307
  - lib/chef/win32/handle.rb
1291
1308
  - lib/chef/win32/memory.rb
1292
1309
  - lib/chef/win32/mutex.rb
1293
1310
  - lib/chef/win32/process.rb
1294
1311
  - lib/chef/win32/registry.rb
1312
+ - lib/chef/win32/security.rb
1295
1313
  - lib/chef/win32/security/ace.rb
1296
1314
  - lib/chef/win32/security/acl.rb
1297
1315
  - lib/chef/win32/security/securable_object.rb
1298
1316
  - lib/chef/win32/security/security_descriptor.rb
1299
1317
  - lib/chef/win32/security/sid.rb
1300
1318
  - lib/chef/win32/security/token.rb
1301
- - lib/chef/win32/security.rb
1302
1319
  - lib/chef/win32/unicode.rb
1303
1320
  - lib/chef/win32/version.rb
1304
- - lib/chef.rb
1305
- - tasks/rspec.rb
1306
1321
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1307
1322
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1308
1323
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1332,11 +1347,11 @@ files:
1332
1347
  - spec/data/apt/var/www/apt/db/references.db
1333
1348
  - spec/data/apt/var/www/apt/db/release.caches.db
1334
1349
  - spec/data/apt/var/www/apt/db/version
1350
+ - spec/data/apt/var/www/apt/dists/sid/Release
1335
1351
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1336
1352
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1337
1353
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1338
1354
  - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1339
- - spec/data/apt/var/www/apt/dists/sid/Release
1340
1355
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1341
1356
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1342
1357
  - spec/data/bad-config.rb
@@ -1347,12 +1362,12 @@ files:
1347
1362
  - spec/data/bootstrap/secret.erb
1348
1363
  - spec/data/bootstrap/test-hints.erb
1349
1364
  - spec/data/bootstrap/test.erb
1365
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1350
1366
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1351
1367
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1352
1368
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1353
1369
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1354
1370
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1355
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1356
1371
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1357
1372
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1358
1373
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1505,16 +1520,6 @@ files:
1505
1520
  - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1506
1521
  - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1507
1522
  - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1508
- - spec/data/run_context/cookbooks/test/attributes/default.rb
1509
- - spec/data/run_context/cookbooks/test/attributes/george.rb
1510
- - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1511
- - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1512
- - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1513
- - spec/data/run_context/cookbooks/test/providers/provider.rb
1514
- - spec/data/run_context/cookbooks/test/recipes/default.rb
1515
- - spec/data/run_context/cookbooks/test/recipes/one.rb
1516
- - spec/data/run_context/cookbooks/test/recipes/two.rb
1517
- - spec/data/run_context/cookbooks/test/resources/resource.rb
1518
1523
  - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1519
1524
  - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1520
1525
  - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
@@ -1530,6 +1535,16 @@ files:
1530
1535
  - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1531
1536
  - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1532
1537
  - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1538
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1539
+ - spec/data/run_context/cookbooks/test/attributes/george.rb
1540
+ - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1541
+ - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1542
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1543
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1544
+ - spec/data/run_context/cookbooks/test/recipes/default.rb
1545
+ - spec/data/run_context/cookbooks/test/recipes/one.rb
1546
+ - spec/data/run_context/cookbooks/test/recipes/two.rb
1547
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1533
1548
  - spec/data/run_context/nodes/run_context.rb
1534
1549
  - spec/data/search_queries_to_transform.txt
1535
1550
  - spec/data/shef-config.rb
@@ -1539,8 +1554,8 @@ files:
1539
1554
  - spec/data/ssl/key.pem
1540
1555
  - spec/data/ssl/private_key.pem
1541
1556
  - spec/data/ssl/private_key_with_whitespace.pem
1542
- - spec/data/standalone_cookbook/chefignore
1543
1557
  - spec/data/standalone_cookbook/Gemfile
1558
+ - spec/data/standalone_cookbook/chefignore
1544
1559
  - spec/data/standalone_cookbook/recipes/default.rb
1545
1560
  - spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb
1546
1561
  - spec/data/templates/seattle.txt
@@ -1548,12 +1563,12 @@ files:
1548
1563
  - spec/data/trusted_certs/intermediate.pem
1549
1564
  - spec/data/trusted_certs/opscode.pem
1550
1565
  - spec/data/trusted_certs/root.pem
1566
+ - spec/functional/assets/PkgA.1.0.0.0.bff
1567
+ - spec/functional/assets/PkgA.2.0.0.0.bff
1551
1568
  - spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
1552
1569
  - spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
1553
1570
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1554
1571
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1555
- - spec/functional/assets/PkgA.1.0.0.0.bff
1556
- - spec/functional/assets/PkgA.2.0.0.0.bff
1557
1572
  - spec/functional/dsl/reboot_pending_spec.rb
1558
1573
  - spec/functional/dsl/registry_helper_spec.rb
1559
1574
  - spec/functional/file_content_management/deploy_strategies_spec.rb
@@ -1610,6 +1625,7 @@ files:
1610
1625
  - spec/integration/knife/list_spec.rb
1611
1626
  - spec/integration/knife/raw_spec.rb
1612
1627
  - spec/integration/knife/redirection_spec.rb
1628
+ - spec/integration/knife/serve_spec.rb
1613
1629
  - spec/integration/knife/show_spec.rb
1614
1630
  - spec/integration/knife/upload_spec.rb
1615
1631
  - spec/integration/recipes/lwrp_inline_resources_spec.rb
@@ -1638,6 +1654,7 @@ files:
1638
1654
  - spec/support/platforms/prof/gc.rb
1639
1655
  - spec/support/platforms/prof/win32.rb
1640
1656
  - spec/support/platforms/win32/spec_service.rb
1657
+ - spec/support/shared/context/config.rb
1641
1658
  - spec/support/shared/functional/diff_disabled.rb
1642
1659
  - spec/support/shared/functional/directory_resource.rb
1643
1660
  - spec/support/shared/functional/file_resource.rb
@@ -1671,6 +1688,7 @@ files:
1671
1688
  - spec/unit/chef_fs/file_pattern_spec.rb
1672
1689
  - spec/unit/chef_fs/file_system/operation_failed_error_spec.rb
1673
1690
  - spec/unit/chef_fs/file_system_spec.rb
1691
+ - spec/unit/chef_fs/parallelizer.rb
1674
1692
  - spec/unit/chef_spec.rb
1675
1693
  - spec/unit/client_spec.rb
1676
1694
  - spec/unit/config_fetcher_spec.rb
@@ -1857,7 +1875,9 @@ files:
1857
1875
  - spec/unit/provider/package/apt_spec.rb
1858
1876
  - spec/unit/provider/package/dpkg_spec.rb
1859
1877
  - spec/unit/provider/package/easy_install_spec.rb
1860
- - spec/unit/provider/package/freebsd_spec.rb
1878
+ - spec/unit/provider/package/freebsd/pkg_spec.rb
1879
+ - spec/unit/provider/package/freebsd/pkgng_spec.rb
1880
+ - spec/unit/provider/package/freebsd/port_spec.rb
1861
1881
  - spec/unit/provider/package/ips_spec.rb
1862
1882
  - spec/unit/provider/package/macports_spec.rb
1863
1883
  - spec/unit/provider/package/pacman_spec.rb
@@ -2000,18 +2020,13 @@ files:
2000
2020
  - spec/unit/util/editor_spec.rb
2001
2021
  - spec/unit/util/file_edit_spec.rb
2002
2022
  - spec/unit/util/selinux_spec.rb
2023
+ - spec/unit/util/threaded_job_queue_spec.rb
2003
2024
  - spec/unit/version/platform_spec.rb
2004
2025
  - spec/unit/version_class_spec.rb
2005
2026
  - spec/unit/version_constraint/platform_spec.rb
2006
2027
  - spec/unit/version_constraint_spec.rb
2007
2028
  - spec/unit/windows_service_spec.rb
2008
- - bin/chef-client
2009
- - bin/chef-solo
2010
- - bin/knife
2011
- - bin/chef-shell
2012
- - bin/shef
2013
- - bin/chef-apply
2014
- - bin/chef-service-manager
2029
+ - tasks/rspec.rb
2015
2030
  homepage: http://wiki.opscode.com/display/chef
2016
2031
  licenses: []
2017
2032
  metadata: {}
@@ -2021,17 +2036,17 @@ require_paths:
2021
2036
  - lib
2022
2037
  required_ruby_version: !ruby/object:Gem::Requirement
2023
2038
  requirements:
2024
- - - '>='
2039
+ - - ">="
2025
2040
  - !ruby/object:Gem::Version
2026
2041
  version: '0'
2027
2042
  required_rubygems_version: !ruby/object:Gem::Requirement
2028
2043
  requirements:
2029
- - - '>'
2044
+ - - ">"
2030
2045
  - !ruby/object:Gem::Version
2031
2046
  version: 1.3.1
2032
2047
  requirements: []
2033
2048
  rubyforge_project:
2034
- rubygems_version: 2.0.3
2049
+ rubygems_version: 2.2.2
2035
2050
  signing_key:
2036
2051
  specification_version: 4
2037
2052
  summary: A systems integration framework, built to bring the benefits of configuration