chef 12.1.1 → 12.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -331,8 +331,8 @@ class Chef
331
331
  runner.converge
332
332
  @events.converge_complete
333
333
  rescue Exception => e
334
- Chef::Log.error("Converge failed with error message #{e.message}")
335
334
  @events.converge_failed(e)
335
+ raise e if Chef::Config[:audit_mode] == :disabled
336
336
  converge_exception = e
337
337
  end
338
338
  end
@@ -347,6 +347,7 @@ class Chef
347
347
  begin
348
348
  save_updated_node
349
349
  rescue Exception => e
350
+ raise e if Chef::Config[:audit_mode] == :disabled
350
351
  converge_exception = e
351
352
  end
352
353
  end
@@ -67,7 +67,6 @@ class Chef
67
67
  #
68
68
 
69
69
  priority :service, Chef::Provider::Service::Macosx, os: "darwin"
70
- priority :package, Chef::Provider::Package::Homebrew, os: "darwin"
71
70
  end
72
71
 
73
72
  def priority_map
@@ -4,7 +4,6 @@ class Chef
4
4
  class Macports < Chef::Provider::Package
5
5
 
6
6
  provides :macports_package
7
- provides :package, os: "darwin"
8
7
 
9
8
  def load_current_resource
10
9
  @current_resource = Chef::Resource::Package.new(@new_resource.name)
@@ -718,7 +718,6 @@ class Chef
718
718
  one_line = true
719
719
 
720
720
  line.chomp!
721
-
722
721
  if line =~ %r{\[option (.*)\] (.*)}
723
722
  if $1 == "installonlypkgs"
724
723
  @allow_multi_install = $2.split
@@ -1068,6 +1067,8 @@ class Chef
1068
1067
  @current_resource = Chef::Resource::Package.new(@new_resource.name)
1069
1068
  @current_resource.package_name(@new_resource.package_name)
1070
1069
 
1070
+ installed_version = []
1071
+ @candidate_version = []
1071
1072
  if @new_resource.source
1072
1073
  unless ::File.exists?(@new_resource.source)
1073
1074
  raise Chef::Exceptions::Package, "Package #{@new_resource.name} not found: #{@new_resource.source}"
@@ -1081,22 +1082,24 @@ class Chef
1081
1082
  @new_resource.version($2)
1082
1083
  end
1083
1084
  end
1084
- end
1085
-
1086
- if @new_resource.version
1087
- new_resource = "#{@new_resource.package_name}-#{@new_resource.version}#{yum_arch}"
1085
+ @candidate_version << @new_resource.version
1086
+ installed_version << @yum.installed_version(@current_resource.package_name, arch)
1088
1087
  else
1089
- new_resource = "#{@new_resource.package_name}#{yum_arch}"
1090
- end
1088
+ if @new_resource.version
1089
+ new_resource = "#{@new_resource.package_name}-#{@new_resource.version}#{yum_arch}"
1090
+ else
1091
+ new_resource = "#{@new_resource.package_name}#{yum_arch}"
1092
+ end
1091
1093
 
1092
- Chef::Log.debug("#{@new_resource} checking yum info for #{new_resource}")
1094
+ Chef::Log.debug("#{@new_resource} checking yum info for #{new_resource}")
1095
+
1096
+ package_name_array.each do |pkg|
1097
+ installed_version << @yum.installed_version(pkg, arch)
1098
+ @candidate_version << @yum.candidate_version(pkg, arch)
1099
+ end
1093
1100
 
1094
- installed_version = []
1095
- @candidate_version = []
1096
- package_name_array.each do |pkg|
1097
- installed_version << @yum.installed_version(pkg, arch)
1098
- @candidate_version << @yum.candidate_version(pkg, arch)
1099
1101
  end
1102
+
1100
1103
  if installed_version.size == 1
1101
1104
  @current_resource.version(installed_version[0])
1102
1105
  @candidate_version = @candidate_version[0]
@@ -21,7 +21,6 @@ class Chef
21
21
  class MacportsPackage < Chef::Resource::Package
22
22
 
23
23
  provides :macports_package
24
- provides :package, os: "darwin"
25
24
 
26
25
  def initialize(name, run_context=nil)
27
26
  super
@@ -17,7 +17,7 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '12.1.1'
20
+ VERSION = '12.1.2'
21
21
  end
22
22
 
23
23
  #
@@ -24,6 +24,9 @@ require 'chef/run_context'
24
24
  require 'chef/rest'
25
25
  require 'rbconfig'
26
26
 
27
+ class FooError < RuntimeError
28
+ end
29
+
27
30
  describe Chef::Client do
28
31
 
29
32
  let(:hostname) { "hostname" }
@@ -428,34 +431,80 @@ describe Chef::Client do
428
431
 
429
432
  describe "when the audit phase fails" do
430
433
  context "with an exception" do
431
- include_context "a client run" do
432
- let(:e) { Exception.new }
433
- def stub_for_audit
434
- expect(Chef::Audit::Runner).to receive(:new).and_return(audit_runner)
435
- expect(audit_runner).to receive(:run).and_raise(e)
436
- expect(Chef::Application).to receive(:debug_stacktrace).with an_instance_of(Chef::Exceptions::RunFailedWrappingError)
434
+ context "when audit mode is enabled" do
435
+ include_context "a client run" do
436
+ let(:e) { Exception.new }
437
+ def stub_for_audit
438
+ expect(Chef::Audit::Runner).to receive(:new).and_return(audit_runner)
439
+ expect(audit_runner).to receive(:run).and_raise(e)
440
+ expect(Chef::Application).to receive(:debug_stacktrace).with an_instance_of(Chef::Exceptions::RunFailedWrappingError)
441
+ end
442
+
443
+ def stub_for_run
444
+ expect_any_instance_of(Chef::RunLock).to receive(:acquire)
445
+ expect_any_instance_of(Chef::RunLock).to receive(:save_pid)
446
+ expect_any_instance_of(Chef::RunLock).to receive(:release)
447
+
448
+ # Post conditions: check that node has been filled in correctly
449
+ expect(client).to receive(:run_started)
450
+ expect(client).to receive(:run_failed)
451
+
452
+ expect_any_instance_of(Chef::ResourceReporter).to receive(:run_failed)
453
+ expect_any_instance_of(Chef::Audit::AuditReporter).to receive(:run_failed)
454
+ end
437
455
  end
438
456
 
439
- def stub_for_run
440
- expect_any_instance_of(Chef::RunLock).to receive(:acquire)
441
- expect_any_instance_of(Chef::RunLock).to receive(:save_pid)
442
- expect_any_instance_of(Chef::RunLock).to receive(:release)
443
-
444
- # Post conditions: check that node has been filled in correctly
445
- expect(client).to receive(:run_started)
446
- expect(client).to receive(:run_failed)
447
-
448
- expect_any_instance_of(Chef::ResourceReporter).to receive(:run_failed)
449
- expect_any_instance_of(Chef::Audit::AuditReporter).to receive(:run_failed)
457
+ it "should save the node after converge and raise exception" do
458
+ expect{ client.run }.to raise_error(Chef::Exceptions::RunFailedWrappingError) do |error|
459
+ expect(error.wrapped_errors.size).to eq(1)
460
+ expect(error.wrapped_errors[0]).to eq(e)
461
+ end
450
462
  end
451
463
  end
452
464
 
453
- it "should save the node after converge and raise exception" do
454
- expect{ client.run }.to raise_error(Chef::Exceptions::RunFailedWrappingError) do |error|
455
- expect(error.wrapped_errors.size).to eq(1)
456
- expect(error.wrapped_errors[0]).to eq(e)
465
+ context "when audit mode is disabled" do
466
+ include_context "a client run" do
467
+ before do
468
+ Chef::Config[:audit_mode] = :disabled
469
+ end
470
+
471
+ let(:e) { FooError.new }
472
+
473
+ def stub_for_audit
474
+ expect(Chef::Audit::Runner).to_not receive(:new)
475
+ end
476
+
477
+ def stub_for_converge
478
+ expect(Chef::Runner).to receive(:new).and_return(runner)
479
+ expect(runner).to receive(:converge).and_raise(e)
480
+ expect(Chef::Application).to receive(:debug_stacktrace).with an_instance_of(FooError)
481
+ end
482
+
483
+ def stub_for_node_save
484
+ expect(client).to_not receive(:save_updated_node)
485
+ end
486
+
487
+ def stub_for_run
488
+ expect_any_instance_of(Chef::RunLock).to receive(:acquire)
489
+ expect_any_instance_of(Chef::RunLock).to receive(:save_pid)
490
+ expect_any_instance_of(Chef::RunLock).to receive(:release)
491
+
492
+
493
+ # Post conditions: check that node has been filled in correctly
494
+ expect(client).to receive(:run_started)
495
+ expect(client).to receive(:run_failed)
496
+
497
+ expect_any_instance_of(Chef::ResourceReporter).to receive(:run_failed)
498
+
499
+ end
500
+
501
+ it "re-raises an unwrapped exception" do
502
+ expect { client.run }.to raise_error(FooError)
503
+ end
457
504
  end
458
505
  end
506
+
507
+
459
508
  end
460
509
 
461
510
  context "with failed audits" do
@@ -73,6 +73,20 @@ describe Chef::Provider::Package::Yum do
73
73
  expect(@provider.load_current_resource).to eql(@provider.current_resource)
74
74
  end
75
75
 
76
+ describe "when source is provided" do
77
+ it "should set the candidate version" do
78
+ @new_resource = Chef::Resource::YumPackage.new('testing.source')
79
+ @new_resource.source "chef-server-core-12.0.5-1.rpm"
80
+ @provider = Chef::Provider::Package::Yum.new(@new_resource, @run_context)
81
+ allow(File).to receive(:exists?).with(@new_resource.source).and_return(true)
82
+ allow(@yum_cache).to receive(:installed_version).and_return(nil)
83
+ shellout_double = double(:stdout => 'chef-server-core 12.0.5-1')
84
+ allow(@provider).to receive(:shell_out!).and_return(shellout_double)
85
+ @provider.load_current_resource
86
+ expect(@provider.candidate_version).to eql('12.0.5-1')
87
+ end
88
+ end
89
+
76
90
  describe "when arch in package_name" do
77
91
  it "should set the arch if no existing package_name is found and new_package_name+new_arch is available" do
78
92
  @new_resource = Chef::Resource::YumPackage.new('testing.noarch')
metadata CHANGED
@@ -1,353 +1,400 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.1.1
4
+ version: 12.1.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Adam Jacob
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-03-09 00:00:00.000000000 Z
12
+ date: 2015-03-23 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: mixlib-config
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '2.0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: '2.0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: mixlib-cli
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '1.4'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '1.4'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: mixlib-log
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
53
  version: '1.3'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
61
  version: '1.3'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: mixlib-authentication
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
69
  version: '1.3'
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
77
  version: '1.3'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: mixlib-shellout
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - ">="
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: 2.0.0.rc.0
76
- - - "<"
86
+ - - <
77
87
  - !ruby/object:Gem::Version
78
88
  version: '3.0'
79
89
  type: :runtime
80
90
  prerelease: false
81
91
  version_requirements: !ruby/object:Gem::Requirement
92
+ none: false
82
93
  requirements:
83
- - - ">="
94
+ - - ! '>='
84
95
  - !ruby/object:Gem::Version
85
96
  version: 2.0.0.rc.0
86
- - - "<"
97
+ - - <
87
98
  - !ruby/object:Gem::Version
88
99
  version: '3.0'
89
100
  - !ruby/object:Gem::Dependency
90
101
  name: ohai
91
102
  requirement: !ruby/object:Gem::Requirement
103
+ none: false
92
104
  requirements:
93
- - - "~>"
105
+ - - ~>
94
106
  - !ruby/object:Gem::Version
95
107
  version: '8.0'
96
108
  type: :runtime
97
109
  prerelease: false
98
110
  version_requirements: !ruby/object:Gem::Requirement
111
+ none: false
99
112
  requirements:
100
- - - "~>"
113
+ - - ~>
101
114
  - !ruby/object:Gem::Version
102
115
  version: '8.0'
103
116
  - !ruby/object:Gem::Dependency
104
117
  name: ffi-yajl
105
118
  requirement: !ruby/object:Gem::Requirement
119
+ none: false
106
120
  requirements:
107
- - - "~>"
121
+ - - ~>
108
122
  - !ruby/object:Gem::Version
109
123
  version: '1.2'
110
124
  type: :runtime
111
125
  prerelease: false
112
126
  version_requirements: !ruby/object:Gem::Requirement
127
+ none: false
113
128
  requirements:
114
- - - "~>"
129
+ - - ~>
115
130
  - !ruby/object:Gem::Version
116
131
  version: '1.2'
117
132
  - !ruby/object:Gem::Dependency
118
133
  name: net-ssh
119
134
  requirement: !ruby/object:Gem::Requirement
135
+ none: false
120
136
  requirements:
121
- - - "~>"
137
+ - - ~>
122
138
  - !ruby/object:Gem::Version
123
139
  version: '2.6'
124
140
  type: :runtime
125
141
  prerelease: false
126
142
  version_requirements: !ruby/object:Gem::Requirement
143
+ none: false
127
144
  requirements:
128
- - - "~>"
145
+ - - ~>
129
146
  - !ruby/object:Gem::Version
130
147
  version: '2.6'
131
148
  - !ruby/object:Gem::Dependency
132
149
  name: net-ssh-multi
133
150
  requirement: !ruby/object:Gem::Requirement
151
+ none: false
134
152
  requirements:
135
- - - "~>"
153
+ - - ~>
136
154
  - !ruby/object:Gem::Version
137
155
  version: '1.1'
138
156
  type: :runtime
139
157
  prerelease: false
140
158
  version_requirements: !ruby/object:Gem::Requirement
159
+ none: false
141
160
  requirements:
142
- - - "~>"
161
+ - - ~>
143
162
  - !ruby/object:Gem::Version
144
163
  version: '1.1'
145
164
  - !ruby/object:Gem::Dependency
146
165
  name: highline
147
166
  requirement: !ruby/object:Gem::Requirement
167
+ none: false
148
168
  requirements:
149
- - - "~>"
169
+ - - ~>
150
170
  - !ruby/object:Gem::Version
151
171
  version: '1.6'
152
- - - ">="
172
+ - - ! '>='
153
173
  - !ruby/object:Gem::Version
154
174
  version: 1.6.9
155
175
  type: :runtime
156
176
  prerelease: false
157
177
  version_requirements: !ruby/object:Gem::Requirement
178
+ none: false
158
179
  requirements:
159
- - - "~>"
180
+ - - ~>
160
181
  - !ruby/object:Gem::Version
161
182
  version: '1.6'
162
- - - ">="
183
+ - - ! '>='
163
184
  - !ruby/object:Gem::Version
164
185
  version: 1.6.9
165
186
  - !ruby/object:Gem::Dependency
166
187
  name: erubis
167
188
  requirement: !ruby/object:Gem::Requirement
189
+ none: false
168
190
  requirements:
169
- - - "~>"
191
+ - - ~>
170
192
  - !ruby/object:Gem::Version
171
193
  version: '2.7'
172
194
  type: :runtime
173
195
  prerelease: false
174
196
  version_requirements: !ruby/object:Gem::Requirement
197
+ none: false
175
198
  requirements:
176
- - - "~>"
199
+ - - ~>
177
200
  - !ruby/object:Gem::Version
178
201
  version: '2.7'
179
202
  - !ruby/object:Gem::Dependency
180
203
  name: diff-lcs
181
204
  requirement: !ruby/object:Gem::Requirement
205
+ none: false
182
206
  requirements:
183
- - - "~>"
207
+ - - ~>
184
208
  - !ruby/object:Gem::Version
185
209
  version: '1.2'
186
- - - ">="
210
+ - - ! '>='
187
211
  - !ruby/object:Gem::Version
188
212
  version: 1.2.4
189
213
  type: :runtime
190
214
  prerelease: false
191
215
  version_requirements: !ruby/object:Gem::Requirement
216
+ none: false
192
217
  requirements:
193
- - - "~>"
218
+ - - ~>
194
219
  - !ruby/object:Gem::Version
195
220
  version: '1.2'
196
- - - ">="
221
+ - - ! '>='
197
222
  - !ruby/object:Gem::Version
198
223
  version: 1.2.4
199
224
  - !ruby/object:Gem::Dependency
200
225
  name: chef-zero
201
226
  requirement: !ruby/object:Gem::Requirement
227
+ none: false
202
228
  requirements:
203
- - - "~>"
229
+ - - ~>
204
230
  - !ruby/object:Gem::Version
205
231
  version: '4.0'
206
232
  type: :runtime
207
233
  prerelease: false
208
234
  version_requirements: !ruby/object:Gem::Requirement
235
+ none: false
209
236
  requirements:
210
- - - "~>"
237
+ - - ~>
211
238
  - !ruby/object:Gem::Version
212
239
  version: '4.0'
213
240
  - !ruby/object:Gem::Dependency
214
241
  name: pry
215
242
  requirement: !ruby/object:Gem::Requirement
243
+ none: false
216
244
  requirements:
217
- - - "~>"
245
+ - - ~>
218
246
  - !ruby/object:Gem::Version
219
247
  version: '0.9'
220
248
  type: :runtime
221
249
  prerelease: false
222
250
  version_requirements: !ruby/object:Gem::Requirement
251
+ none: false
223
252
  requirements:
224
- - - "~>"
253
+ - - ~>
225
254
  - !ruby/object:Gem::Version
226
255
  version: '0.9'
227
256
  - !ruby/object:Gem::Dependency
228
257
  name: plist
229
258
  requirement: !ruby/object:Gem::Requirement
259
+ none: false
230
260
  requirements:
231
- - - "~>"
261
+ - - ~>
232
262
  - !ruby/object:Gem::Version
233
263
  version: 3.1.0
234
264
  type: :runtime
235
265
  prerelease: false
236
266
  version_requirements: !ruby/object:Gem::Requirement
267
+ none: false
237
268
  requirements:
238
- - - "~>"
269
+ - - ~>
239
270
  - !ruby/object:Gem::Version
240
271
  version: 3.1.0
241
272
  - !ruby/object:Gem::Dependency
242
273
  name: rspec-core
243
274
  requirement: !ruby/object:Gem::Requirement
275
+ none: false
244
276
  requirements:
245
- - - "~>"
277
+ - - ~>
246
278
  - !ruby/object:Gem::Version
247
279
  version: '3.2'
248
280
  type: :runtime
249
281
  prerelease: false
250
282
  version_requirements: !ruby/object:Gem::Requirement
283
+ none: false
251
284
  requirements:
252
- - - "~>"
285
+ - - ~>
253
286
  - !ruby/object:Gem::Version
254
287
  version: '3.2'
255
288
  - !ruby/object:Gem::Dependency
256
289
  name: rspec-expectations
257
290
  requirement: !ruby/object:Gem::Requirement
291
+ none: false
258
292
  requirements:
259
- - - "~>"
293
+ - - ~>
260
294
  - !ruby/object:Gem::Version
261
295
  version: '3.2'
262
296
  type: :runtime
263
297
  prerelease: false
264
298
  version_requirements: !ruby/object:Gem::Requirement
299
+ none: false
265
300
  requirements:
266
- - - "~>"
301
+ - - ~>
267
302
  - !ruby/object:Gem::Version
268
303
  version: '3.2'
269
304
  - !ruby/object:Gem::Dependency
270
305
  name: rspec-mocks
271
306
  requirement: !ruby/object:Gem::Requirement
307
+ none: false
272
308
  requirements:
273
- - - "~>"
309
+ - - ~>
274
310
  - !ruby/object:Gem::Version
275
311
  version: '3.2'
276
312
  type: :runtime
277
313
  prerelease: false
278
314
  version_requirements: !ruby/object:Gem::Requirement
315
+ none: false
279
316
  requirements:
280
- - - "~>"
317
+ - - ~>
281
318
  - !ruby/object:Gem::Version
282
319
  version: '3.2'
283
320
  - !ruby/object:Gem::Dependency
284
321
  name: rspec_junit_formatter
285
322
  requirement: !ruby/object:Gem::Requirement
323
+ none: false
286
324
  requirements:
287
- - - "~>"
325
+ - - ~>
288
326
  - !ruby/object:Gem::Version
289
327
  version: 0.2.0
290
328
  type: :runtime
291
329
  prerelease: false
292
330
  version_requirements: !ruby/object:Gem::Requirement
331
+ none: false
293
332
  requirements:
294
- - - "~>"
333
+ - - ~>
295
334
  - !ruby/object:Gem::Version
296
335
  version: 0.2.0
297
336
  - !ruby/object:Gem::Dependency
298
337
  name: serverspec
299
338
  requirement: !ruby/object:Gem::Requirement
339
+ none: false
300
340
  requirements:
301
- - - "~>"
341
+ - - ~>
302
342
  - !ruby/object:Gem::Version
303
343
  version: '2.7'
304
344
  type: :runtime
305
345
  prerelease: false
306
346
  version_requirements: !ruby/object:Gem::Requirement
347
+ none: false
307
348
  requirements:
308
- - - "~>"
349
+ - - ~>
309
350
  - !ruby/object:Gem::Version
310
351
  version: '2.7'
311
352
  - !ruby/object:Gem::Dependency
312
353
  name: specinfra
313
354
  requirement: !ruby/object:Gem::Requirement
355
+ none: false
314
356
  requirements:
315
- - - "~>"
357
+ - - ~>
316
358
  - !ruby/object:Gem::Version
317
359
  version: '2.10'
318
360
  type: :runtime
319
361
  prerelease: false
320
362
  version_requirements: !ruby/object:Gem::Requirement
363
+ none: false
321
364
  requirements:
322
- - - "~>"
365
+ - - ~>
323
366
  - !ruby/object:Gem::Version
324
367
  version: '2.10'
325
368
  - !ruby/object:Gem::Dependency
326
369
  name: rack
327
370
  requirement: !ruby/object:Gem::Requirement
371
+ none: false
328
372
  requirements:
329
- - - ">="
373
+ - - ! '>='
330
374
  - !ruby/object:Gem::Version
331
375
  version: '0'
332
376
  type: :development
333
377
  prerelease: false
334
378
  version_requirements: !ruby/object:Gem::Requirement
379
+ none: false
335
380
  requirements:
336
- - - ">="
381
+ - - ! '>='
337
382
  - !ruby/object:Gem::Version
338
383
  version: '0'
339
384
  - !ruby/object:Gem::Dependency
340
385
  name: rake
341
386
  requirement: !ruby/object:Gem::Requirement
387
+ none: false
342
388
  requirements:
343
- - - "~>"
389
+ - - ~>
344
390
  - !ruby/object:Gem::Version
345
391
  version: 10.1.0
346
392
  type: :development
347
393
  prerelease: false
348
394
  version_requirements: !ruby/object:Gem::Requirement
395
+ none: false
349
396
  requirements:
350
- - - "~>"
397
+ - - ~>
351
398
  - !ruby/object:Gem::Version
352
399
  version: 10.1.0
353
400
  description: A systems integration framework, built to bring the benefits of configuration
@@ -365,15 +412,10 @@ extra_rdoc_files:
365
412
  - CONTRIBUTING.md
366
413
  - LICENSE
367
414
  files:
368
- - CONTRIBUTING.md
415
+ - Rakefile
369
416
  - LICENSE
370
417
  - README.md
371
- - Rakefile
372
- - bin/chef-apply
373
- - bin/chef-client
374
- - bin/chef-shell
375
- - bin/chef-solo
376
- - bin/knife
418
+ - CONTRIBUTING.md
377
419
  - distro/common/html/_sources/ctl_chef_client.txt
378
420
  - distro/common/html/_sources/ctl_chef_server.txt
379
421
  - distro/common/html/_sources/ctl_chef_shell.txt
@@ -476,7 +518,6 @@ files:
476
518
  - distro/common/html/objects.inv
477
519
  - distro/common/html/search.html
478
520
  - distro/common/html/searchindex.js
479
- - distro/common/man/man1/README.md
480
521
  - distro/common/man/man1/chef-shell.1
481
522
  - distro/common/man/man1/knife-bootstrap.1
482
523
  - distro/common/man/man1/knife-client.1
@@ -509,10 +550,10 @@ files:
509
550
  - distro/common/man/man1/knife-user.1
510
551
  - distro/common/man/man1/knife-xargs.1
511
552
  - distro/common/man/man1/knife.1
553
+ - distro/common/man/man1/README.md
512
554
  - distro/common/man/man8/chef-apply.8
513
555
  - distro/common/man/man8/chef-client.8
514
556
  - distro/common/man/man8/chef-solo.8
515
- - distro/common/markdown/README
516
557
  - distro/common/markdown/man1/chef-shell.mkd
517
558
  - distro/common/markdown/man1/knife-bootstrap.mkd
518
559
  - distro/common/markdown/man1/knife-client.mkd
@@ -537,23 +578,22 @@ files:
537
578
  - distro/common/markdown/man8/chef-server.mkd
538
579
  - distro/common/markdown/man8/chef-solo.mkd
539
580
  - distro/common/markdown/man8/chef-solr.mkd
540
- - lib/chef.rb
541
- - lib/chef/api_client.rb
581
+ - distro/common/markdown/README
542
582
  - lib/chef/api_client/registration.rb
543
- - lib/chef/application.rb
583
+ - lib/chef/api_client.rb
544
584
  - lib/chef/application/apply.rb
545
585
  - lib/chef/application/client.rb
546
586
  - lib/chef/application/knife.rb
547
587
  - lib/chef/application/solo.rb
548
588
  - lib/chef/application/windows_service.rb
549
589
  - lib/chef/application/windows_service_manager.rb
590
+ - lib/chef/application.rb
550
591
  - lib/chef/applications.rb
551
592
  - lib/chef/audit/audit_event_proxy.rb
552
593
  - lib/chef/audit/audit_reporter.rb
553
594
  - lib/chef/audit/control_group_data.rb
554
595
  - lib/chef/audit/rspec_formatter.rb
555
596
  - lib/chef/audit/runner.rb
556
- - lib/chef/chef_fs.rb
557
597
  - lib/chef/chef_fs/chef_fs_data_store.rb
558
598
  - lib/chef/chef_fs/command_line.rb
559
599
  - lib/chef/chef_fs/config.rb
@@ -573,7 +613,6 @@ files:
573
613
  - lib/chef/chef_fs/data_handler/role_data_handler.rb
574
614
  - lib/chef/chef_fs/data_handler/user_data_handler.rb
575
615
  - lib/chef/chef_fs/file_pattern.rb
576
- - lib/chef/chef_fs/file_system.rb
577
616
  - lib/chef/chef_fs/file_system/acl_dir.rb
578
617
  - lib/chef/chef_fs/file_system/acl_entry.rb
579
618
  - lib/chef/chef_fs/file_system/acls_dir.rb
@@ -617,11 +656,13 @@ files:
617
656
  - lib/chef/chef_fs/file_system/organization_members_entry.rb
618
657
  - lib/chef/chef_fs/file_system/rest_list_dir.rb
619
658
  - lib/chef/chef_fs/file_system/rest_list_entry.rb
659
+ - lib/chef/chef_fs/file_system.rb
620
660
  - lib/chef/chef_fs/knife.rb
621
- - lib/chef/chef_fs/parallelizer.rb
622
661
  - lib/chef/chef_fs/parallelizer/flatten_enumerable.rb
623
662
  - lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
663
+ - lib/chef/chef_fs/parallelizer.rb
624
664
  - lib/chef/chef_fs/path_utils.rb
665
+ - lib/chef/chef_fs.rb
625
666
  - lib/chef/client.rb
626
667
  - lib/chef/config.rb
627
668
  - lib/chef/config_fetcher.rb
@@ -649,7 +690,6 @@ files:
649
690
  - lib/chef/deprecation/provider/template.rb
650
691
  - lib/chef/deprecation/warnings.rb
651
692
  - lib/chef/digester.rb
652
- - lib/chef/dsl.rb
653
693
  - lib/chef/dsl/audit.rb
654
694
  - lib/chef/dsl/data_query.rb
655
695
  - lib/chef/dsl/include_attribute.rb
@@ -658,7 +698,7 @@ files:
658
698
  - lib/chef/dsl/reboot_pending.rb
659
699
  - lib/chef/dsl/recipe.rb
660
700
  - lib/chef/dsl/registry_helper.rb
661
- - lib/chef/encrypted_data_bag_item.rb
701
+ - lib/chef/dsl.rb
662
702
  - lib/chef/encrypted_data_bag_item/assertions.rb
663
703
  - lib/chef/encrypted_data_bag_item/check_encrypted.rb
664
704
  - lib/chef/encrypted_data_bag_item/decryption_failure.rb
@@ -669,6 +709,7 @@ files:
669
709
  - lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
670
710
  - lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
671
711
  - lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
712
+ - lib/chef/encrypted_data_bag_item.rb
672
713
  - lib/chef/environment.rb
673
714
  - lib/chef/event_dispatch/base.rb
674
715
  - lib/chef/event_dispatch/dispatcher.rb
@@ -676,20 +717,19 @@ files:
676
717
  - lib/chef/event_loggers/base.rb
677
718
  - lib/chef/event_loggers/windows_eventlog.rb
678
719
  - lib/chef/exceptions.rb
679
- - lib/chef/file_access_control.rb
680
720
  - lib/chef/file_access_control/unix.rb
681
721
  - lib/chef/file_access_control/windows.rb
722
+ - lib/chef/file_access_control.rb
682
723
  - lib/chef/file_cache.rb
683
724
  - lib/chef/file_content_management/content_base.rb
684
- - lib/chef/file_content_management/deploy.rb
685
725
  - lib/chef/file_content_management/deploy/cp.rb
686
726
  - lib/chef/file_content_management/deploy/mv_unix.rb
687
727
  - lib/chef/file_content_management/deploy/mv_windows.rb
728
+ - lib/chef/file_content_management/deploy.rb
688
729
  - lib/chef/file_content_management/tempfile.rb
689
730
  - lib/chef/formatters/base.rb
690
731
  - lib/chef/formatters/doc.rb
691
732
  - lib/chef/formatters/error_descriptor.rb
692
- - lib/chef/formatters/error_inspectors.rb
693
733
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
694
734
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
695
735
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -698,16 +738,16 @@ files:
698
738
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
699
739
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
700
740
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
741
+ - lib/chef/formatters/error_inspectors.rb
701
742
  - lib/chef/formatters/error_mapper.rb
702
743
  - lib/chef/formatters/indentable_output_stream.rb
703
744
  - lib/chef/formatters/minimal.rb
704
- - lib/chef/guard_interpreter.rb
705
745
  - lib/chef/guard_interpreter/default_guard_interpreter.rb
706
746
  - lib/chef/guard_interpreter/resource_guard_interpreter.rb
707
- - lib/chef/handler.rb
747
+ - lib/chef/guard_interpreter.rb
708
748
  - lib/chef/handler/error_report.rb
709
749
  - lib/chef/handler/json_file.rb
710
- - lib/chef/http.rb
750
+ - lib/chef/handler.rb
711
751
  - lib/chef/http/auth_credentials.rb
712
752
  - lib/chef/http/authenticator.rb
713
753
  - lib/chef/http/basic_client.rb
@@ -722,15 +762,15 @@ files:
722
762
  - lib/chef/http/simple.rb
723
763
  - lib/chef/http/ssl_policies.rb
724
764
  - lib/chef/http/validate_content_length.rb
765
+ - lib/chef/http.rb
725
766
  - lib/chef/json_compat.rb
726
- - lib/chef/knife.rb
727
- - lib/chef/knife/bootstrap.rb
728
767
  - lib/chef/knife/bootstrap/chef_vault_handler.rb
729
768
  - lib/chef/knife/bootstrap/client_builder.rb
730
- - lib/chef/knife/bootstrap/templates/README.md
731
769
  - lib/chef/knife/bootstrap/templates/archlinux-gems.erb
732
770
  - lib/chef/knife/bootstrap/templates/chef-aix.erb
733
771
  - lib/chef/knife/bootstrap/templates/chef-full.erb
772
+ - lib/chef/knife/bootstrap/templates/README.md
773
+ - lib/chef/knife/bootstrap.rb
734
774
  - lib/chef/knife/client_bulk_delete.rb
735
775
  - lib/chef/knife/client_create.rb
736
776
  - lib/chef/knife/client_delete.rb
@@ -840,13 +880,14 @@ files:
840
880
  - lib/chef/knife/user_reregister.rb
841
881
  - lib/chef/knife/user_show.rb
842
882
  - lib/chef/knife/xargs.rb
883
+ - lib/chef/knife.rb
843
884
  - lib/chef/local_mode.rb
844
885
  - lib/chef/log.rb
845
886
  - lib/chef/mash.rb
846
887
  - lib/chef/mixin/checksum.rb
847
- - lib/chef/mixin/command.rb
848
888
  - lib/chef/mixin/command/unix.rb
849
889
  - lib/chef/mixin/command/windows.rb
890
+ - lib/chef/mixin/command.rb
850
891
  - lib/chef/mixin/convert_to_class_name.rb
851
892
  - lib/chef/mixin/create_path.rb
852
893
  - lib/chef/mixin/deep_merge.rb
@@ -876,44 +917,42 @@ files:
876
917
  - lib/chef/monkey_patches/net_http.rb
877
918
  - lib/chef/monologger.rb
878
919
  - lib/chef/nil_argument.rb
879
- - lib/chef/node.rb
880
920
  - lib/chef/node/attribute.rb
881
921
  - lib/chef/node/attribute_collections.rb
882
922
  - lib/chef/node/immutable_collections.rb
923
+ - lib/chef/node.rb
883
924
  - lib/chef/node_map.rb
884
925
  - lib/chef/null_logger.rb
885
926
  - lib/chef/org.rb
886
- - lib/chef/platform.rb
887
927
  - lib/chef/platform/provider_mapping.rb
888
928
  - lib/chef/platform/provider_priority_map.rb
889
929
  - lib/chef/platform/query_helpers.rb
890
930
  - lib/chef/platform/rebooter.rb
891
931
  - lib/chef/platform/service_helpers.rb
892
- - lib/chef/policy_builder.rb
932
+ - lib/chef/platform.rb
893
933
  - lib/chef/policy_builder/expand_node_object.rb
894
934
  - lib/chef/policy_builder/policyfile.rb
895
- - lib/chef/provider.rb
935
+ - lib/chef/policy_builder.rb
896
936
  - lib/chef/provider/batch.rb
897
937
  - lib/chef/provider/breakpoint.rb
898
- - lib/chef/provider/cookbook_file.rb
899
938
  - lib/chef/provider/cookbook_file/content.rb
900
- - lib/chef/provider/cron.rb
939
+ - lib/chef/provider/cookbook_file.rb
901
940
  - lib/chef/provider/cron/aix.rb
902
941
  - lib/chef/provider/cron/solaris.rb
903
942
  - lib/chef/provider/cron/unix.rb
904
- - lib/chef/provider/deploy.rb
943
+ - lib/chef/provider/cron.rb
905
944
  - lib/chef/provider/deploy/revision.rb
906
945
  - lib/chef/provider/deploy/timestamped.rb
946
+ - lib/chef/provider/deploy.rb
907
947
  - lib/chef/provider/directory.rb
908
948
  - lib/chef/provider/dsc_script.rb
909
- - lib/chef/provider/env.rb
910
949
  - lib/chef/provider/env/windows.rb
950
+ - lib/chef/provider/env.rb
911
951
  - lib/chef/provider/erl_call.rb
912
952
  - lib/chef/provider/execute.rb
913
- - lib/chef/provider/file.rb
914
953
  - lib/chef/provider/file/content.rb
954
+ - lib/chef/provider/file.rb
915
955
  - lib/chef/provider/git.rb
916
- - lib/chef/provider/group.rb
917
956
  - lib/chef/provider/group/aix.rb
918
957
  - lib/chef/provider/group/dscl.rb
919
958
  - lib/chef/provider/group/gpasswd.rb
@@ -923,22 +962,22 @@ files:
923
962
  - lib/chef/provider/group/suse.rb
924
963
  - lib/chef/provider/group/usermod.rb
925
964
  - lib/chef/provider/group/windows.rb
965
+ - lib/chef/provider/group.rb
926
966
  - lib/chef/provider/http_request.rb
927
- - lib/chef/provider/ifconfig.rb
928
967
  - lib/chef/provider/ifconfig/aix.rb
929
968
  - lib/chef/provider/ifconfig/debian.rb
930
969
  - lib/chef/provider/ifconfig/redhat.rb
970
+ - lib/chef/provider/ifconfig.rb
931
971
  - lib/chef/provider/link.rb
932
972
  - lib/chef/provider/log.rb
933
973
  - lib/chef/provider/lwrp_base.rb
934
974
  - lib/chef/provider/mdadm.rb
935
- - lib/chef/provider/mount.rb
936
975
  - lib/chef/provider/mount/aix.rb
937
976
  - lib/chef/provider/mount/mount.rb
938
977
  - lib/chef/provider/mount/solaris.rb
939
978
  - lib/chef/provider/mount/windows.rb
979
+ - lib/chef/provider/mount.rb
940
980
  - lib/chef/provider/ohai.rb
941
- - lib/chef/provider/package.rb
942
981
  - lib/chef/provider/package/aix.rb
943
982
  - lib/chef/provider/package/apt.rb
944
983
  - lib/chef/provider/package/dpkg.rb
@@ -958,27 +997,27 @@ files:
958
997
  - lib/chef/provider/package/rubygems.rb
959
998
  - lib/chef/provider/package/smartos.rb
960
999
  - lib/chef/provider/package/solaris.rb
961
- - lib/chef/provider/package/windows.rb
962
1000
  - lib/chef/provider/package/windows/msi.rb
1001
+ - lib/chef/provider/package/windows.rb
963
1002
  - lib/chef/provider/package/yum-dump.py
964
1003
  - lib/chef/provider/package/yum.rb
965
1004
  - lib/chef/provider/package/zypper.rb
1005
+ - lib/chef/provider/package.rb
966
1006
  - lib/chef/provider/powershell_script.rb
967
1007
  - lib/chef/provider/reboot.rb
968
1008
  - lib/chef/provider/registry_key.rb
969
1009
  - lib/chef/provider/remote_directory.rb
970
- - lib/chef/provider/remote_file.rb
971
1010
  - lib/chef/provider/remote_file/cache_control_data.rb
972
1011
  - lib/chef/provider/remote_file/content.rb
973
1012
  - lib/chef/provider/remote_file/fetcher.rb
974
1013
  - lib/chef/provider/remote_file/ftp.rb
975
1014
  - lib/chef/provider/remote_file/http.rb
976
1015
  - lib/chef/provider/remote_file/local_file.rb
1016
+ - lib/chef/provider/remote_file.rb
977
1017
  - lib/chef/provider/resource_update.rb
978
1018
  - lib/chef/provider/route.rb
979
1019
  - lib/chef/provider/ruby_block.rb
980
1020
  - lib/chef/provider/script.rb
981
- - lib/chef/provider/service.rb
982
1021
  - lib/chef/provider/service/aix.rb
983
1022
  - lib/chef/provider/service/aixinit.rb
984
1023
  - lib/chef/provider/service/arch.rb
@@ -996,25 +1035,26 @@ files:
996
1035
  - lib/chef/provider/service/systemd.rb
997
1036
  - lib/chef/provider/service/upstart.rb
998
1037
  - lib/chef/provider/service/windows.rb
1038
+ - lib/chef/provider/service.rb
999
1039
  - lib/chef/provider/subversion.rb
1000
- - lib/chef/provider/template.rb
1001
1040
  - lib/chef/provider/template/content.rb
1041
+ - lib/chef/provider/template.rb
1002
1042
  - lib/chef/provider/template_finder.rb
1003
- - lib/chef/provider/user.rb
1004
1043
  - lib/chef/provider/user/aix.rb
1005
1044
  - lib/chef/provider/user/dscl.rb
1006
1045
  - lib/chef/provider/user/pw.rb
1007
1046
  - lib/chef/provider/user/solaris.rb
1008
1047
  - lib/chef/provider/user/useradd.rb
1009
1048
  - lib/chef/provider/user/windows.rb
1049
+ - lib/chef/provider/user.rb
1010
1050
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1011
1051
  - lib/chef/provider/windows_script.rb
1052
+ - lib/chef/provider.rb
1012
1053
  - lib/chef/provider_resolver.rb
1013
1054
  - lib/chef/providers.rb
1014
1055
  - lib/chef/recipe.rb
1015
1056
  - lib/chef/request_id.rb
1016
1057
  - lib/chef/reserved_names.rb
1017
- - lib/chef/resource.rb
1018
1058
  - lib/chef/resource/apt_package.rb
1019
1059
  - lib/chef/resource/bash.rb
1020
1060
  - lib/chef/resource/batch.rb
@@ -1035,8 +1075,8 @@ files:
1035
1075
  - lib/chef/resource/env.rb
1036
1076
  - lib/chef/resource/erl_call.rb
1037
1077
  - lib/chef/resource/execute.rb
1038
- - lib/chef/resource/file.rb
1039
1078
  - lib/chef/resource/file/verification.rb
1079
+ - lib/chef/resource/file.rb
1040
1080
  - lib/chef/resource/freebsd_package.rb
1041
1081
  - lib/chef/resource/gem_package.rb
1042
1082
  - lib/chef/resource/git.rb
@@ -1083,24 +1123,25 @@ files:
1083
1123
  - lib/chef/resource/windows_script.rb
1084
1124
  - lib/chef/resource/windows_service.rb
1085
1125
  - lib/chef/resource/yum_package.rb
1126
+ - lib/chef/resource.rb
1086
1127
  - lib/chef/resource_builder.rb
1087
- - lib/chef/resource_collection.rb
1088
1128
  - lib/chef/resource_collection/resource_collection_serialization.rb
1089
1129
  - lib/chef/resource_collection/resource_list.rb
1090
1130
  - lib/chef/resource_collection/resource_set.rb
1091
1131
  - lib/chef/resource_collection/stepable_iterator.rb
1132
+ - lib/chef/resource_collection.rb
1092
1133
  - lib/chef/resource_definition.rb
1093
1134
  - lib/chef/resource_definition_list.rb
1094
1135
  - lib/chef/resource_reporter.rb
1095
1136
  - lib/chef/resources.rb
1096
1137
  - lib/chef/rest.rb
1097
1138
  - lib/chef/role.rb
1098
- - lib/chef/run_context.rb
1099
1139
  - lib/chef/run_context/cookbook_compiler.rb
1100
- - lib/chef/run_list.rb
1140
+ - lib/chef/run_context.rb
1101
1141
  - lib/chef/run_list/run_list_expansion.rb
1102
1142
  - lib/chef/run_list/run_list_item.rb
1103
1143
  - lib/chef/run_list/versioned_recipe_list.rb
1144
+ - lib/chef/run_list.rb
1104
1145
  - lib/chef/run_lock.rb
1105
1146
  - lib/chef/run_status.rb
1106
1147
  - lib/chef/runner.rb
@@ -1108,11 +1149,11 @@ files:
1108
1149
  - lib/chef/scan_access_control.rb
1109
1150
  - lib/chef/search/query.rb
1110
1151
  - lib/chef/server_api.rb
1111
- - lib/chef/shell.rb
1112
1152
  - lib/chef/shell/ext.rb
1113
1153
  - lib/chef/shell/model_wrapper.rb
1114
1154
  - lib/chef/shell/shell_rest.rb
1115
1155
  - lib/chef/shell/shell_session.rb
1156
+ - lib/chef/shell.rb
1116
1157
  - lib/chef/shell_out.rb
1117
1158
  - lib/chef/tasks/chef_repo.rake
1118
1159
  - lib/chef/user.rb
@@ -1129,18 +1170,17 @@ files:
1129
1170
  - lib/chef/util/powershell/cmdlet_result.rb
1130
1171
  - lib/chef/util/selinux.rb
1131
1172
  - lib/chef/util/threaded_job_queue.rb
1132
- - lib/chef/util/windows.rb
1133
1173
  - lib/chef/util/windows/net_group.rb
1134
1174
  - lib/chef/util/windows/net_use.rb
1135
1175
  - lib/chef/util/windows/net_user.rb
1136
1176
  - lib/chef/util/windows/volume.rb
1137
- - lib/chef/version.rb
1177
+ - lib/chef/util/windows.rb
1138
1178
  - lib/chef/version/platform.rb
1179
+ - lib/chef/version.rb
1139
1180
  - lib/chef/version_class.rb
1140
- - lib/chef/version_constraint.rb
1141
1181
  - lib/chef/version_constraint/platform.rb
1182
+ - lib/chef/version_constraint.rb
1142
1183
  - lib/chef/whitelist.rb
1143
- - lib/chef/win32/api.rb
1144
1184
  - lib/chef/win32/api/error.rb
1145
1185
  - lib/chef/win32/api/file.rb
1146
1186
  - lib/chef/win32/api/installer.rb
@@ -1152,24 +1192,27 @@ files:
1152
1192
  - lib/chef/win32/api/synchronization.rb
1153
1193
  - lib/chef/win32/api/system.rb
1154
1194
  - lib/chef/win32/api/unicode.rb
1195
+ - lib/chef/win32/api.rb
1155
1196
  - lib/chef/win32/error.rb
1156
- - lib/chef/win32/file.rb
1157
1197
  - lib/chef/win32/file/info.rb
1198
+ - lib/chef/win32/file.rb
1158
1199
  - lib/chef/win32/handle.rb
1159
1200
  - lib/chef/win32/memory.rb
1160
1201
  - lib/chef/win32/mutex.rb
1161
1202
  - lib/chef/win32/process.rb
1162
1203
  - lib/chef/win32/registry.rb
1163
- - lib/chef/win32/security.rb
1164
1204
  - lib/chef/win32/security/ace.rb
1165
1205
  - lib/chef/win32/security/acl.rb
1166
1206
  - lib/chef/win32/security/securable_object.rb
1167
1207
  - lib/chef/win32/security/security_descriptor.rb
1168
1208
  - lib/chef/win32/security/sid.rb
1169
1209
  - lib/chef/win32/security/token.rb
1210
+ - lib/chef/win32/security.rb
1170
1211
  - lib/chef/win32/unicode.rb
1171
1212
  - lib/chef/win32/version.rb
1172
1213
  - lib/chef/workstation_config_loader.rb
1214
+ - lib/chef.rb
1215
+ - tasks/rspec.rb
1173
1216
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1174
1217
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1175
1218
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1199,11 +1242,11 @@ files:
1199
1242
  - spec/data/apt/var/www/apt/db/references.db
1200
1243
  - spec/data/apt/var/www/apt/db/release.caches.db
1201
1244
  - spec/data/apt/var/www/apt/db/version
1202
- - spec/data/apt/var/www/apt/dists/sid/Release
1203
1245
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1204
1246
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1205
1247
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1206
1248
  - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1249
+ - spec/data/apt/var/www/apt/dists/sid/Release
1207
1250
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1208
1251
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1209
1252
  - spec/data/bad-config.rb
@@ -1216,12 +1259,12 @@ files:
1216
1259
  - spec/data/bootstrap/test.erb
1217
1260
  - spec/data/cb_version_cookbooks/cookbook2/files/test.txt
1218
1261
  - spec/data/cb_version_cookbooks/cookbook2/templates/test.erb
1219
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1220
1262
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1221
1263
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1222
1264
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1223
1265
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1224
1266
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1267
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1225
1268
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1226
1269
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1227
1270
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1260,8 +1303,8 @@ files:
1260
1303
  - spec/data/cookbooks/ignorken/templates/ubuntu-12.10/not_me.rb
1261
1304
  - spec/data/cookbooks/java/files/default/java.response
1262
1305
  - spec/data/cookbooks/java/metadata.rb
1263
- - spec/data/cookbooks/name-mismatch-versionnumber/README.md
1264
1306
  - spec/data/cookbooks/name-mismatch-versionnumber/metadata.rb
1307
+ - spec/data/cookbooks/name-mismatch-versionnumber/README.md
1265
1308
  - spec/data/cookbooks/name-mismatch-versionnumber/recipes/default.rb
1266
1309
  - spec/data/cookbooks/openldap/attributes/default.rb
1267
1310
  - spec/data/cookbooks/openldap/attributes/smokey.rb
@@ -1277,8 +1320,8 @@ files:
1277
1320
  - spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file1.txt
1278
1321
  - spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file2.txt
1279
1322
  - spec/data/cookbooks/openldap/files/default/remotedir/subdir_with_no_file_just_a_subsubdir/the_subsubdir/some_file.txt
1280
- - spec/data/cookbooks/openldap/libraries/openldap.rb
1281
1323
  - spec/data/cookbooks/openldap/libraries/openldap/version.rb
1324
+ - spec/data/cookbooks/openldap/libraries/openldap.rb
1282
1325
  - spec/data/cookbooks/openldap/metadata.rb
1283
1326
  - spec/data/cookbooks/openldap/recipes/default.rb
1284
1327
  - spec/data/cookbooks/openldap/recipes/gigantor.rb
@@ -1307,11 +1350,11 @@ files:
1307
1350
  - spec/data/git_bundles/sinatra-test-app-with-callback-files.gitbundle
1308
1351
  - spec/data/git_bundles/sinatra-test-app-with-symlinks.gitbundle
1309
1352
  - spec/data/git_bundles/sinatra-test-app.gitbundle
1310
- - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/README.md
1311
1353
  - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/metadata.rb
1354
+ - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/README.md
1312
1355
  - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/recipes/default.rb
1313
- - spec/data/invalid-metadata-chef-repo/invalid-metadata/README.md
1314
1356
  - spec/data/invalid-metadata-chef-repo/invalid-metadata/metadata.rb
1357
+ - spec/data/invalid-metadata-chef-repo/invalid-metadata/README.md
1315
1358
  - spec/data/invalid-metadata-chef-repo/invalid-metadata/recipes/default.rb
1316
1359
  - spec/data/kitchen/chefignore
1317
1360
  - spec/data/kitchen/openldap/attributes/default.rb
@@ -1364,8 +1407,8 @@ files:
1364
1407
  - spec/data/old_home_dir/my-dot-emacs
1365
1408
  - spec/data/old_home_dir/my-dot-vim
1366
1409
  - spec/data/partial_one.erb
1367
- - spec/data/recipes.tgz
1368
1410
  - spec/data/recipes/test.rb
1411
+ - spec/data/recipes.tgz
1369
1412
  - spec/data/remote_directory_data/remote_dir_file.txt
1370
1413
  - spec/data/remote_directory_data/remote_subdirectory/remote_subdir_file.txt
1371
1414
  - spec/data/remote_file/nyan_cat.png
@@ -1403,6 +1446,16 @@ files:
1403
1446
  - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1404
1447
  - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1405
1448
  - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1449
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1450
+ - spec/data/run_context/cookbooks/test/attributes/george.rb
1451
+ - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1452
+ - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1453
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1454
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1455
+ - spec/data/run_context/cookbooks/test/recipes/default.rb
1456
+ - spec/data/run_context/cookbooks/test/recipes/one.rb
1457
+ - spec/data/run_context/cookbooks/test/recipes/two.rb
1458
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1406
1459
  - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1407
1460
  - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1408
1461
  - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
@@ -1418,16 +1471,6 @@ files:
1418
1471
  - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1419
1472
  - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1420
1473
  - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1421
- - spec/data/run_context/cookbooks/test/attributes/default.rb
1422
- - spec/data/run_context/cookbooks/test/attributes/george.rb
1423
- - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1424
- - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1425
- - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1426
- - spec/data/run_context/cookbooks/test/providers/provider.rb
1427
- - spec/data/run_context/cookbooks/test/recipes/default.rb
1428
- - spec/data/run_context/cookbooks/test/recipes/one.rb
1429
- - spec/data/run_context/cookbooks/test/recipes/two.rb
1430
- - spec/data/run_context/cookbooks/test/resources/resource.rb
1431
1474
  - spec/data/run_context/nodes/run_context.rb
1432
1475
  - spec/data/search_queries_to_transform.txt
1433
1476
  - spec/data/shef-config.rb
@@ -1437,8 +1480,8 @@ files:
1437
1480
  - spec/data/ssl/key.pem
1438
1481
  - spec/data/ssl/private_key.pem
1439
1482
  - spec/data/ssl/private_key_with_whitespace.pem
1440
- - spec/data/standalone_cookbook/Gemfile
1441
1483
  - spec/data/standalone_cookbook/chefignore
1484
+ - spec/data/standalone_cookbook/Gemfile
1442
1485
  - spec/data/standalone_cookbook/recipes/default.rb
1443
1486
  - spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb
1444
1487
  - spec/data/templates/seattle.txt
@@ -1447,13 +1490,13 @@ files:
1447
1490
  - spec/data/trusted_certs/opscode.pem
1448
1491
  - spec/data/trusted_certs/root.pem
1449
1492
  - spec/functional/application_spec.rb
1450
- - spec/functional/assets/PkgA.1.0.0.0.bff
1451
- - spec/functional/assets/PkgA.2.0.0.0.bff
1452
1493
  - spec/functional/assets/chefinittest
1453
1494
  - spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
1454
1495
  - spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
1455
1496
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1456
1497
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1498
+ - spec/functional/assets/PkgA.1.0.0.0.bff
1499
+ - spec/functional/assets/PkgA.2.0.0.0.bff
1457
1500
  - spec/functional/assets/testchefsubsys
1458
1501
  - spec/functional/audit/rspec_formatter_spec.rb
1459
1502
  - spec/functional/audit/runner_spec.rb
@@ -1996,30 +2039,35 @@ files:
1996
2039
  - spec/unit/version_constraint_spec.rb
1997
2040
  - spec/unit/windows_service_spec.rb
1998
2041
  - spec/unit/workstation_config_loader_spec.rb
1999
- - tasks/rspec.rb
2042
+ - bin/chef-client
2043
+ - bin/chef-solo
2044
+ - bin/knife
2045
+ - bin/chef-shell
2046
+ - bin/chef-apply
2000
2047
  homepage: http://www.getchef.com
2001
2048
  licenses:
2002
2049
  - Apache-2.0
2003
- metadata: {}
2004
2050
  post_install_message:
2005
2051
  rdoc_options: []
2006
2052
  require_paths:
2007
2053
  - lib
2008
2054
  required_ruby_version: !ruby/object:Gem::Requirement
2055
+ none: false
2009
2056
  requirements:
2010
- - - ">="
2057
+ - - ! '>='
2011
2058
  - !ruby/object:Gem::Version
2012
2059
  version: 2.0.0
2013
2060
  required_rubygems_version: !ruby/object:Gem::Requirement
2061
+ none: false
2014
2062
  requirements:
2015
- - - ">="
2063
+ - - ! '>='
2016
2064
  - !ruby/object:Gem::Version
2017
2065
  version: '0'
2018
2066
  requirements: []
2019
2067
  rubyforge_project:
2020
- rubygems_version: 2.4.4
2068
+ rubygems_version: 1.8.24
2021
2069
  signing_key:
2022
- specification_version: 4
2070
+ specification_version: 3
2023
2071
  summary: A systems integration framework, built to bring the benefits of configuration
2024
2072
  management to your entire infrastructure.
2025
2073
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 82c61d2c49f8f11a4e6c2d41a7bc5adee542f2dc
4
- data.tar.gz: c8b40f319c99568a237db6fb7112d3945ea7691c
5
- SHA512:
6
- metadata.gz: 59c300073ab324ae2d095120bfa6ec55dee5d927110bc6a2b1cc5a01ba0c152313d2056d849c398bbeda6f801a4357983f982c4c5e63f2dbd37ba67a21159d18
7
- data.tar.gz: 85fd4cc2dbfd1a876b2c46429a0429936dd4936506068af4edd4300de1f19dd9f56e91effb0e31affa52ecf43347ef24a54a45da521286be02277009ece72acf