chef 10.30.4 → 10.32.0.rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/distro/common/html/chef-client.8.html +4 -4
  3. data/distro/common/html/chef-expander.8.html +4 -4
  4. data/distro/common/html/chef-expanderctl.8.html +4 -4
  5. data/distro/common/html/chef-server-webui.8.html +4 -4
  6. data/distro/common/html/chef-server.8.html +4 -4
  7. data/distro/common/html/chef-solo.8.html +4 -4
  8. data/distro/common/html/chef-solr.8.html +5 -5
  9. data/distro/common/html/knife-bootstrap.1.html +4 -4
  10. data/distro/common/html/knife-client.1.html +4 -4
  11. data/distro/common/html/knife-configure.1.html +4 -4
  12. data/distro/common/html/knife-cookbook-site.1.html +4 -4
  13. data/distro/common/html/knife-cookbook.1.html +4 -4
  14. data/distro/common/html/knife-data-bag.1.html +4 -4
  15. data/distro/common/html/knife-environment.1.html +4 -4
  16. data/distro/common/html/knife-exec.1.html +4 -4
  17. data/distro/common/html/knife-index.1.html +4 -4
  18. data/distro/common/html/knife-node.1.html +4 -4
  19. data/distro/common/html/knife-role.1.html +4 -4
  20. data/distro/common/html/knife-search.1.html +4 -4
  21. data/distro/common/html/knife-ssh.1.html +4 -4
  22. data/distro/common/html/knife-status.1.html +4 -4
  23. data/distro/common/html/knife-tag.1.html +4 -4
  24. data/distro/common/html/knife.1.html +4 -4
  25. data/distro/common/html/shef.1.html +4 -4
  26. data/distro/common/man/man1/knife-bootstrap.1 +0 -201
  27. data/distro/common/man/man1/knife-client.1 +0 -99
  28. data/distro/common/man/man1/knife-configure.1 +0 -88
  29. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  30. data/distro/common/man/man1/knife-cookbook.1 +1 -1
  31. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  32. data/distro/common/man/man1/knife-environment.1 +1 -1
  33. data/distro/common/man/man1/knife-exec.1 +1 -1
  34. data/distro/common/man/man1/knife-index.1 +1 -1
  35. data/distro/common/man/man1/knife-node.1 +1 -1
  36. data/distro/common/man/man1/knife-role.1 +1 -1
  37. data/distro/common/man/man1/knife-search.1 +1 -1
  38. data/distro/common/man/man1/knife-ssh.1 +1 -1
  39. data/distro/common/man/man1/knife-status.1 +1 -1
  40. data/distro/common/man/man1/knife-tag.1 +1 -1
  41. data/distro/common/man/man1/knife.1 +1 -1
  42. data/distro/common/man/man1/shef.1 +1 -1
  43. data/distro/common/man/man8/chef-client.8 +1 -1
  44. data/distro/common/man/man8/chef-expander.8 +1 -1
  45. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  46. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  47. data/distro/common/man/man8/chef-server.8 +1 -1
  48. data/distro/common/man/man8/chef-solo.8 +1 -1
  49. data/distro/common/man/man8/chef-solr.8 +1 -1
  50. data/lib/chef/api_client.rb +22 -0
  51. data/lib/chef/checksum_cache.rb +1 -1
  52. data/lib/chef/provider/service/macosx.rb +69 -15
  53. data/lib/chef/version.rb +1 -1
  54. data/spec/unit/api_client_spec.rb +58 -0
  55. data/spec/unit/provider/service/macosx_spec.rb +29 -11
  56. metadata +117 -171
@@ -17,7 +17,7 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '10.30.4'
20
+ VERSION = '10.32.0.rc.0'
21
21
  end
22
22
 
23
23
  # NOTE: the Chef::Version class is defined in version_class.rb
@@ -251,6 +251,64 @@ describe Chef::ApiClient do
251
251
  end
252
252
 
253
253
  end
254
+
255
+ context "and client side key generation is enabled" do
256
+
257
+ let(:response) { {"uri"=> "https://example.com/clients/selfgenkeytest-1395958070", "public_key" => "rsa-key-data"} }
258
+ let(:pkey_in) { IO.read(File.join(CHEF_SPEC_DATA, "ssl/private_key.pem")) }
259
+
260
+ let(:generated_key) { OpenSSL::PKey::RSA.new(pkey_in) }
261
+ let(:generated_public_key) { generated_key.public_key }
262
+
263
+ before do
264
+ @client.name("deadsexy")
265
+ OpenSSL::PKey::RSA.stub(:generate).and_return(generated_key)
266
+ Chef::Config.stub(:local_key_generation).and_return true
267
+ end
268
+
269
+ context "and the client doesn't exist" do
270
+ let(:response) { {"uri"=> "https://example.com/clients/selfgenkeytest-1395958070", "public_key" => "rsa-key-data"} }
271
+ let(:pkey_in) { IO.read(File.join(CHEF_SPEC_DATA, "ssl/private_key.pem")) }
272
+
273
+ let(:generated_key) { OpenSSL::PKey::RSA.new(pkey_in) }
274
+ let(:generated_public_key) { generated_key.public_key }
275
+
276
+ before do
277
+ @http_client.should_receive(:post_rest).
278
+ with("clients", :name => "deadsexy", :admin => false, :public_key => generated_public_key.to_pem).
279
+ and_return(response)
280
+ end
281
+
282
+ it "creates the client with self generated key" do
283
+ @client.save(true, true)
284
+ @client.private_key.should == generated_key.to_pem
285
+ end
286
+
287
+ end
288
+
289
+ context "and the client already exists" do
290
+ before do
291
+ http_conflict_response = Net::HTTPConflict.new("409 blah blah", "409", "409")
292
+ http_conflict_error = Net::HTTPServerException.new("409 conflict", http_conflict_response)
293
+
294
+ @http_client.should_receive(:post_rest).
295
+ with("clients", :name => "deadsexy", :admin => false, :public_key => generated_public_key.to_pem).
296
+ and_raise(http_conflict_error)
297
+
298
+ @http_client.should_receive(:put_rest).
299
+ with("clients/deadsexy", :name => "deadsexy", :admin => false, :public_key => generated_public_key.to_pem).
300
+ and_return(response)
301
+ end
302
+
303
+ it "creates the client with self generated key" do
304
+ @client.save(true, true)
305
+ @client.private_key.should == generated_key.to_pem
306
+ end
307
+
308
+ end
309
+
310
+ end
311
+
254
312
  end
255
313
  end
256
314
 
@@ -23,13 +23,31 @@ describe Chef::Provider::Service::Macosx do
23
23
  let(:events) {Chef::EventDispatch::Dispatcher.new}
24
24
  let(:run_context) { Chef::RunContext.new(node, {}, events) }
25
25
  let(:provider) { described_class.new(new_resource, run_context) }
26
- let(:stdout) { StringIO.new }
26
+ let(:launchctl_stdout) { StringIO.new }
27
+ let(:plutil_stdout) { String.new <<-XML }
28
+ <?xml version="1.0" encoding="UTF-8"?>
29
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
30
+ <plist version="1.0">
31
+ <dict>
32
+ <key>Label</key>
33
+ <string>io.redis.redis-server</string>
34
+ </dict>
35
+ </plist>
36
+ XML
27
37
 
28
38
  before do
29
39
  Dir.stub!(:glob).and_return(["/Users/igor/Library/LaunchAgents/io.redis.redis-server.plist"], [])
30
40
  provider.stub!(:shell_out!).
31
41
  with("launchctl list", {:group => 1001, :user => 101}).
32
- and_return(mock("ouput", :stdout => stdout))
42
+ and_return(mock("Status", :stdout => launchctl_stdout))
43
+ provider.stub!(:shell_out).
44
+ with(/launchctl list /,
45
+ {:group => nil, :user => nil}).
46
+ and_return(mock("Status",
47
+ :stdout => launchctl_stdout, :exitstatus => 0))
48
+ provider.stub!(:shell_out!).
49
+ with(/plutil -convert xml1 -o/).
50
+ and_return(mock("Status", :stdout => plutil_stdout))
33
51
 
34
52
  File.stub!(:stat).and_return(mock("stat", :gid => 1001, :uid => 101))
35
53
  end
@@ -41,7 +59,7 @@ describe Chef::Provider::Service::Macosx do
41
59
 
42
60
  describe "#load_current_resource" do
43
61
  context "when launchctl returns pid in service list" do
44
- let(:stdout) { StringIO.new <<-SVC_LIST }
62
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
45
63
  12761 - 0x100114220.old.machinit.thing
46
64
  7777 - io.redis.redis-server
47
65
  - - com.lol.stopped-thing
@@ -61,21 +79,21 @@ SVC_LIST
61
79
  end
62
80
 
63
81
  describe "running unsupported actions" do
82
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
83
+ 12761 - 0x100114220.old.machinit.thing
84
+ 7777 - io.redis.redis-server
85
+ - - com.lol.stopped-thing
86
+ SVC_LIST
87
+
64
88
  before do
65
89
  Dir.stub!(:glob).and_return(["/Users/igor/Library/LaunchAgents/io.redis.redis-server.plist"], [])
66
90
  end
67
- it "should throw an exception when enable action is attempted" do
68
- lambda {provider.run_action(:enable)}.should raise_error(Chef::Exceptions::UnsupportedAction)
69
- end
70
91
  it "should throw an exception when reload action is attempted" do
71
92
  lambda {provider.run_action(:reload)}.should raise_error(Chef::Exceptions::UnsupportedAction)
72
93
  end
73
- it "should throw an exception when disable action is attempted" do
74
- lambda {provider.run_action(:disable)}.should raise_error(Chef::Exceptions::UnsupportedAction)
75
- end
76
94
  end
77
95
  context "when launchctl returns empty service pid" do
78
- let(:stdout) { StringIO.new <<-SVC_LIST }
96
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
79
97
  12761 - 0x100114220.old.machinit.thing
80
98
  - - io.redis.redis-server
81
99
  - - com.lol.stopped-thing
@@ -95,7 +113,7 @@ SVC_LIST
95
113
  end
96
114
 
97
115
  context "when launchctl doesn't return service entry at all" do
98
- let(:stdout) { StringIO.new <<-SVC_LIST }
116
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
99
117
  12761 - 0x100114220.old.machinit.thing
100
118
  - - com.lol.stopped-thing
101
119
  SVC_LIST
metadata CHANGED
@@ -1,466 +1,413 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.30.4
5
- prerelease:
4
+ version: 10.32.0.rc.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adam Jacob
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: mixlib-config
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.1.2
22
- - - ~>
20
+ - - "~>"
23
21
  - !ruby/object:Gem::Version
24
22
  version: '1.1'
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 1.1.2
33
- - - ~>
30
+ - - "~>"
34
31
  - !ruby/object:Gem::Version
35
32
  version: '1.1'
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: mixlib-cli
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ~>
37
+ - - "~>"
42
38
  - !ruby/object:Gem::Version
43
39
  version: '1.1'
44
40
  type: :runtime
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
- - - ~>
44
+ - - "~>"
50
45
  - !ruby/object:Gem::Version
51
46
  version: '1.1'
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: mixlib-log
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
- - - ~>
51
+ - - "~>"
58
52
  - !ruby/object:Gem::Version
59
53
  version: '1.3'
60
54
  type: :runtime
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
- - - ~>
58
+ - - "~>"
66
59
  - !ruby/object:Gem::Version
67
60
  version: '1.3'
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: mixlib-authentication
70
63
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
- - - ~>
65
+ - - "~>"
74
66
  - !ruby/object:Gem::Version
75
67
  version: '1.3'
76
68
  type: :runtime
77
69
  prerelease: false
78
70
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
71
  requirements:
81
- - - ~>
72
+ - - "~>"
82
73
  - !ruby/object:Gem::Version
83
74
  version: '1.3'
84
75
  - !ruby/object:Gem::Dependency
85
76
  name: mixlib-shellout
86
77
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
78
  requirements:
89
- - - ~>
79
+ - - "~>"
90
80
  - !ruby/object:Gem::Version
91
81
  version: '1.3'
92
82
  type: :runtime
93
83
  prerelease: false
94
84
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ~>
86
+ - - "~>"
98
87
  - !ruby/object:Gem::Version
99
88
  version: '1.3'
100
89
  - !ruby/object:Gem::Dependency
101
90
  name: ohai
102
91
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
92
  requirements:
105
- - - ! '>='
93
+ - - ">="
106
94
  - !ruby/object:Gem::Version
107
95
  version: 0.6.0
108
- - - <
96
+ - - "<"
109
97
  - !ruby/object:Gem::Version
110
98
  version: 7.0.0
111
99
  type: :runtime
112
100
  prerelease: false
113
101
  version_requirements: !ruby/object:Gem::Requirement
114
- none: false
115
102
  requirements:
116
- - - ! '>='
103
+ - - ">="
117
104
  - !ruby/object:Gem::Version
118
105
  version: 0.6.0
119
- - - <
106
+ - - "<"
120
107
  - !ruby/object:Gem::Version
121
108
  version: 7.0.0
122
109
  - !ruby/object:Gem::Dependency
123
110
  name: rest-client
124
111
  requirement: !ruby/object:Gem::Requirement
125
- none: false
126
112
  requirements:
127
- - - ! '>='
113
+ - - ">="
128
114
  - !ruby/object:Gem::Version
129
115
  version: 1.0.4
130
- - - <
116
+ - - "<"
131
117
  - !ruby/object:Gem::Version
132
118
  version: 1.7.0
133
119
  type: :runtime
134
120
  prerelease: false
135
121
  version_requirements: !ruby/object:Gem::Requirement
136
- none: false
137
122
  requirements:
138
- - - ! '>='
123
+ - - ">="
139
124
  - !ruby/object:Gem::Version
140
125
  version: 1.0.4
141
- - - <
126
+ - - "<"
142
127
  - !ruby/object:Gem::Version
143
128
  version: 1.7.0
144
129
  - !ruby/object:Gem::Dependency
145
130
  name: mime-types
146
131
  requirement: !ruby/object:Gem::Requirement
147
- none: false
148
132
  requirements:
149
- - - ~>
133
+ - - "~>"
150
134
  - !ruby/object:Gem::Version
151
135
  version: '1.16'
152
136
  type: :runtime
153
137
  prerelease: false
154
138
  version_requirements: !ruby/object:Gem::Requirement
155
- none: false
156
139
  requirements:
157
- - - ~>
140
+ - - "~>"
158
141
  - !ruby/object:Gem::Version
159
142
  version: '1.16'
160
143
  - !ruby/object:Gem::Dependency
161
144
  name: bunny
162
145
  requirement: !ruby/object:Gem::Requirement
163
- none: false
164
146
  requirements:
165
- - - ! '>='
147
+ - - ">="
166
148
  - !ruby/object:Gem::Version
167
149
  version: 0.6.0
168
- - - <
150
+ - - "<"
169
151
  - !ruby/object:Gem::Version
170
152
  version: 0.8.0
171
153
  type: :runtime
172
154
  prerelease: false
173
155
  version_requirements: !ruby/object:Gem::Requirement
174
- none: false
175
156
  requirements:
176
- - - ! '>='
157
+ - - ">="
177
158
  - !ruby/object:Gem::Version
178
159
  version: 0.6.0
179
- - - <
160
+ - - "<"
180
161
  - !ruby/object:Gem::Version
181
162
  version: 0.8.0
182
163
  - !ruby/object:Gem::Dependency
183
164
  name: json
184
165
  requirement: !ruby/object:Gem::Requirement
185
- none: false
186
166
  requirements:
187
- - - ! '>='
167
+ - - ">="
188
168
  - !ruby/object:Gem::Version
189
169
  version: 1.4.4
190
- - - <=
170
+ - - "<="
191
171
  - !ruby/object:Gem::Version
192
172
  version: 1.7.7
193
173
  type: :runtime
194
174
  prerelease: false
195
175
  version_requirements: !ruby/object:Gem::Requirement
196
- none: false
197
176
  requirements:
198
- - - ! '>='
177
+ - - ">="
199
178
  - !ruby/object:Gem::Version
200
179
  version: 1.4.4
201
- - - <=
180
+ - - "<="
202
181
  - !ruby/object:Gem::Version
203
182
  version: 1.7.7
204
183
  - !ruby/object:Gem::Dependency
205
184
  name: yajl-ruby
206
185
  requirement: !ruby/object:Gem::Requirement
207
- none: false
208
186
  requirements:
209
- - - ~>
187
+ - - "~>"
210
188
  - !ruby/object:Gem::Version
211
189
  version: '1.1'
212
190
  type: :runtime
213
191
  prerelease: false
214
192
  version_requirements: !ruby/object:Gem::Requirement
215
- none: false
216
193
  requirements:
217
- - - ~>
194
+ - - "~>"
218
195
  - !ruby/object:Gem::Version
219
196
  version: '1.1'
220
197
  - !ruby/object:Gem::Dependency
221
198
  name: treetop
222
199
  requirement: !ruby/object:Gem::Requirement
223
- none: false
224
200
  requirements:
225
- - - ~>
201
+ - - "~>"
226
202
  - !ruby/object:Gem::Version
227
203
  version: 1.4.9
228
204
  type: :runtime
229
205
  prerelease: false
230
206
  version_requirements: !ruby/object:Gem::Requirement
231
- none: false
232
207
  requirements:
233
- - - ~>
208
+ - - "~>"
234
209
  - !ruby/object:Gem::Version
235
210
  version: 1.4.9
236
211
  - !ruby/object:Gem::Dependency
237
212
  name: net-ssh
238
213
  requirement: !ruby/object:Gem::Requirement
239
- none: false
240
214
  requirements:
241
- - - ~>
215
+ - - "~>"
242
216
  - !ruby/object:Gem::Version
243
217
  version: '2.6'
244
218
  type: :runtime
245
219
  prerelease: false
246
220
  version_requirements: !ruby/object:Gem::Requirement
247
- none: false
248
221
  requirements:
249
- - - ~>
222
+ - - "~>"
250
223
  - !ruby/object:Gem::Version
251
224
  version: '2.6'
252
225
  - !ruby/object:Gem::Dependency
253
226
  name: net-ssh-multi
254
227
  requirement: !ruby/object:Gem::Requirement
255
- none: false
256
228
  requirements:
257
- - - ~>
229
+ - - "~>"
258
230
  - !ruby/object:Gem::Version
259
231
  version: 1.1.0
260
232
  type: :runtime
261
233
  prerelease: false
262
234
  version_requirements: !ruby/object:Gem::Requirement
263
- none: false
264
235
  requirements:
265
- - - ~>
236
+ - - "~>"
266
237
  - !ruby/object:Gem::Version
267
238
  version: 1.1.0
268
239
  - !ruby/object:Gem::Dependency
269
240
  name: highline
270
241
  requirement: !ruby/object:Gem::Requirement
271
- none: false
272
242
  requirements:
273
- - - ! '>='
243
+ - - ">="
274
244
  - !ruby/object:Gem::Version
275
245
  version: 1.6.9
276
- - - ~>
246
+ - - "~>"
277
247
  - !ruby/object:Gem::Version
278
248
  version: '1.6'
279
249
  type: :runtime
280
250
  prerelease: false
281
251
  version_requirements: !ruby/object:Gem::Requirement
282
- none: false
283
252
  requirements:
284
- - - ! '>='
253
+ - - ">="
285
254
  - !ruby/object:Gem::Version
286
255
  version: 1.6.9
287
- - - ~>
256
+ - - "~>"
288
257
  - !ruby/object:Gem::Version
289
258
  version: '1.6'
290
259
  - !ruby/object:Gem::Dependency
291
260
  name: moneta
292
261
  requirement: !ruby/object:Gem::Requirement
293
- none: false
294
262
  requirements:
295
- - - <
263
+ - - "<"
296
264
  - !ruby/object:Gem::Version
297
265
  version: 0.7.0
298
266
  type: :runtime
299
267
  prerelease: false
300
268
  version_requirements: !ruby/object:Gem::Requirement
301
- none: false
302
269
  requirements:
303
- - - <
270
+ - - "<"
304
271
  - !ruby/object:Gem::Version
305
272
  version: 0.7.0
306
273
  - !ruby/object:Gem::Dependency
307
274
  name: erubis
308
275
  requirement: !ruby/object:Gem::Requirement
309
- none: false
310
276
  requirements:
311
- - - ! '>='
277
+ - - ">="
312
278
  - !ruby/object:Gem::Version
313
279
  version: '0'
314
280
  type: :runtime
315
281
  prerelease: false
316
282
  version_requirements: !ruby/object:Gem::Requirement
317
- none: false
318
283
  requirements:
319
- - - ! '>='
284
+ - - ">="
320
285
  - !ruby/object:Gem::Version
321
286
  version: '0'
322
287
  - !ruby/object:Gem::Dependency
323
288
  name: uuidtools
324
289
  requirement: !ruby/object:Gem::Requirement
325
- none: false
326
290
  requirements:
327
- - - ! '>='
291
+ - - ">="
328
292
  - !ruby/object:Gem::Version
329
293
  version: '0'
330
294
  type: :runtime
331
295
  prerelease: false
332
296
  version_requirements: !ruby/object:Gem::Requirement
333
- none: false
334
297
  requirements:
335
- - - ! '>='
298
+ - - ">="
336
299
  - !ruby/object:Gem::Version
337
300
  version: '0'
338
301
  - !ruby/object:Gem::Dependency
339
302
  name: rdoc
340
303
  requirement: !ruby/object:Gem::Requirement
341
- none: false
342
304
  requirements:
343
- - - ! '>='
305
+ - - ">="
344
306
  - !ruby/object:Gem::Version
345
307
  version: '0'
346
308
  type: :development
347
309
  prerelease: false
348
310
  version_requirements: !ruby/object:Gem::Requirement
349
- none: false
350
311
  requirements:
351
- - - ! '>='
312
+ - - ">="
352
313
  - !ruby/object:Gem::Version
353
314
  version: '0'
354
315
  - !ruby/object:Gem::Dependency
355
316
  name: sdoc
356
317
  requirement: !ruby/object:Gem::Requirement
357
- none: false
358
318
  requirements:
359
- - - ! '>='
319
+ - - ">="
360
320
  - !ruby/object:Gem::Version
361
321
  version: '0'
362
322
  type: :development
363
323
  prerelease: false
364
324
  version_requirements: !ruby/object:Gem::Requirement
365
- none: false
366
325
  requirements:
367
- - - ! '>='
326
+ - - ">="
368
327
  - !ruby/object:Gem::Version
369
328
  version: '0'
370
329
  - !ruby/object:Gem::Dependency
371
330
  name: rake
372
331
  requirement: !ruby/object:Gem::Requirement
373
- none: false
374
332
  requirements:
375
- - - ! '>='
333
+ - - ">="
376
334
  - !ruby/object:Gem::Version
377
335
  version: '0'
378
336
  type: :development
379
337
  prerelease: false
380
338
  version_requirements: !ruby/object:Gem::Requirement
381
- none: false
382
339
  requirements:
383
- - - ! '>='
340
+ - - ">="
384
341
  - !ruby/object:Gem::Version
385
342
  version: '0'
386
343
  - !ruby/object:Gem::Dependency
387
344
  name: rack
388
345
  requirement: !ruby/object:Gem::Requirement
389
- none: false
390
346
  requirements:
391
- - - ! '>='
347
+ - - ">="
392
348
  - !ruby/object:Gem::Version
393
349
  version: '0'
394
350
  type: :development
395
351
  prerelease: false
396
352
  version_requirements: !ruby/object:Gem::Requirement
397
- none: false
398
353
  requirements:
399
- - - ! '>='
354
+ - - ">="
400
355
  - !ruby/object:Gem::Version
401
356
  version: '0'
402
357
  - !ruby/object:Gem::Dependency
403
358
  name: rspec_junit_formatter
404
359
  requirement: !ruby/object:Gem::Requirement
405
- none: false
406
360
  requirements:
407
- - - ! '>='
361
+ - - ">="
408
362
  - !ruby/object:Gem::Version
409
363
  version: '0'
410
364
  type: :development
411
365
  prerelease: false
412
366
  version_requirements: !ruby/object:Gem::Requirement
413
- none: false
414
367
  requirements:
415
- - - ! '>='
368
+ - - ">="
416
369
  - !ruby/object:Gem::Version
417
370
  version: '0'
418
371
  - !ruby/object:Gem::Dependency
419
372
  name: rspec-core
420
373
  requirement: !ruby/object:Gem::Requirement
421
- none: false
422
374
  requirements:
423
- - - ~>
375
+ - - "~>"
424
376
  - !ruby/object:Gem::Version
425
377
  version: 2.12.0
426
378
  type: :development
427
379
  prerelease: false
428
380
  version_requirements: !ruby/object:Gem::Requirement
429
- none: false
430
381
  requirements:
431
- - - ~>
382
+ - - "~>"
432
383
  - !ruby/object:Gem::Version
433
384
  version: 2.12.0
434
385
  - !ruby/object:Gem::Dependency
435
386
  name: rspec-expectations
436
387
  requirement: !ruby/object:Gem::Requirement
437
- none: false
438
388
  requirements:
439
- - - ~>
389
+ - - "~>"
440
390
  - !ruby/object:Gem::Version
441
391
  version: 2.12.0
442
392
  type: :development
443
393
  prerelease: false
444
394
  version_requirements: !ruby/object:Gem::Requirement
445
- none: false
446
395
  requirements:
447
- - - ~>
396
+ - - "~>"
448
397
  - !ruby/object:Gem::Version
449
398
  version: 2.12.0
450
399
  - !ruby/object:Gem::Dependency
451
400
  name: rspec-mocks
452
401
  requirement: !ruby/object:Gem::Requirement
453
- none: false
454
402
  requirements:
455
- - - ~>
403
+ - - "~>"
456
404
  - !ruby/object:Gem::Version
457
405
  version: 2.12.0
458
406
  type: :development
459
407
  prerelease: false
460
408
  version_requirements: !ruby/object:Gem::Requirement
461
- none: false
462
409
  requirements:
463
- - - ~>
410
+ - - "~>"
464
411
  - !ruby/object:Gem::Version
465
412
  version: 2.12.0
466
413
  description: A systems integration framework, built to bring the benefits of configuration
@@ -476,9 +423,14 @@ extra_rdoc_files:
476
423
  - README.rdoc
477
424
  - LICENSE
478
425
  files:
479
- - Rakefile
480
426
  - LICENSE
481
427
  - README.rdoc
428
+ - Rakefile
429
+ - bin/chef-client
430
+ - bin/chef-solo
431
+ - bin/knife
432
+ - bin/shef
433
+ - distro/README
482
434
  - distro/arch/etc/conf.d/chef-client.conf
483
435
  - distro/arch/etc/conf.d/chef-expander.conf
484
436
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -538,6 +490,7 @@ files:
538
490
  - distro/common/man/man8/chef-server.8
539
491
  - distro/common/man/man8/chef-solo.8
540
492
  - distro/common/man/man8/chef-solr.8
493
+ - distro/common/markdown/README
541
494
  - distro/common/markdown/man1/knife-bootstrap.mkd
542
495
  - distro/common/markdown/man1/knife-client.mkd
543
496
  - distro/common/markdown/man1/knife-configure.mkd
@@ -562,23 +515,21 @@ files:
562
515
  - distro/common/markdown/man8/chef-server.mkd
563
516
  - distro/common/markdown/man8/chef-solo.mkd
564
517
  - distro/common/markdown/man8/chef-solr.mkd
565
- - distro/common/markdown/README
566
518
  - distro/debian/etc/default/chef-client
567
519
  - distro/debian/etc/default/chef-expander
568
520
  - distro/debian/etc/default/chef-server
569
521
  - distro/debian/etc/default/chef-server-webui
570
522
  - distro/debian/etc/default/chef-solr
571
- - distro/debian/etc/init/chef-client.conf
572
- - distro/debian/etc/init/chef-expander.conf
573
- - distro/debian/etc/init/chef-server-webui.conf
574
- - distro/debian/etc/init/chef-server.conf
575
- - distro/debian/etc/init/chef-solr.conf
576
523
  - distro/debian/etc/init.d/chef-client
577
524
  - distro/debian/etc/init.d/chef-expander
578
525
  - distro/debian/etc/init.d/chef-server
579
526
  - distro/debian/etc/init.d/chef-server-webui
580
527
  - distro/debian/etc/init.d/chef-solr
581
- - distro/README
528
+ - distro/debian/etc/init/chef-client.conf
529
+ - distro/debian/etc/init/chef-expander.conf
530
+ - distro/debian/etc/init/chef-server-webui.conf
531
+ - distro/debian/etc/init/chef-server.conf
532
+ - distro/debian/etc/init/chef-solr.conf
582
533
  - distro/redhat/etc/init.d/chef-client
583
534
  - distro/redhat/etc/init.d/chef-expander
584
535
  - distro/redhat/etc/init.d/chef-server
@@ -595,18 +546,19 @@ files:
595
546
  - distro/redhat/etc/sysconfig/chef-server-webui
596
547
  - distro/redhat/etc/sysconfig/chef-solr
597
548
  - distro/windows/service_manager.rb
549
+ - lib/chef.rb
598
550
  - lib/chef/api_client.rb
551
+ - lib/chef/application.rb
599
552
  - lib/chef/application/agent.rb
600
553
  - lib/chef/application/client.rb
601
554
  - lib/chef/application/knife.rb
602
555
  - lib/chef/application/solo.rb
603
556
  - lib/chef/application/windows_service.rb
604
- - lib/chef/application.rb
605
557
  - lib/chef/applications.rb
606
558
  - lib/chef/certificate.rb
607
- - lib/chef/checksum/storage/filesystem.rb
608
- - lib/chef/checksum/storage.rb
609
559
  - lib/chef/checksum.rb
560
+ - lib/chef/checksum/storage.rb
561
+ - lib/chef/checksum/storage/filesystem.rb
610
562
  - lib/chef/checksum_cache.rb
611
563
  - lib/chef/client.rb
612
564
  - lib/chef/config.rb
@@ -633,13 +585,14 @@ files:
633
585
  - lib/chef/event_dispatch/base.rb
634
586
  - lib/chef/event_dispatch/dispatcher.rb
635
587
  - lib/chef/exceptions.rb
588
+ - lib/chef/file_access_control.rb
636
589
  - lib/chef/file_access_control/unix.rb
637
590
  - lib/chef/file_access_control/windows.rb
638
- - lib/chef/file_access_control.rb
639
591
  - lib/chef/file_cache.rb
640
592
  - lib/chef/formatters/base.rb
641
593
  - lib/chef/formatters/doc.rb
642
594
  - lib/chef/formatters/error_descriptor.rb
595
+ - lib/chef/formatters/error_inspectors.rb
643
596
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
644
597
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
645
598
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -648,17 +601,18 @@ files:
648
601
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
649
602
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
650
603
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
651
- - lib/chef/formatters/error_inspectors.rb
652
604
  - lib/chef/formatters/error_mapper.rb
653
605
  - lib/chef/formatters/minimal.rb
606
+ - lib/chef/handler.rb
654
607
  - lib/chef/handler/error_report.rb
655
608
  - lib/chef/handler/json_file.rb
656
- - lib/chef/handler.rb
609
+ - lib/chef/index_queue.rb
657
610
  - lib/chef/index_queue/amqp_client.rb
658
611
  - lib/chef/index_queue/consumer.rb
659
612
  - lib/chef/index_queue/indexable.rb
660
- - lib/chef/index_queue.rb
661
613
  - lib/chef/json_compat.rb
614
+ - lib/chef/knife.rb
615
+ - lib/chef/knife/bootstrap.rb
662
616
  - lib/chef/knife/bootstrap/archlinux-gems.erb
663
617
  - lib/chef/knife/bootstrap/centos5-gems.erb
664
618
  - lib/chef/knife/bootstrap/chef-full.erb
@@ -667,7 +621,6 @@ files:
667
621
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
668
622
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
669
623
  - lib/chef/knife/bootstrap/ubuntu12.10-gems.erb
670
- - lib/chef/knife/bootstrap.rb
671
624
  - lib/chef/knife/client_bulk_delete.rb
672
625
  - lib/chef/knife/client_create.rb
673
626
  - lib/chef/knife/client_delete.rb
@@ -743,14 +696,13 @@ files:
743
696
  - lib/chef/knife/tag_create.rb
744
697
  - lib/chef/knife/tag_delete.rb
745
698
  - lib/chef/knife/tag_list.rb
746
- - lib/chef/knife.rb
747
699
  - lib/chef/log.rb
748
700
  - lib/chef/mash.rb
749
701
  - lib/chef/mixin/check_helper.rb
750
702
  - lib/chef/mixin/checksum.rb
703
+ - lib/chef/mixin/command.rb
751
704
  - lib/chef/mixin/command/unix.rb
752
705
  - lib/chef/mixin/command/windows.rb
753
- - lib/chef/mixin/command.rb
754
706
  - lib/chef/mixin/convert_to_class_name.rb
755
707
  - lib/chef/mixin/create_path.rb
756
708
  - lib/chef/mixin/deep_merge.rb
@@ -782,24 +734,26 @@ files:
782
734
  - lib/chef/monkey_patches/tempfile.rb
783
735
  - lib/chef/monkey_patches/uri.rb
784
736
  - lib/chef/nil_argument.rb
785
- - lib/chef/node/attribute.rb
786
737
  - lib/chef/node.rb
738
+ - lib/chef/node/attribute.rb
787
739
  - lib/chef/openid_registration.rb
788
740
  - lib/chef/platform.rb
741
+ - lib/chef/provider.rb
789
742
  - lib/chef/provider/breakpoint.rb
790
743
  - lib/chef/provider/cookbook_file.rb
791
- - lib/chef/provider/cron/solaris.rb
792
744
  - lib/chef/provider/cron.rb
745
+ - lib/chef/provider/cron/solaris.rb
746
+ - lib/chef/provider/deploy.rb
793
747
  - lib/chef/provider/deploy/revision.rb
794
748
  - lib/chef/provider/deploy/timestamped.rb
795
- - lib/chef/provider/deploy.rb
796
749
  - lib/chef/provider/directory.rb
797
- - lib/chef/provider/env/windows.rb
798
750
  - lib/chef/provider/env.rb
751
+ - lib/chef/provider/env/windows.rb
799
752
  - lib/chef/provider/erl_call.rb
800
753
  - lib/chef/provider/execute.rb
801
754
  - lib/chef/provider/file.rb
802
755
  - lib/chef/provider/git.rb
756
+ - lib/chef/provider/group.rb
803
757
  - lib/chef/provider/group/aix.rb
804
758
  - lib/chef/provider/group/dscl.rb
805
759
  - lib/chef/provider/group/gpasswd.rb
@@ -809,16 +763,16 @@ files:
809
763
  - lib/chef/provider/group/suse.rb
810
764
  - lib/chef/provider/group/usermod.rb
811
765
  - lib/chef/provider/group/windows.rb
812
- - lib/chef/provider/group.rb
813
766
  - lib/chef/provider/http_request.rb
814
767
  - lib/chef/provider/ifconfig.rb
815
768
  - lib/chef/provider/link.rb
816
769
  - lib/chef/provider/log.rb
817
770
  - lib/chef/provider/mdadm.rb
771
+ - lib/chef/provider/mount.rb
818
772
  - lib/chef/provider/mount/mount.rb
819
773
  - lib/chef/provider/mount/windows.rb
820
- - lib/chef/provider/mount.rb
821
774
  - lib/chef/provider/ohai.rb
775
+ - lib/chef/provider/package.rb
822
776
  - lib/chef/provider/package/apt.rb
823
777
  - lib/chef/provider/package/dpkg.rb
824
778
  - lib/chef/provider/package/easy_install.rb
@@ -834,13 +788,13 @@ files:
834
788
  - lib/chef/provider/package/yum-dump.py
835
789
  - lib/chef/provider/package/yum.rb
836
790
  - lib/chef/provider/package/zypper.rb
837
- - lib/chef/provider/package.rb
838
791
  - lib/chef/provider/remote_directory.rb
839
792
  - lib/chef/provider/remote_file.rb
840
793
  - lib/chef/provider/resource_update.rb
841
794
  - lib/chef/provider/route.rb
842
795
  - lib/chef/provider/ruby_block.rb
843
796
  - lib/chef/provider/script.rb
797
+ - lib/chef/provider/service.rb
844
798
  - lib/chef/provider/service/arch.rb
845
799
  - lib/chef/provider/service/debian.rb
846
800
  - lib/chef/provider/service/freebsd.rb
@@ -855,20 +809,19 @@ files:
855
809
  - lib/chef/provider/service/systemd.rb
856
810
  - lib/chef/provider/service/upstart.rb
857
811
  - lib/chef/provider/service/windows.rb
858
- - lib/chef/provider/service.rb
859
812
  - lib/chef/provider/subversion.rb
860
813
  - lib/chef/provider/template.rb
814
+ - lib/chef/provider/user.rb
861
815
  - lib/chef/provider/user/dscl.rb
862
816
  - lib/chef/provider/user/pw.rb
863
817
  - lib/chef/provider/user/solaris.rb
864
818
  - lib/chef/provider/user/useradd.rb
865
819
  - lib/chef/provider/user/windows.rb
866
- - lib/chef/provider/user.rb
867
820
  - lib/chef/provider/whyrun_safe_ruby_block.rb
868
- - lib/chef/provider.rb
869
821
  - lib/chef/providers.rb
870
822
  - lib/chef/recipe.rb
871
823
  - lib/chef/reserved_names.rb
824
+ - lib/chef/resource.rb
872
825
  - lib/chef/resource/apt_package.rb
873
826
  - lib/chef/resource/bash.rb
874
827
  - lib/chef/resource/breakpoint.rb
@@ -921,52 +874,52 @@ files:
921
874
  - lib/chef/resource/user.rb
922
875
  - lib/chef/resource/whyrun_safe_ruby_block.rb
923
876
  - lib/chef/resource/yum_package.rb
924
- - lib/chef/resource.rb
925
- - lib/chef/resource_collection/stepable_iterator.rb
926
877
  - lib/chef/resource_collection.rb
878
+ - lib/chef/resource_collection/stepable_iterator.rb
927
879
  - lib/chef/resource_definition.rb
928
880
  - lib/chef/resource_definition_list.rb
929
881
  - lib/chef/resource_platform_map.rb
930
882
  - lib/chef/resource_reporter.rb
931
883
  - lib/chef/resources.rb
884
+ - lib/chef/rest.rb
932
885
  - lib/chef/rest/auth_credentials.rb
933
886
  - lib/chef/rest/cookie_jar.rb
934
887
  - lib/chef/rest/rest_request.rb
935
- - lib/chef/rest.rb
936
888
  - lib/chef/role.rb
937
889
  - lib/chef/run_context.rb
890
+ - lib/chef/run_list.rb
938
891
  - lib/chef/run_list/run_list_expansion.rb
939
892
  - lib/chef/run_list/run_list_item.rb
940
893
  - lib/chef/run_list/versioned_recipe_list.rb
941
- - lib/chef/run_list.rb
942
894
  - lib/chef/run_status.rb
943
895
  - lib/chef/runner.rb
944
896
  - lib/chef/sandbox.rb
945
897
  - lib/chef/scan_access_control.rb
946
898
  - lib/chef/search/query.rb
899
+ - lib/chef/shef.rb
947
900
  - lib/chef/shef/ext.rb
948
901
  - lib/chef/shef/model_wrapper.rb
949
902
  - lib/chef/shef/shef_rest.rb
950
903
  - lib/chef/shef/shef_session.rb
951
- - lib/chef/shef.rb
952
904
  - lib/chef/shell_out.rb
905
+ - lib/chef/solr_query.rb
953
906
  - lib/chef/solr_query/lucene.treetop
954
907
  - lib/chef/solr_query/lucene_nodes.rb
955
908
  - lib/chef/solr_query/query_transform.rb
956
909
  - lib/chef/solr_query/solr_http_request.rb
957
- - lib/chef/solr_query.rb
958
910
  - lib/chef/streaming_cookbook_uploader.rb
959
911
  - lib/chef/tasks/chef_repo.rake
960
912
  - lib/chef/util/file_edit.rb
913
+ - lib/chef/util/windows.rb
961
914
  - lib/chef/util/windows/net_group.rb
962
915
  - lib/chef/util/windows/net_use.rb
963
916
  - lib/chef/util/windows/net_user.rb
964
917
  - lib/chef/util/windows/volume.rb
965
- - lib/chef/util/windows.rb
966
918
  - lib/chef/version.rb
967
919
  - lib/chef/version_class.rb
968
920
  - lib/chef/version_constraint.rb
969
921
  - lib/chef/webui_user.rb
922
+ - lib/chef/win32/api.rb
970
923
  - lib/chef/win32/api/error.rb
971
924
  - lib/chef/win32/api/file.rb
972
925
  - lib/chef/win32/api/memory.rb
@@ -975,35 +928,32 @@ files:
975
928
  - lib/chef/win32/api/security.rb
976
929
  - lib/chef/win32/api/system.rb
977
930
  - lib/chef/win32/api/unicode.rb
978
- - lib/chef/win32/api.rb
979
931
  - lib/chef/win32/error.rb
980
- - lib/chef/win32/file/info.rb
981
932
  - lib/chef/win32/file.rb
933
+ - lib/chef/win32/file/info.rb
982
934
  - lib/chef/win32/handle.rb
983
935
  - lib/chef/win32/memory.rb
984
936
  - lib/chef/win32/process.rb
937
+ - lib/chef/win32/security.rb
985
938
  - lib/chef/win32/security/ace.rb
986
939
  - lib/chef/win32/security/acl.rb
987
940
  - lib/chef/win32/security/securable_object.rb
988
941
  - lib/chef/win32/security/security_descriptor.rb
989
942
  - lib/chef/win32/security/sid.rb
990
943
  - lib/chef/win32/security/token.rb
991
- - lib/chef/win32/security.rb
992
944
  - lib/chef/win32/unicode.rb
993
945
  - lib/chef/win32/version.rb
994
- - lib/chef.rb
995
- - tasks/rspec.rb
996
946
  - spec/data/bad-config.rb
997
947
  - spec/data/big_json.json
998
948
  - spec/data/big_json_plus_one.json
999
949
  - spec/data/bootstrap/test-hints.erb
1000
950
  - spec/data/bootstrap/test.erb
951
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1001
952
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1002
953
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1003
954
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1004
955
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1005
956
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1006
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1007
957
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1008
958
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1009
959
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1437,33 +1387,29 @@ files:
1437
1387
  - spec/unit/version_class_spec.rb
1438
1388
  - spec/unit/version_constraint_spec.rb
1439
1389
  - spec/unit/webui_user_spec.rb
1440
- - bin/chef-client
1441
- - bin/chef-solo
1442
- - bin/knife
1443
- - bin/shef
1390
+ - tasks/rspec.rb
1444
1391
  homepage: http://wiki.opscode.com/display/chef
1445
1392
  licenses: []
1393
+ metadata: {}
1446
1394
  post_install_message:
1447
1395
  rdoc_options: []
1448
1396
  require_paths:
1449
1397
  - lib
1450
1398
  required_ruby_version: !ruby/object:Gem::Requirement
1451
- none: false
1452
1399
  requirements:
1453
- - - ! '>='
1400
+ - - ">="
1454
1401
  - !ruby/object:Gem::Version
1455
1402
  version: '0'
1456
1403
  required_rubygems_version: !ruby/object:Gem::Requirement
1457
- none: false
1458
1404
  requirements:
1459
- - - ! '>='
1405
+ - - ">"
1460
1406
  - !ruby/object:Gem::Version
1461
- version: '0'
1407
+ version: 1.3.1
1462
1408
  requirements: []
1463
1409
  rubyforge_project:
1464
- rubygems_version: 1.8.23
1410
+ rubygems_version: 2.2.2
1465
1411
  signing_key:
1466
- specification_version: 3
1412
+ specification_version: 4
1467
1413
  summary: A systems integration framework, built to bring the benefits of configuration
1468
1414
  management to your entire infrastructure.
1469
1415
  test_files: []