chef 11.14.0.alpha.4-x86-mingw32 → 11.14.0.rc.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. data/CONTRIBUTING.md +0 -4
  2. data/README.md +1 -1
  3. data/distro/common/man/man1/chef-shell.1 +4 -4
  4. data/distro/common/man/man1/knife-bootstrap.1 +14 -11
  5. data/distro/common/man/man1/knife-client.1 +14 -11
  6. data/distro/common/man/man1/knife-configure.1 +7 -7
  7. data/distro/common/man/man1/knife-cookbook-site.1 +23 -23
  8. data/distro/common/man/man1/knife-cookbook.1 +23 -23
  9. data/distro/common/man/man1/knife-data-bag.1 +13 -13
  10. data/distro/common/man/man1/knife-delete.1 +9 -9
  11. data/distro/common/man/man1/knife-deps.1 +9 -9
  12. data/distro/common/man/man1/knife-diff.1 +10 -10
  13. data/distro/common/man/man1/knife-download.1 +9 -9
  14. data/distro/common/man/man1/knife-edit.1 +7 -7
  15. data/distro/common/man/man1/knife-environment.1 +10 -10
  16. data/distro/common/man/man1/knife-exec.1 +7 -7
  17. data/distro/common/man/man1/knife-index-rebuild.1 +1 -1
  18. data/distro/common/man/man1/knife-list.1 +12 -12
  19. data/distro/common/man/man1/knife-node.1 +12 -9
  20. data/distro/common/man/man1/knife-raw.1 +7 -7
  21. data/distro/common/man/man1/knife-recipe-list.1 +1 -1
  22. data/distro/common/man/man1/knife-role.1 +8 -8
  23. data/distro/common/man/man1/knife-search.1 +9 -9
  24. data/distro/common/man/man1/knife-serve.1 +109 -0
  25. data/distro/common/man/man1/knife-show.1 +8 -8
  26. data/distro/common/man/man1/knife-ssh.1 +9 -9
  27. data/distro/common/man/man1/knife-ssl-check.1 +9 -9
  28. data/distro/common/man/man1/knife-ssl-fetch.1 +10 -10
  29. data/distro/common/man/man1/knife-status.1 +9 -9
  30. data/distro/common/man/man1/knife-tag.1 +7 -7
  31. data/distro/common/man/man1/knife-upload.1 +10 -10
  32. data/distro/common/man/man1/knife-user.1 +9 -9
  33. data/distro/common/man/man1/knife-xargs.1 +7 -7
  34. data/distro/common/man/man1/knife.1 +118 -14
  35. data/distro/common/man/man8/chef-client.8 +13 -10
  36. data/distro/common/man/man8/chef-solo.8 +13 -14
  37. data/distro/common/markdown/man1/knife.mkd +1 -1
  38. data/lib/chef/application/knife.rb +1 -1
  39. data/lib/chef/application/windows_service.rb +0 -1
  40. data/lib/chef/chef_fs/file_system.rb +6 -2
  41. data/lib/chef/config.rb +3 -2
  42. data/lib/chef/config_fetcher.rb +1 -1
  43. data/lib/chef/cookbook/metadata.rb +20 -14
  44. data/lib/chef/cookbook/synchronizer.rb +24 -13
  45. data/lib/chef/encrypted_data_bag_item/decryptor.rb +3 -3
  46. data/lib/chef/encrypted_data_bag_item/encryptor.rb +2 -2
  47. data/lib/chef/exceptions.rb +1 -0
  48. data/lib/chef/file_content_management/deploy/mv_windows.rb +1 -1
  49. data/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb +1 -1
  50. data/lib/chef/http.rb +6 -1
  51. data/lib/chef/http/http_request.rb +9 -1
  52. data/lib/chef/http/simple.rb +2 -1
  53. data/lib/chef/json_compat.rb +5 -16
  54. data/lib/chef/knife/bootstrap.rb +2 -0
  55. data/lib/chef/knife/bootstrap/archlinux-gems.erb +2 -2
  56. data/lib/chef/knife/core/object_loader.rb +3 -1
  57. data/lib/chef/knife/ssh.rb +14 -7
  58. data/lib/chef/mixin/convert_to_class_name.rb +1 -0
  59. data/lib/chef/mixin/windows_architecture_helper.rb +24 -4
  60. data/lib/chef/platform/provider_mapping.rb +13 -0
  61. data/lib/chef/provider/env/windows.rb +3 -6
  62. data/lib/chef/provider/git.rb +1 -2
  63. data/lib/chef/provider/log.rb +15 -1
  64. data/lib/chef/provider/package/apt.rb +3 -3
  65. data/lib/chef/provider/package/dpkg.rb +35 -16
  66. data/lib/chef/provider/package/paludis.rb +91 -0
  67. data/lib/chef/provider/package/rpm.rb +3 -2
  68. data/lib/chef/provider/package/yum-dump.py +6 -6
  69. data/lib/chef/provider/package/yum.rb +2 -0
  70. data/lib/chef/provider/registry_key.rb +4 -5
  71. data/lib/chef/provider/remote_file/cache_control_data.rb +1 -1
  72. data/lib/chef/provider/service/solaris.rb +1 -1
  73. data/lib/chef/provider/service/upstart.rb +2 -1
  74. data/lib/chef/provider/service/windows.rb +37 -9
  75. data/lib/chef/provider/user/pw.rb +1 -1
  76. data/lib/chef/provider/user/useradd.rb +1 -1
  77. data/lib/chef/provider/windows_script.rb +2 -1
  78. data/lib/chef/providers.rb +1 -0
  79. data/lib/chef/resource.rb +10 -0
  80. data/lib/chef/resource/file.rb +0 -9
  81. data/lib/chef/resource/package.rb +14 -4
  82. data/lib/chef/resource/paludis_package.rb +33 -0
  83. data/lib/chef/resource/registry_key.rb +62 -3
  84. data/lib/chef/resource/service.rb +21 -4
  85. data/lib/chef/resource_reporter.rb +10 -0
  86. data/lib/chef/resources.rb +1 -0
  87. data/lib/chef/role.rb +14 -10
  88. data/lib/chef/shell.rb +8 -0
  89. data/lib/chef/shell/shell_session.rb +3 -3
  90. data/lib/chef/user.rb +12 -11
  91. data/lib/chef/util/selinux.rb +1 -1
  92. data/lib/chef/version.rb +1 -1
  93. data/lib/chef/version_constraint.rb +6 -5
  94. data/lib/chef/win32/api/process.rb +1 -0
  95. data/lib/chef/win32/api/system.rb +14 -0
  96. data/lib/chef/win32/error.rb +1 -1
  97. data/lib/chef/win32/security.rb +5 -5
  98. data/lib/chef/win32/version.rb +6 -2
  99. data/spec/data/trusted_certs/opscode.pem +57 -35
  100. data/spec/functional/application_spec.rb +2 -2
  101. data/spec/functional/resource/mount_spec.rb +3 -1
  102. data/spec/functional/shell_spec.rb +10 -0
  103. data/spec/functional/tiny_server_spec.rb +2 -2
  104. data/spec/support/chef_helpers.rb +1 -1
  105. data/spec/support/shared/functional/securable_resource.rb +11 -2
  106. data/spec/support/shared/functional/securable_resource_with_reporting.rb +13 -2
  107. data/spec/tiny_server.rb +1 -1
  108. data/spec/unit/config_spec.rb +5 -0
  109. data/spec/unit/cookbook/metadata_spec.rb +24 -0
  110. data/spec/unit/environment_spec.rb +6 -0
  111. data/spec/unit/http/http_request_spec.rb +91 -0
  112. data/spec/unit/http_spec.rb +23 -0
  113. data/spec/unit/knife/bootstrap_spec.rb +2 -2
  114. data/spec/unit/knife/ssh_spec.rb +7 -13
  115. data/spec/unit/knife_spec.rb +1 -1
  116. data/spec/unit/mixin/convert_to_class_name_spec.rb +4 -0
  117. data/spec/unit/provider/git_spec.rb +2 -2
  118. data/spec/unit/provider/log_spec.rb +18 -0
  119. data/spec/unit/provider/mount/solaris_spec.rb +3 -1
  120. data/spec/unit/provider/package/apt_spec.rb +85 -40
  121. data/spec/unit/provider/package/dpkg_spec.rb +24 -48
  122. data/spec/unit/provider/package/paludis_spec.rb +135 -0
  123. data/spec/unit/provider/package/rpm_spec.rb +40 -32
  124. data/spec/unit/provider/package/yum_spec.rb +11 -4
  125. data/spec/unit/provider/registry_key_spec.rb +67 -53
  126. data/spec/unit/provider/remote_file/cache_control_data_spec.rb +10 -1
  127. data/spec/unit/provider/service/solaris_smf_service_spec.rb +23 -2
  128. data/spec/unit/provider/service/upstart_service_spec.rb +7 -0
  129. data/spec/unit/provider/service/windows_spec.rb +72 -0
  130. data/spec/unit/provider/user/pw_spec.rb +21 -4
  131. data/spec/unit/provider/user/useradd_spec.rb +10 -0
  132. data/spec/unit/resource/package_spec.rb +26 -18
  133. data/spec/unit/resource/registry_key_spec.rb +28 -0
  134. data/spec/unit/resource/service_spec.rb +14 -0
  135. data/spec/unit/resource_reporter_spec.rb +37 -12
  136. data/spec/unit/resource_spec.rb +41 -6
  137. data/spec/unit/rest_spec.rb +2 -2
  138. data/spec/unit/role_spec.rb +46 -28
  139. data/spec/unit/shell/shell_session_spec.rb +42 -2
  140. data/spec/unit/shell_spec.rb +1 -1
  141. data/spec/unit/user_spec.rb +12 -0
  142. data/spec/unit/util/selinux_spec.rb +4 -4
  143. data/spec/unit/version_constraint_spec.rb +14 -2
  144. metadata +223 -167
  145. checksums.yaml +0 -7
@@ -247,9 +247,9 @@ describe Chef::REST do
247
247
  http_response
248
248
  end
249
249
 
250
- let(:host_header) { "one:80" }
250
+ let(:host_header) { "one" }
251
251
 
252
- let(:url) { URI.parse("https://one:80/?foo=bar") }
252
+ let(:url) { URI.parse("http://one:80/?foo=bar") }
253
253
 
254
254
  let(:base_url) { "http://chef.example.com:4000" }
255
255
 
@@ -256,26 +256,46 @@ EOR
256
256
  end
257
257
 
258
258
  it "should return a Chef::Role object from JSON" do
259
- File.should_receive(:exists?).with(File.join(Chef::Config[:role_path], 'lolcat.json')).exactly(1).times.and_return(true)
260
- IO.should_receive(:read).with(File.join(Chef::Config[:role_path], 'lolcat.json')).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
259
+ Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes", "#{Chef::Config[:role_path]}/memes/lolcat.json"])
260
+ file_path = File.join(Chef::Config[:role_path], 'memes/lolcat.json')
261
+ File.should_receive(:exists?).with(file_path).exactly(1).times.and_return(true)
262
+ IO.should_receive(:read).with(file_path).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
261
263
  @role.should be_a_kind_of(Chef::Role)
262
264
  @role.class.from_disk("lolcat")
263
265
  end
264
266
 
265
267
  it "should return a Chef::Role object from a Ruby DSL" do
266
- File.should_receive(:exists?).with(File.join(Chef::Config[:role_path], 'lolcat.json')).exactly(1).times.and_return(false)
267
- File.should_receive(:exists?).with(File.join(Chef::Config[:role_path], 'lolcat.rb')).exactly(2).times.and_return(true)
268
- File.should_receive(:readable?).with(File.join(Chef::Config[:role_path], 'lolcat.rb')).exactly(1).times.and_return(true)
269
- IO.should_receive(:read).with(File.join(Chef::Config[:role_path], 'lolcat.rb')).and_return(ROLE_DSL)
268
+ Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes", "#{Chef::Config[:role_path]}/memes/lolcat.rb"])
269
+ rb_path = File.join(Chef::Config[:role_path], 'memes/lolcat.rb')
270
+ File.should_receive(:exists?).with(rb_path).exactly(2).times.and_return(true)
271
+ File.should_receive(:readable?).with(rb_path).exactly(1).times.and_return(true)
272
+ IO.should_receive(:read).with(rb_path).and_return(ROLE_DSL)
273
+ @role.should be_a_kind_of(Chef::Role)
274
+ @role.class.from_disk("lolcat")
275
+ end
276
+
277
+ it "should prefer a Chef::Role Object from JSON over one from a Ruby DSL" do
278
+ Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes", "#{Chef::Config[:role_path]}/memes/lolcat.json", "#{Chef::Config[:role_path]}/memes/lolcat.rb"])
279
+ js_path = File.join(Chef::Config[:role_path], 'memes/lolcat.json')
280
+ rb_path = File.join(Chef::Config[:role_path], 'memes/lolcat.rb')
281
+ File.should_receive(:exists?).with(js_path).exactly(1).times.and_return(true)
282
+ File.should_not_receive(:exists?).with(rb_path)
283
+ IO.should_receive(:read).with(js_path).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
270
284
  @role.should be_a_kind_of(Chef::Role)
271
285
  @role.class.from_disk("lolcat")
272
286
  end
273
287
 
274
288
  it "should raise an exception if the file does not exist" do
275
- File.should_receive(:exists?).with(File.join(Chef::Config[:role_path], 'lolcat.json')).exactly(1).times.and_return(false)
276
- File.should_receive(:exists?).with(File.join(Chef::Config[:role_path], 'lolcat.rb')).exactly(1).times.and_return(false)
289
+ Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/meme.rb"])
290
+ File.should_not_receive(:exists?)
277
291
  lambda {@role.class.from_disk("lolcat")}.should raise_error(Chef::Exceptions::RoleNotFound)
278
292
  end
293
+
294
+ it "should raise an exception if two files exist with the same name" do
295
+ Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes/lolcat.rb", "#{Chef::Config[:role_path]}/lolcat.rb"])
296
+ File.should_not_receive(:exists?)
297
+ lambda {@role.class.from_disk("lolcat")}.should raise_error(Chef::Exceptions::DuplicateRole)
298
+ end
279
299
  end
280
300
 
281
301
  describe "when loading from disk and role_path is an array" do
@@ -285,46 +305,44 @@ EOR
285
305
  end
286
306
 
287
307
  it "should return a Chef::Role object from JSON" do
288
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.json')).exactly(1).times.and_return(true)
289
- IO.should_receive(:read).with(File.join('/path1', 'lolcat.json')).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
308
+ Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return(['/path1/lolcat.json'])
309
+ File.should_receive(:exists?).with('/path1/lolcat.json').exactly(1).times.and_return(true)
310
+ IO.should_receive(:read).with('/path1/lolcat.json').and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
290
311
  @role.should be_a_kind_of(Chef::Role)
291
312
  @role.class.from_disk("lolcat")
292
313
  end
293
314
 
294
315
  it "should return a Chef::Role object from JSON when role is in the second path" do
295
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.json')).exactly(1).times.and_return(false)
296
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.rb')).exactly(1).times.and_return(false)
297
- File.should_receive(:exists?).with(File.join('/path/path2', 'lolcat.json')).exactly(1).times.and_return(true)
298
- IO.should_receive(:read).with(File.join('/path/path2', 'lolcat.json')).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
316
+ Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return([])
317
+ Dir.should_receive(:glob).with(File.join('/path/path2', '**', '**')).exactly(1).times.and_return(['/path/path2/lolcat.json'])
318
+ File.should_receive(:exists?).with('/path/path2/lolcat.json').exactly(1).times.and_return(true)
319
+ IO.should_receive(:read).with('/path/path2/lolcat.json').and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
299
320
  @role.should be_a_kind_of(Chef::Role)
300
321
  @role.class.from_disk("lolcat")
301
322
  end
302
323
 
303
324
  it "should return a Chef::Role object from a Ruby DSL" do
304
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.json')).exactly(1).times.and_return(false)
305
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.rb')).exactly(2).times.and_return(true)
306
- File.should_receive(:readable?).with(File.join('/path1', 'lolcat.rb')).exactly(1).times.and_return(true)
307
- IO.should_receive(:read).with(File.join('/path1', 'lolcat.rb')).and_return(ROLE_DSL)
325
+ Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return(['/path1/lolcat.rb'])
326
+ File.should_receive(:exists?).with('/path1/lolcat.rb').exactly(2).times.and_return(true)
327
+ File.should_receive(:readable?).with('/path1/lolcat.rb').and_return(true)
328
+ IO.should_receive(:read).with('/path1/lolcat.rb').exactly(1).times.and_return(ROLE_DSL)
308
329
  @role.should be_a_kind_of(Chef::Role)
309
330
  @role.class.from_disk("lolcat")
310
331
  end
311
332
 
312
333
  it "should return a Chef::Role object from a Ruby DSL when role is in the second path" do
313
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.json')).exactly(1).times.and_return(false)
314
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.rb')).exactly(1).times.and_return(false)
315
- File.should_receive(:exists?).with(File.join('/path/path2', 'lolcat.json')).exactly(1).times.and_return(false)
316
- File.should_receive(:exists?).with(File.join('/path/path2', 'lolcat.rb')).exactly(2).times.and_return(true)
317
- File.should_receive(:readable?).with(File.join('/path/path2', 'lolcat.rb')).exactly(1).times.and_return(true)
318
- IO.should_receive(:read).with(File.join('/path/path2', 'lolcat.rb')).and_return(ROLE_DSL)
334
+ Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return([])
335
+ Dir.should_receive(:glob).with(File.join('/path/path2', '**', '**')).exactly(1).times.and_return(['/path/path2/lolcat.rb'])
336
+ File.should_receive(:exists?).with('/path/path2/lolcat.rb').exactly(2).times.and_return(true)
337
+ File.should_receive(:readable?).with('/path/path2/lolcat.rb').and_return(true)
338
+ IO.should_receive(:read).with('/path/path2/lolcat.rb').exactly(1).times.and_return(ROLE_DSL)
319
339
  @role.should be_a_kind_of(Chef::Role)
320
340
  @role.class.from_disk("lolcat")
321
341
  end
322
342
 
323
343
  it "should raise an exception if the file does not exist" do
324
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.json')).exactly(1).times.and_return(false)
325
- File.should_receive(:exists?).with(File.join('/path1', 'lolcat.rb')).exactly(1).times.and_return(false)
326
- File.should_receive(:exists?).with(File.join('/path/path2', 'lolcat.json')).exactly(1).times.and_return(false)
327
- File.should_receive(:exists?).with(File.join('/path/path2', 'lolcat.rb')).exactly(1).times.and_return(false)
344
+ Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return([])
345
+ Dir.should_receive(:glob).with(File.join('/path/path2', '**', '**')).exactly(1).times.and_return([])
328
346
  lambda {@role.class.from_disk("lolcat")}.should raise_error(Chef::Exceptions::RoleNotFound)
329
347
  end
330
348
 
@@ -48,20 +48,37 @@ describe Shell::ShellSession do
48
48
  end
49
49
 
50
50
  describe Shell::ClientSession do
51
- it "builds the node's run_context with the proper environment" do
51
+ before do
52
+ Chef::Config[:shell_config] = { :override_runlist => [Chef::RunList::RunListItem.new('shell::override')] }
52
53
  @session = Shell::ClientSession.instance
53
54
  @node = Chef::Node.build("foo")
54
55
  @session.node = @node
55
- @session.instance_variable_set(:@client, double(:sync_cookbooks => {}))
56
+ @client = double("Chef::Client.new",
57
+ :run_ohai => true,
58
+ :load_node => true,
59
+ :build_node => true,
60
+ :register => true,
61
+ :sync_cookbooks => {})
62
+ end
63
+
64
+ it "builds the node's run_context with the proper environment" do
65
+ @session.instance_variable_set(:@client, @client)
56
66
  @expansion = Chef::RunList::RunListExpansion.new(@node.chef_environment, [])
57
67
 
58
68
  @node.run_list.should_receive(:expand).with(@node.chef_environment).and_return(@expansion)
59
69
  @session.rebuild_context
60
70
  end
71
+
72
+ it "passes the shell CLI args to the client" do
73
+ Chef::Client.should_receive(:new).with(nil, Chef::Config[:shell_config]).and_return(@client)
74
+ @session.send(:rebuild_node)
75
+ end
76
+
61
77
  end
62
78
 
63
79
  describe Shell::StandAloneSession do
64
80
  before do
81
+ Chef::Config[:shell_config] = { :override_runlist => [Chef::RunList::RunListItem.new('shell::override')] }
65
82
  @session = Shell::StandAloneSession.instance
66
83
  @node = @session.node = Chef::Node.new
67
84
  @events = Chef::EventDispatch::Dispatcher.new
@@ -97,10 +114,22 @@ describe Shell::StandAloneSession do
97
114
  @recipe.run_chef.should == :converged
98
115
  end
99
116
 
117
+ it "passes the shell CLI args to the client" do
118
+ @client = double("Chef::Client.new",
119
+ :run_ohai => true,
120
+ :load_node => true,
121
+ :build_node => true,
122
+ :register => true,
123
+ :sync_cookbooks => {})
124
+ Chef::Client.should_receive(:new).with(nil, Chef::Config[:shell_config]).and_return(@client)
125
+ @session.send(:rebuild_node)
126
+ end
127
+
100
128
  end
101
129
 
102
130
  describe Shell::SoloSession do
103
131
  before do
132
+ Chef::Config[:shell_config] = { :override_runlist => [Chef::RunList::RunListItem.new('shell::override')] }
104
133
  Chef::Config[:shell_solo] = true
105
134
  @session = Shell::SoloSession.instance
106
135
  @node = Chef::Node.new
@@ -151,4 +180,15 @@ describe Shell::SoloSession do
151
180
  @recipe.run_chef.should == :converged
152
181
  end
153
182
 
183
+ it "passes the shell CLI args to the client" do
184
+ @client = double("Chef::Client.new",
185
+ :run_ohai => true,
186
+ :load_node => true,
187
+ :build_node => true,
188
+ :register => true,
189
+ :sync_cookbooks => {})
190
+ Chef::Client.should_receive(:new).with(nil, Chef::Config[:shell_config]).and_return(@client)
191
+ @session.send(:rebuild_node)
192
+ end
193
+
154
194
  end
@@ -72,7 +72,7 @@ describe Shell do
72
72
  conf.prompt_i.should == "chef > "
73
73
  conf.prompt_n.should == "chef ?> "
74
74
  conf.prompt_s.should == "chef%l> "
75
-
75
+ conf.use_tracer.should == false
76
76
  end
77
77
 
78
78
  it "has a prompt like ``chef:recipe > '' in recipe context" do
@@ -205,6 +205,8 @@ describe Chef::User do
205
205
  Chef::Config[:chef_server_url] = "http://www.example.com"
206
206
  @osc_response = { "admin" => "http://www.example.com/users/admin"}
207
207
  @ohc_response = [ { "user" => { "username" => "admin" }} ]
208
+ Chef::User.stub(:load).with("admin").and_return(@user)
209
+ @osc_inflated_response = { "admin" => @user }
208
210
  end
209
211
 
210
212
  it "lists all clients on an OSC server" do
@@ -212,12 +214,22 @@ describe Chef::User do
212
214
  Chef::User.list.should == @osc_response
213
215
  end
214
216
 
217
+ it "inflate all clients on an OSC server" do
218
+ @http_client.stub(:get_rest).with("users").and_return(@osc_response)
219
+ Chef::User.list(true).should == @osc_inflated_response
220
+ end
221
+
215
222
  it "lists all clients on an OHC/OPC server" do
216
223
  @http_client.stub(:get_rest).with("users").and_return(@ohc_response)
217
224
  # We expect that Chef::User.list will give a consistent response
218
225
  # so OHC API responses should be transformed to OSC-style output.
219
226
  Chef::User.list.should == @osc_response
220
227
  end
228
+
229
+ it "inflate all clients on an OHC/OPC server" do
230
+ @http_client.stub(:get_rest).with("users").and_return(@ohc_response)
231
+ Chef::User.list(true).should == @osc_inflated_response
232
+ end
221
233
  end
222
234
 
223
235
  describe "create" do
@@ -114,7 +114,7 @@ describe Chef::Util::Selinux do
114
114
  end
115
115
 
116
116
  describe "when restorecon binary exists on the system" do
117
- let (:path) { "/path/to/awesome" }
117
+ let (:path) { "/path/to/awesome directory" }
118
118
 
119
119
  before do
120
120
  @restorecon_enabled_path = File.join("/sbin", "restorecon")
@@ -125,7 +125,7 @@ describe Chef::Util::Selinux do
125
125
  end
126
126
 
127
127
  it "should call restorecon non-recursive by default" do
128
- restorecon_command = "#{@restorecon_enabled_path} -R #{path}"
128
+ restorecon_command = "#{@restorecon_enabled_path} -R \"#{path}\""
129
129
  @test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
130
130
  @test_instance.restore_security_context(path)
131
131
  File.should_not_receive(:executable?)
@@ -133,7 +133,7 @@ describe Chef::Util::Selinux do
133
133
  end
134
134
 
135
135
  it "should call restorecon recursive when recursive is set" do
136
- restorecon_command = "#{@restorecon_enabled_path} -R -r #{path}"
136
+ restorecon_command = "#{@restorecon_enabled_path} -R -r \"#{path}\""
137
137
  @test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
138
138
  @test_instance.restore_security_context(path, true)
139
139
  File.should_not_receive(:executable?)
@@ -141,7 +141,7 @@ describe Chef::Util::Selinux do
141
141
  end
142
142
 
143
143
  it "should call restorecon non-recursive when recursive is not set" do
144
- restorecon_command = "#{@restorecon_enabled_path} -R #{path}"
144
+ restorecon_command = "#{@restorecon_enabled_path} -R \"#{path}\""
145
145
  @test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
146
146
  @test_instance.restore_security_context(path)
147
147
  File.should_not_receive(:executable?)
@@ -20,8 +20,8 @@ require 'chef/version_constraint'
20
20
 
21
21
  describe Chef::VersionConstraint do
22
22
  describe "validation" do
23
- bad_version = ["> >", ">= 1.2.z", "> 1.2.3 < 5.0", "> 1.2.3, < 5.0"]
24
- bad_op = ["<3.0.1", ">$ 1.2.3", "! 3.4"]
23
+ bad_version = [">= 1.2.z", "> 1.2.3 < 5.0", "> 1.2.3, < 5.0"]
24
+ bad_op = ["> >", ">$ 1.2.3", "! 3.4"]
25
25
  o_error = Chef::Exceptions::InvalidVersionConstraint
26
26
  v_error = Chef::Exceptions::InvalidCookbookVersion
27
27
  bad_version.each do |s|
@@ -64,6 +64,18 @@ describe Chef::VersionConstraint do
64
64
  vc.version.should be_an_instance_of(Chef::Version)
65
65
  end
66
66
 
67
+ it "should allow ops without space separator" do
68
+ Chef::VersionConstraint.new("=1.2.3").should eql(Chef::VersionConstraint.new("= 1.2.3"))
69
+ Chef::VersionConstraint.new(">1.2.3").should eql(Chef::VersionConstraint.new("> 1.2.3"))
70
+ Chef::VersionConstraint.new("<1.2.3").should eql(Chef::VersionConstraint.new("< 1.2.3"))
71
+ Chef::VersionConstraint.new(">=1.2.3").should eql(Chef::VersionConstraint.new(">= 1.2.3"))
72
+ Chef::VersionConstraint.new("<=1.2.3").should eql(Chef::VersionConstraint.new("<= 1.2.3"))
73
+ end
74
+
75
+ it "should allow ops with multiple spaces" do
76
+ Chef::VersionConstraint.new("= 1.2.3").should eql(Chef::VersionConstraint.new("= 1.2.3"))
77
+ end
78
+
67
79
  describe "include?" do
68
80
  describe "handles various input data types" do
69
81
  before do
metadata CHANGED
@@ -1,384 +1,412 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.14.0.alpha.4
4
+ version: 11.14.0.rc.2
5
+ prerelease: 8
5
6
  platform: x86-mingw32
6
7
  authors:
7
8
  - Adam Jacob
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-06-09 00:00:00.000000000 Z
12
+ date: 2014-07-07 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: '1.4'
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
93
  version: '1.4'
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: ohai
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - '='
88
100
  - !ruby/object:Gem::Version
89
- version: 7.2.0.alpha.0
101
+ version: 7.2.0.rc.2
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - '='
95
108
  - !ruby/object:Gem::Version
96
- version: 7.2.0.alpha.0
109
+ version: 7.2.0.rc.2
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: rest-client
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - ">="
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: 1.0.4
104
- - - "<"
118
+ - - <
105
119
  - !ruby/object:Gem::Version
106
120
  version: 1.7.0
107
121
  type: :runtime
108
122
  prerelease: false
109
123
  version_requirements: !ruby/object:Gem::Requirement
124
+ none: false
110
125
  requirements:
111
- - - ">="
126
+ - - ! '>='
112
127
  - !ruby/object:Gem::Version
113
128
  version: 1.0.4
114
- - - "<"
129
+ - - <
115
130
  - !ruby/object:Gem::Version
116
131
  version: 1.7.0
117
132
  - !ruby/object:Gem::Dependency
118
133
  name: mime-types
119
134
  requirement: !ruby/object:Gem::Requirement
135
+ none: false
120
136
  requirements:
121
- - - "~>"
137
+ - - ~>
122
138
  - !ruby/object:Gem::Version
123
139
  version: '1.16'
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: '1.16'
131
148
  - !ruby/object:Gem::Dependency
132
- name: json
149
+ name: ffi-yajl
133
150
  requirement: !ruby/object:Gem::Requirement
151
+ none: false
134
152
  requirements:
135
- - - ">="
153
+ - - ! '>='
136
154
  - !ruby/object:Gem::Version
137
- version: 1.4.4
138
- - - "<="
139
- - !ruby/object:Gem::Version
140
- version: 1.8.1
141
- type: :runtime
142
- prerelease: false
143
- version_requirements: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- version: 1.4.4
148
- - - "<="
149
- - !ruby/object:Gem::Version
150
- version: 1.8.1
151
- - !ruby/object:Gem::Dependency
152
- name: yajl-ruby
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '1.1'
155
+ version: '0'
158
156
  type: :runtime
159
157
  prerelease: false
160
158
  version_requirements: !ruby/object:Gem::Requirement
159
+ none: false
161
160
  requirements:
162
- - - "~>"
161
+ - - ! '>='
163
162
  - !ruby/object:Gem::Version
164
- version: '1.1'
163
+ version: '0'
165
164
  - !ruby/object:Gem::Dependency
166
165
  name: net-ssh
167
166
  requirement: !ruby/object:Gem::Requirement
167
+ none: false
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
+ none: false
175
176
  requirements:
176
- - - "~>"
177
+ - - ~>
177
178
  - !ruby/object:Gem::Version
178
179
  version: '2.6'
179
180
  - !ruby/object:Gem::Dependency
180
181
  name: net-ssh-multi
181
182
  requirement: !ruby/object:Gem::Requirement
183
+ none: false
182
184
  requirements:
183
- - - "~>"
185
+ - - ~>
184
186
  - !ruby/object:Gem::Version
185
187
  version: '1.1'
186
188
  type: :runtime
187
189
  prerelease: false
188
190
  version_requirements: !ruby/object:Gem::Requirement
191
+ none: false
189
192
  requirements:
190
- - - "~>"
193
+ - - ~>
191
194
  - !ruby/object:Gem::Version
192
195
  version: '1.1'
193
196
  - !ruby/object:Gem::Dependency
194
197
  name: highline
195
198
  requirement: !ruby/object:Gem::Requirement
199
+ none: false
196
200
  requirements:
197
- - - "~>"
201
+ - - ~>
198
202
  - !ruby/object:Gem::Version
199
203
  version: '1.6'
200
- - - ">="
204
+ - - ! '>='
201
205
  - !ruby/object:Gem::Version
202
206
  version: 1.6.9
203
207
  type: :runtime
204
208
  prerelease: false
205
209
  version_requirements: !ruby/object:Gem::Requirement
210
+ none: false
206
211
  requirements:
207
- - - "~>"
212
+ - - ~>
208
213
  - !ruby/object:Gem::Version
209
214
  version: '1.6'
210
- - - ">="
215
+ - - ! '>='
211
216
  - !ruby/object:Gem::Version
212
217
  version: 1.6.9
213
218
  - !ruby/object:Gem::Dependency
214
219
  name: erubis
215
220
  requirement: !ruby/object:Gem::Requirement
221
+ none: false
216
222
  requirements:
217
- - - "~>"
223
+ - - ~>
218
224
  - !ruby/object:Gem::Version
219
225
  version: '2.7'
220
226
  type: :runtime
221
227
  prerelease: false
222
228
  version_requirements: !ruby/object:Gem::Requirement
229
+ none: false
223
230
  requirements:
224
- - - "~>"
231
+ - - ~>
225
232
  - !ruby/object:Gem::Version
226
233
  version: '2.7'
227
234
  - !ruby/object:Gem::Dependency
228
235
  name: diff-lcs
229
236
  requirement: !ruby/object:Gem::Requirement
237
+ none: false
230
238
  requirements:
231
- - - "~>"
239
+ - - ~>
232
240
  - !ruby/object:Gem::Version
233
241
  version: '1.2'
234
- - - ">="
242
+ - - ! '>='
235
243
  - !ruby/object:Gem::Version
236
244
  version: 1.2.4
237
245
  type: :runtime
238
246
  prerelease: false
239
247
  version_requirements: !ruby/object:Gem::Requirement
248
+ none: false
240
249
  requirements:
241
- - - "~>"
250
+ - - ~>
242
251
  - !ruby/object:Gem::Version
243
252
  version: '1.2'
244
- - - ">="
253
+ - - ! '>='
245
254
  - !ruby/object:Gem::Version
246
255
  version: 1.2.4
247
256
  - !ruby/object:Gem::Dependency
248
257
  name: chef-zero
249
258
  requirement: !ruby/object:Gem::Requirement
259
+ none: false
250
260
  requirements:
251
- - - "~>"
261
+ - - ~>
252
262
  - !ruby/object:Gem::Version
253
263
  version: '2.1'
254
- - - ">="
264
+ - - ! '>='
255
265
  - !ruby/object:Gem::Version
256
266
  version: 2.1.4
257
267
  type: :runtime
258
268
  prerelease: false
259
269
  version_requirements: !ruby/object:Gem::Requirement
270
+ none: false
260
271
  requirements:
261
- - - "~>"
272
+ - - ~>
262
273
  - !ruby/object:Gem::Version
263
274
  version: '2.1'
264
- - - ">="
275
+ - - ! '>='
265
276
  - !ruby/object:Gem::Version
266
277
  version: 2.1.4
267
278
  - !ruby/object:Gem::Dependency
268
279
  name: pry
269
280
  requirement: !ruby/object:Gem::Requirement
281
+ none: false
270
282
  requirements:
271
- - - "~>"
283
+ - - ~>
272
284
  - !ruby/object:Gem::Version
273
285
  version: '0.9'
274
286
  type: :runtime
275
287
  prerelease: false
276
288
  version_requirements: !ruby/object:Gem::Requirement
289
+ none: false
277
290
  requirements:
278
- - - "~>"
291
+ - - ~>
279
292
  - !ruby/object:Gem::Version
280
293
  version: '0.9'
281
294
  - !ruby/object:Gem::Dependency
282
295
  name: rack
283
296
  requirement: !ruby/object:Gem::Requirement
297
+ none: false
284
298
  requirements:
285
- - - ">="
299
+ - - ! '>='
286
300
  - !ruby/object:Gem::Version
287
301
  version: '0'
288
302
  type: :development
289
303
  prerelease: false
290
304
  version_requirements: !ruby/object:Gem::Requirement
305
+ none: false
291
306
  requirements:
292
- - - ">="
307
+ - - ! '>='
293
308
  - !ruby/object:Gem::Version
294
309
  version: '0'
295
310
  - !ruby/object:Gem::Dependency
296
311
  name: rake
297
312
  requirement: !ruby/object:Gem::Requirement
313
+ none: false
298
314
  requirements:
299
- - - "~>"
315
+ - - ~>
300
316
  - !ruby/object:Gem::Version
301
317
  version: 10.1.0
302
318
  type: :development
303
319
  prerelease: false
304
320
  version_requirements: !ruby/object:Gem::Requirement
321
+ none: false
305
322
  requirements:
306
- - - "~>"
323
+ - - ~>
307
324
  - !ruby/object:Gem::Version
308
325
  version: 10.1.0
309
326
  - !ruby/object:Gem::Dependency
310
327
  name: rspec_junit_formatter
311
328
  requirement: !ruby/object:Gem::Requirement
329
+ none: false
312
330
  requirements:
313
- - - "~>"
331
+ - - ~>
314
332
  - !ruby/object:Gem::Version
315
333
  version: 0.1.0
316
334
  type: :development
317
335
  prerelease: false
318
336
  version_requirements: !ruby/object:Gem::Requirement
337
+ none: false
319
338
  requirements:
320
- - - "~>"
339
+ - - ~>
321
340
  - !ruby/object:Gem::Version
322
341
  version: 0.1.0
323
342
  - !ruby/object:Gem::Dependency
324
343
  name: rspec-core
325
344
  requirement: !ruby/object:Gem::Requirement
345
+ none: false
326
346
  requirements:
327
- - - "~>"
347
+ - - ~>
328
348
  - !ruby/object:Gem::Version
329
349
  version: 2.14.0
330
350
  type: :development
331
351
  prerelease: false
332
352
  version_requirements: !ruby/object:Gem::Requirement
353
+ none: false
333
354
  requirements:
334
- - - "~>"
355
+ - - ~>
335
356
  - !ruby/object:Gem::Version
336
357
  version: 2.14.0
337
358
  - !ruby/object:Gem::Dependency
338
359
  name: rspec-expectations
339
360
  requirement: !ruby/object:Gem::Requirement
361
+ none: false
340
362
  requirements:
341
- - - "~>"
363
+ - - ~>
342
364
  - !ruby/object:Gem::Version
343
365
  version: 2.14.0
344
366
  type: :development
345
367
  prerelease: false
346
368
  version_requirements: !ruby/object:Gem::Requirement
369
+ none: false
347
370
  requirements:
348
- - - "~>"
371
+ - - ~>
349
372
  - !ruby/object:Gem::Version
350
373
  version: 2.14.0
351
374
  - !ruby/object:Gem::Dependency
352
375
  name: rspec-mocks
353
376
  requirement: !ruby/object:Gem::Requirement
377
+ none: false
354
378
  requirements:
355
- - - "~>"
379
+ - - ~>
356
380
  - !ruby/object:Gem::Version
357
381
  version: 2.14.0
358
382
  type: :development
359
383
  prerelease: false
360
384
  version_requirements: !ruby/object:Gem::Requirement
385
+ none: false
361
386
  requirements:
362
- - - "~>"
387
+ - - ~>
363
388
  - !ruby/object:Gem::Version
364
389
  version: 2.14.0
365
390
  - !ruby/object:Gem::Dependency
366
391
  name: ffi
367
392
  requirement: !ruby/object:Gem::Requirement
393
+ none: false
368
394
  requirements:
369
- - - '='
395
+ - - ~>
370
396
  - !ruby/object:Gem::Version
371
- version: 1.5.0
397
+ version: '1.9'
372
398
  type: :runtime
373
399
  prerelease: false
374
400
  version_requirements: !ruby/object:Gem::Requirement
401
+ none: false
375
402
  requirements:
376
- - - '='
403
+ - - ~>
377
404
  - !ruby/object:Gem::Version
378
- version: 1.5.0
405
+ version: '1.9'
379
406
  - !ruby/object:Gem::Dependency
380
407
  name: windows-api
381
408
  requirement: !ruby/object:Gem::Requirement
409
+ none: false
382
410
  requirements:
383
411
  - - '='
384
412
  - !ruby/object:Gem::Version
@@ -386,6 +414,7 @@ dependencies:
386
414
  type: :runtime
387
415
  prerelease: false
388
416
  version_requirements: !ruby/object:Gem::Requirement
417
+ none: false
389
418
  requirements:
390
419
  - - '='
391
420
  - !ruby/object:Gem::Version
@@ -393,6 +422,7 @@ dependencies:
393
422
  - !ruby/object:Gem::Dependency
394
423
  name: windows-pr
395
424
  requirement: !ruby/object:Gem::Requirement
425
+ none: false
396
426
  requirements:
397
427
  - - '='
398
428
  - !ruby/object:Gem::Version
@@ -400,6 +430,7 @@ dependencies:
400
430
  type: :runtime
401
431
  prerelease: false
402
432
  version_requirements: !ruby/object:Gem::Requirement
433
+ none: false
403
434
  requirements:
404
435
  - - '='
405
436
  - !ruby/object:Gem::Version
@@ -407,6 +438,7 @@ dependencies:
407
438
  - !ruby/object:Gem::Dependency
408
439
  name: win32-api
409
440
  requirement: !ruby/object:Gem::Requirement
441
+ none: false
410
442
  requirements:
411
443
  - - '='
412
444
  - !ruby/object:Gem::Version
@@ -414,6 +446,7 @@ dependencies:
414
446
  type: :runtime
415
447
  prerelease: false
416
448
  version_requirements: !ruby/object:Gem::Requirement
449
+ none: false
417
450
  requirements:
418
451
  - - '='
419
452
  - !ruby/object:Gem::Version
@@ -421,6 +454,7 @@ dependencies:
421
454
  - !ruby/object:Gem::Dependency
422
455
  name: win32-dir
423
456
  requirement: !ruby/object:Gem::Requirement
457
+ none: false
424
458
  requirements:
425
459
  - - '='
426
460
  - !ruby/object:Gem::Version
@@ -428,6 +462,7 @@ dependencies:
428
462
  type: :runtime
429
463
  prerelease: false
430
464
  version_requirements: !ruby/object:Gem::Requirement
465
+ none: false
431
466
  requirements:
432
467
  - - '='
433
468
  - !ruby/object:Gem::Version
@@ -435,6 +470,7 @@ dependencies:
435
470
  - !ruby/object:Gem::Dependency
436
471
  name: win32-event
437
472
  requirement: !ruby/object:Gem::Requirement
473
+ none: false
438
474
  requirements:
439
475
  - - '='
440
476
  - !ruby/object:Gem::Version
@@ -442,6 +478,7 @@ dependencies:
442
478
  type: :runtime
443
479
  prerelease: false
444
480
  version_requirements: !ruby/object:Gem::Requirement
481
+ none: false
445
482
  requirements:
446
483
  - - '='
447
484
  - !ruby/object:Gem::Version
@@ -449,6 +486,7 @@ dependencies:
449
486
  - !ruby/object:Gem::Dependency
450
487
  name: win32-mutex
451
488
  requirement: !ruby/object:Gem::Requirement
489
+ none: false
452
490
  requirements:
453
491
  - - '='
454
492
  - !ruby/object:Gem::Version
@@ -456,6 +494,7 @@ dependencies:
456
494
  type: :runtime
457
495
  prerelease: false
458
496
  version_requirements: !ruby/object:Gem::Requirement
497
+ none: false
459
498
  requirements:
460
499
  - - '='
461
500
  - !ruby/object:Gem::Version
@@ -463,6 +502,7 @@ dependencies:
463
502
  - !ruby/object:Gem::Dependency
464
503
  name: win32-process
465
504
  requirement: !ruby/object:Gem::Requirement
505
+ none: false
466
506
  requirements:
467
507
  - - '='
468
508
  - !ruby/object:Gem::Version
@@ -470,6 +510,7 @@ dependencies:
470
510
  type: :runtime
471
511
  prerelease: false
472
512
  version_requirements: !ruby/object:Gem::Requirement
513
+ none: false
473
514
  requirements:
474
515
  - - '='
475
516
  - !ruby/object:Gem::Version
@@ -477,6 +518,7 @@ dependencies:
477
518
  - !ruby/object:Gem::Dependency
478
519
  name: win32-service
479
520
  requirement: !ruby/object:Gem::Requirement
521
+ none: false
480
522
  requirements:
481
523
  - - '='
482
524
  - !ruby/object:Gem::Version
@@ -484,6 +526,7 @@ dependencies:
484
526
  type: :runtime
485
527
  prerelease: false
486
528
  version_requirements: !ruby/object:Gem::Requirement
529
+ none: false
487
530
  requirements:
488
531
  - - '='
489
532
  - !ruby/object:Gem::Version
@@ -491,6 +534,7 @@ dependencies:
491
534
  - !ruby/object:Gem::Dependency
492
535
  name: win32-mmap
493
536
  requirement: !ruby/object:Gem::Requirement
537
+ none: false
494
538
  requirements:
495
539
  - - '='
496
540
  - !ruby/object:Gem::Version
@@ -498,6 +542,7 @@ dependencies:
498
542
  type: :runtime
499
543
  prerelease: false
500
544
  version_requirements: !ruby/object:Gem::Requirement
545
+ none: false
501
546
  requirements:
502
547
  - - '='
503
548
  - !ruby/object:Gem::Version
@@ -505,15 +550,17 @@ dependencies:
505
550
  - !ruby/object:Gem::Dependency
506
551
  name: wmi-lite
507
552
  requirement: !ruby/object:Gem::Requirement
553
+ none: false
508
554
  requirements:
509
- - - "~>"
555
+ - - ~>
510
556
  - !ruby/object:Gem::Version
511
557
  version: '1.0'
512
558
  type: :runtime
513
559
  prerelease: false
514
560
  version_requirements: !ruby/object:Gem::Requirement
561
+ none: false
515
562
  requirements:
516
- - - "~>"
563
+ - - ~>
517
564
  - !ruby/object:Gem::Version
518
565
  version: '1.0'
519
566
  description: A systems integration framework, built to bring the benefits of configuration
@@ -533,18 +580,10 @@ extra_rdoc_files:
533
580
  - CONTRIBUTING.md
534
581
  - LICENSE
535
582
  files:
536
- - CONTRIBUTING.md
583
+ - Rakefile
537
584
  - LICENSE
538
585
  - README.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
586
+ - CONTRIBUTING.md
548
587
  - distro/arch/etc/conf.d/chef-client.conf
549
588
  - distro/arch/etc/conf.d/chef-expander.conf
550
589
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -655,7 +694,6 @@ files:
655
694
  - distro/common/html/objects.inv
656
695
  - distro/common/html/search.html
657
696
  - distro/common/html/searchindex.js
658
- - distro/common/man/man1/README.md
659
697
  - distro/common/man/man1/chef-shell.1
660
698
  - distro/common/man/man1/knife-bootstrap.1
661
699
  - distro/common/man/man1/knife-client.1
@@ -677,6 +715,7 @@ files:
677
715
  - distro/common/man/man1/knife-recipe-list.1
678
716
  - distro/common/man/man1/knife-role.1
679
717
  - distro/common/man/man1/knife-search.1
718
+ - distro/common/man/man1/knife-serve.1
680
719
  - distro/common/man/man1/knife-show.1
681
720
  - distro/common/man/man1/knife-ssh.1
682
721
  - distro/common/man/man1/knife-ssl-check.1
@@ -687,9 +726,9 @@ files:
687
726
  - distro/common/man/man1/knife-user.1
688
727
  - distro/common/man/man1/knife-xargs.1
689
728
  - distro/common/man/man1/knife.1
729
+ - distro/common/man/man1/README.md
690
730
  - distro/common/man/man8/chef-client.8
691
731
  - distro/common/man/man8/chef-solo.8
692
- - distro/common/markdown/README
693
732
  - distro/common/markdown/man1/chef-shell.mkd
694
733
  - distro/common/markdown/man1/knife-bootstrap.mkd
695
734
  - distro/common/markdown/man1/knife-client.mkd
@@ -714,21 +753,23 @@ files:
714
753
  - distro/common/markdown/man8/chef-server.mkd
715
754
  - distro/common/markdown/man8/chef-solo.mkd
716
755
  - distro/common/markdown/man8/chef-solr.mkd
756
+ - distro/common/markdown/README
717
757
  - distro/debian/etc/default/chef-client
718
758
  - distro/debian/etc/default/chef-expander
719
759
  - distro/debian/etc/default/chef-server
720
760
  - distro/debian/etc/default/chef-server-webui
721
761
  - distro/debian/etc/default/chef-solr
722
- - distro/debian/etc/init.d/chef-client
723
- - distro/debian/etc/init.d/chef-expander
724
- - distro/debian/etc/init.d/chef-server
725
- - distro/debian/etc/init.d/chef-server-webui
726
- - distro/debian/etc/init.d/chef-solr
727
762
  - distro/debian/etc/init/chef-client.conf
728
763
  - distro/debian/etc/init/chef-expander.conf
729
764
  - distro/debian/etc/init/chef-server-webui.conf
730
765
  - distro/debian/etc/init/chef-server.conf
731
766
  - distro/debian/etc/init/chef-solr.conf
767
+ - distro/debian/etc/init.d/chef-client
768
+ - distro/debian/etc/init.d/chef-expander
769
+ - distro/debian/etc/init.d/chef-server
770
+ - distro/debian/etc/init.d/chef-server-webui
771
+ - distro/debian/etc/init.d/chef-solr
772
+ - distro/README
732
773
  - distro/redhat/etc/init.d/chef-client
733
774
  - distro/redhat/etc/init.d/chef-expander
734
775
  - distro/redhat/etc/init.d/chef-server
@@ -745,10 +786,8 @@ files:
745
786
  - distro/redhat/etc/sysconfig/chef-server-webui
746
787
  - distro/redhat/etc/sysconfig/chef-solr
747
788
  - distro/windows/service_manager.rb
748
- - lib/chef.rb
749
- - lib/chef/api_client.rb
750
789
  - lib/chef/api_client/registration.rb
751
- - lib/chef/application.rb
790
+ - lib/chef/api_client.rb
752
791
  - lib/chef/application/agent.rb
753
792
  - lib/chef/application/apply.rb
754
793
  - lib/chef/application/client.rb
@@ -756,8 +795,8 @@ files:
756
795
  - lib/chef/application/solo.rb
757
796
  - lib/chef/application/windows_service.rb
758
797
  - lib/chef/application/windows_service_manager.rb
798
+ - lib/chef/application.rb
759
799
  - lib/chef/applications.rb
760
- - lib/chef/chef_fs.rb
761
800
  - lib/chef/chef_fs/chef_fs_data_store.rb
762
801
  - lib/chef/chef_fs/command_line.rb
763
802
  - lib/chef/chef_fs/config.rb
@@ -773,7 +812,6 @@ files:
773
812
  - lib/chef/chef_fs/data_handler/role_data_handler.rb
774
813
  - lib/chef/chef_fs/data_handler/user_data_handler.rb
775
814
  - lib/chef/chef_fs/file_pattern.rb
776
- - lib/chef/chef_fs/file_system.rb
777
815
  - lib/chef/chef_fs/file_system/acl_dir.rb
778
816
  - lib/chef/chef_fs/file_system/acl_entry.rb
779
817
  - lib/chef/chef_fs/file_system/acls_dir.rb
@@ -813,11 +851,13 @@ files:
813
851
  - lib/chef/chef_fs/file_system/operation_not_allowed_error.rb
814
852
  - lib/chef/chef_fs/file_system/rest_list_dir.rb
815
853
  - lib/chef/chef_fs/file_system/rest_list_entry.rb
854
+ - lib/chef/chef_fs/file_system.rb
816
855
  - lib/chef/chef_fs/knife.rb
817
- - lib/chef/chef_fs/parallelizer.rb
818
856
  - lib/chef/chef_fs/parallelizer/flatten_enumerable.rb
819
857
  - lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
858
+ - lib/chef/chef_fs/parallelizer.rb
820
859
  - lib/chef/chef_fs/path_utils.rb
860
+ - lib/chef/chef_fs.rb
821
861
  - lib/chef/client.rb
822
862
  - lib/chef/config.rb
823
863
  - lib/chef/config_fetcher.rb
@@ -844,7 +884,6 @@ files:
844
884
  - lib/chef/deprecation/provider/template.rb
845
885
  - lib/chef/deprecation/warnings.rb
846
886
  - lib/chef/digester.rb
847
- - lib/chef/dsl.rb
848
887
  - lib/chef/dsl/data_query.rb
849
888
  - lib/chef/dsl/include_attribute.rb
850
889
  - lib/chef/dsl/include_recipe.rb
@@ -852,32 +891,32 @@ files:
852
891
  - lib/chef/dsl/reboot_pending.rb
853
892
  - lib/chef/dsl/recipe.rb
854
893
  - lib/chef/dsl/registry_helper.rb
855
- - lib/chef/encrypted_data_bag_item.rb
894
+ - lib/chef/dsl.rb
856
895
  - lib/chef/encrypted_data_bag_item/decryption_failure.rb
857
896
  - lib/chef/encrypted_data_bag_item/decryptor.rb
858
897
  - lib/chef/encrypted_data_bag_item/encryptor.rb
859
898
  - lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
860
899
  - lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
861
900
  - lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
901
+ - lib/chef/encrypted_data_bag_item.rb
862
902
  - lib/chef/environment.rb
863
903
  - lib/chef/event_dispatch/base.rb
864
904
  - lib/chef/event_dispatch/dispatcher.rb
865
905
  - lib/chef/event_dispatch/events_output_stream.rb
866
906
  - lib/chef/exceptions.rb
867
- - lib/chef/file_access_control.rb
868
907
  - lib/chef/file_access_control/unix.rb
869
908
  - lib/chef/file_access_control/windows.rb
909
+ - lib/chef/file_access_control.rb
870
910
  - lib/chef/file_cache.rb
871
911
  - lib/chef/file_content_management/content_base.rb
872
- - lib/chef/file_content_management/deploy.rb
873
912
  - lib/chef/file_content_management/deploy/cp.rb
874
913
  - lib/chef/file_content_management/deploy/mv_unix.rb
875
914
  - lib/chef/file_content_management/deploy/mv_windows.rb
915
+ - lib/chef/file_content_management/deploy.rb
876
916
  - lib/chef/file_content_management/tempfile.rb
877
917
  - lib/chef/formatters/base.rb
878
918
  - lib/chef/formatters/doc.rb
879
919
  - lib/chef/formatters/error_descriptor.rb
880
- - lib/chef/formatters/error_inspectors.rb
881
920
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
882
921
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
883
922
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -886,15 +925,15 @@ files:
886
925
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
887
926
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
888
927
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
928
+ - lib/chef/formatters/error_inspectors.rb
889
929
  - lib/chef/formatters/error_mapper.rb
890
930
  - lib/chef/formatters/indentable_output_stream.rb
891
931
  - lib/chef/formatters/minimal.rb
892
932
  - lib/chef/guard_interpreter/default_guard_interpreter.rb
893
933
  - lib/chef/guard_interpreter/resource_guard_interpreter.rb
894
- - lib/chef/handler.rb
895
934
  - lib/chef/handler/error_report.rb
896
935
  - lib/chef/handler/json_file.rb
897
- - lib/chef/http.rb
936
+ - lib/chef/handler.rb
898
937
  - lib/chef/http/auth_credentials.rb
899
938
  - lib/chef/http/authenticator.rb
900
939
  - lib/chef/http/basic_client.rb
@@ -909,18 +948,18 @@ files:
909
948
  - lib/chef/http/simple.rb
910
949
  - lib/chef/http/ssl_policies.rb
911
950
  - lib/chef/http/validate_content_length.rb
951
+ - lib/chef/http.rb
912
952
  - lib/chef/json_compat.rb
913
- - lib/chef/knife.rb
914
- - lib/chef/knife/bootstrap.rb
915
- - lib/chef/knife/bootstrap/README.md
916
953
  - lib/chef/knife/bootstrap/archlinux-gems.erb
917
954
  - lib/chef/knife/bootstrap/centos5-gems.erb
918
955
  - lib/chef/knife/bootstrap/chef-aix.erb
919
956
  - lib/chef/knife/bootstrap/chef-full.erb
920
957
  - lib/chef/knife/bootstrap/fedora13-gems.erb
958
+ - lib/chef/knife/bootstrap/README.md
921
959
  - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
922
960
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
923
961
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
962
+ - lib/chef/knife/bootstrap.rb
924
963
  - lib/chef/knife/client_bulk_delete.rb
925
964
  - lib/chef/knife/client_create.rb
926
965
  - lib/chef/knife/client_delete.rb
@@ -1018,12 +1057,13 @@ files:
1018
1057
  - lib/chef/knife/user_reregister.rb
1019
1058
  - lib/chef/knife/user_show.rb
1020
1059
  - lib/chef/knife/xargs.rb
1060
+ - lib/chef/knife.rb
1021
1061
  - lib/chef/log.rb
1022
1062
  - lib/chef/mash.rb
1023
1063
  - lib/chef/mixin/checksum.rb
1024
- - lib/chef/mixin/command.rb
1025
1064
  - lib/chef/mixin/command/unix.rb
1026
1065
  - lib/chef/mixin/command/windows.rb
1066
+ - lib/chef/mixin/command.rb
1027
1067
  - lib/chef/mixin/convert_to_class_name.rb
1028
1068
  - lib/chef/mixin/create_path.rb
1029
1069
  - lib/chef/mixin/deep_merge.rb
@@ -1059,37 +1099,35 @@ files:
1059
1099
  - lib/chef/monkey_patches/uri.rb
1060
1100
  - lib/chef/monologger.rb
1061
1101
  - lib/chef/nil_argument.rb
1062
- - lib/chef/node.rb
1063
1102
  - lib/chef/node/attribute.rb
1064
1103
  - lib/chef/node/attribute_collections.rb
1065
1104
  - lib/chef/node/immutable_collections.rb
1066
- - lib/chef/platform.rb
1105
+ - lib/chef/node.rb
1067
1106
  - lib/chef/platform/provider_mapping.rb
1068
1107
  - lib/chef/platform/query_helpers.rb
1069
- - lib/chef/policy_builder.rb
1108
+ - lib/chef/platform.rb
1070
1109
  - lib/chef/policy_builder/expand_node_object.rb
1071
1110
  - lib/chef/policy_builder/policyfile.rb
1072
- - lib/chef/provider.rb
1111
+ - lib/chef/policy_builder.rb
1073
1112
  - lib/chef/provider/batch.rb
1074
1113
  - lib/chef/provider/breakpoint.rb
1075
- - lib/chef/provider/cookbook_file.rb
1076
1114
  - lib/chef/provider/cookbook_file/content.rb
1077
- - lib/chef/provider/cron.rb
1115
+ - lib/chef/provider/cookbook_file.rb
1078
1116
  - lib/chef/provider/cron/aix.rb
1079
1117
  - lib/chef/provider/cron/solaris.rb
1080
1118
  - lib/chef/provider/cron/unix.rb
1081
- - lib/chef/provider/deploy.rb
1119
+ - lib/chef/provider/cron.rb
1082
1120
  - lib/chef/provider/deploy/revision.rb
1083
1121
  - lib/chef/provider/deploy/timestamped.rb
1122
+ - lib/chef/provider/deploy.rb
1084
1123
  - lib/chef/provider/directory.rb
1085
- - lib/chef/provider/env.rb
1086
1124
  - lib/chef/provider/env/windows.rb
1125
+ - lib/chef/provider/env.rb
1087
1126
  - lib/chef/provider/erl_call.rb
1088
1127
  - lib/chef/provider/execute.rb
1089
- - lib/chef/provider/file.rb
1090
1128
  - lib/chef/provider/file/content.rb
1129
+ - lib/chef/provider/file.rb
1091
1130
  - lib/chef/provider/git.rb
1092
- - lib/chef/provider/group.rb
1093
1131
  - lib/chef/provider/group/aix.rb
1094
1132
  - lib/chef/provider/group/dscl.rb
1095
1133
  - lib/chef/provider/group/gpasswd.rb
@@ -1099,22 +1137,22 @@ files:
1099
1137
  - lib/chef/provider/group/suse.rb
1100
1138
  - lib/chef/provider/group/usermod.rb
1101
1139
  - lib/chef/provider/group/windows.rb
1140
+ - lib/chef/provider/group.rb
1102
1141
  - lib/chef/provider/http_request.rb
1103
- - lib/chef/provider/ifconfig.rb
1104
1142
  - lib/chef/provider/ifconfig/aix.rb
1105
1143
  - lib/chef/provider/ifconfig/debian.rb
1106
1144
  - lib/chef/provider/ifconfig/redhat.rb
1145
+ - lib/chef/provider/ifconfig.rb
1107
1146
  - lib/chef/provider/link.rb
1108
1147
  - lib/chef/provider/log.rb
1109
1148
  - lib/chef/provider/lwrp_base.rb
1110
1149
  - lib/chef/provider/mdadm.rb
1111
- - lib/chef/provider/mount.rb
1112
1150
  - lib/chef/provider/mount/aix.rb
1113
1151
  - lib/chef/provider/mount/mount.rb
1114
1152
  - lib/chef/provider/mount/solaris.rb
1115
1153
  - lib/chef/provider/mount/windows.rb
1154
+ - lib/chef/provider/mount.rb
1116
1155
  - lib/chef/provider/ohai.rb
1117
- - lib/chef/provider/package.rb
1118
1156
  - lib/chef/provider/package/aix.rb
1119
1157
  - lib/chef/provider/package/apt.rb
1120
1158
  - lib/chef/provider/package/dpkg.rb
@@ -1126,31 +1164,32 @@ files:
1126
1164
  - lib/chef/provider/package/ips.rb
1127
1165
  - lib/chef/provider/package/macports.rb
1128
1166
  - lib/chef/provider/package/pacman.rb
1167
+ - lib/chef/provider/package/paludis.rb
1129
1168
  - lib/chef/provider/package/portage.rb
1130
1169
  - lib/chef/provider/package/rpm.rb
1131
1170
  - lib/chef/provider/package/rubygems.rb
1132
1171
  - lib/chef/provider/package/smartos.rb
1133
1172
  - lib/chef/provider/package/solaris.rb
1134
- - lib/chef/provider/package/windows.rb
1135
1173
  - lib/chef/provider/package/windows/msi.rb
1174
+ - lib/chef/provider/package/windows.rb
1136
1175
  - lib/chef/provider/package/yum-dump.py
1137
1176
  - lib/chef/provider/package/yum.rb
1138
1177
  - lib/chef/provider/package/zypper.rb
1178
+ - lib/chef/provider/package.rb
1139
1179
  - lib/chef/provider/powershell_script.rb
1140
1180
  - lib/chef/provider/registry_key.rb
1141
1181
  - lib/chef/provider/remote_directory.rb
1142
- - lib/chef/provider/remote_file.rb
1143
1182
  - lib/chef/provider/remote_file/cache_control_data.rb
1144
1183
  - lib/chef/provider/remote_file/content.rb
1145
1184
  - lib/chef/provider/remote_file/fetcher.rb
1146
1185
  - lib/chef/provider/remote_file/ftp.rb
1147
1186
  - lib/chef/provider/remote_file/http.rb
1148
1187
  - lib/chef/provider/remote_file/local_file.rb
1188
+ - lib/chef/provider/remote_file.rb
1149
1189
  - lib/chef/provider/resource_update.rb
1150
1190
  - lib/chef/provider/route.rb
1151
1191
  - lib/chef/provider/ruby_block.rb
1152
1192
  - lib/chef/provider/script.rb
1153
- - lib/chef/provider/service.rb
1154
1193
  - lib/chef/provider/service/arch.rb
1155
1194
  - lib/chef/provider/service/debian.rb
1156
1195
  - lib/chef/provider/service/freebsd.rb
@@ -1165,23 +1204,24 @@ files:
1165
1204
  - lib/chef/provider/service/systemd.rb
1166
1205
  - lib/chef/provider/service/upstart.rb
1167
1206
  - lib/chef/provider/service/windows.rb
1207
+ - lib/chef/provider/service.rb
1168
1208
  - lib/chef/provider/subversion.rb
1169
- - lib/chef/provider/template.rb
1170
1209
  - lib/chef/provider/template/content.rb
1210
+ - lib/chef/provider/template.rb
1171
1211
  - lib/chef/provider/template_finder.rb
1172
- - lib/chef/provider/user.rb
1173
1212
  - lib/chef/provider/user/dscl.rb
1174
1213
  - lib/chef/provider/user/pw.rb
1175
1214
  - lib/chef/provider/user/solaris.rb
1176
1215
  - lib/chef/provider/user/useradd.rb
1177
1216
  - lib/chef/provider/user/windows.rb
1217
+ - lib/chef/provider/user.rb
1178
1218
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1179
1219
  - lib/chef/provider/windows_script.rb
1220
+ - lib/chef/provider.rb
1180
1221
  - lib/chef/providers.rb
1181
1222
  - lib/chef/recipe.rb
1182
1223
  - lib/chef/request_id.rb
1183
1224
  - lib/chef/reserved_names.rb
1184
- - lib/chef/resource.rb
1185
1225
  - lib/chef/resource/apt_package.rb
1186
1226
  - lib/chef/resource/bash.rb
1187
1227
  - lib/chef/resource/batch.rb
@@ -1218,6 +1258,7 @@ files:
1218
1258
  - lib/chef/resource/ohai.rb
1219
1259
  - lib/chef/resource/package.rb
1220
1260
  - lib/chef/resource/pacman_package.rb
1261
+ - lib/chef/resource/paludis_package.rb
1221
1262
  - lib/chef/resource/perl.rb
1222
1263
  - lib/chef/resource/portage_package.rb
1223
1264
  - lib/chef/resource/powershell_script.rb
@@ -1242,8 +1283,9 @@ files:
1242
1283
  - lib/chef/resource/windows_package.rb
1243
1284
  - lib/chef/resource/windows_script.rb
1244
1285
  - lib/chef/resource/yum_package.rb
1245
- - lib/chef/resource_collection.rb
1286
+ - lib/chef/resource.rb
1246
1287
  - lib/chef/resource_collection/stepable_iterator.rb
1288
+ - lib/chef/resource_collection.rb
1247
1289
  - lib/chef/resource_definition.rb
1248
1290
  - lib/chef/resource_definition_list.rb
1249
1291
  - lib/chef/resource_platform_map.rb
@@ -1251,12 +1293,12 @@ files:
1251
1293
  - lib/chef/resources.rb
1252
1294
  - lib/chef/rest.rb
1253
1295
  - lib/chef/role.rb
1254
- - lib/chef/run_context.rb
1255
1296
  - lib/chef/run_context/cookbook_compiler.rb
1256
- - lib/chef/run_list.rb
1297
+ - lib/chef/run_context.rb
1257
1298
  - lib/chef/run_list/run_list_expansion.rb
1258
1299
  - lib/chef/run_list/run_list_item.rb
1259
1300
  - lib/chef/run_list/versioned_recipe_list.rb
1301
+ - lib/chef/run_list.rb
1260
1302
  - lib/chef/run_lock.rb
1261
1303
  - lib/chef/run_status.rb
1262
1304
  - lib/chef/runner.rb
@@ -1265,11 +1307,11 @@ files:
1265
1307
  - lib/chef/search/query.rb
1266
1308
  - lib/chef/server_api.rb
1267
1309
  - lib/chef/shef/ext.rb
1268
- - lib/chef/shell.rb
1269
1310
  - lib/chef/shell/ext.rb
1270
1311
  - lib/chef/shell/model_wrapper.rb
1271
1312
  - lib/chef/shell/shell_rest.rb
1272
1313
  - lib/chef/shell/shell_session.rb
1314
+ - lib/chef/shell.rb
1273
1315
  - lib/chef/shell_out.rb
1274
1316
  - lib/chef/streaming_cookbook_uploader.rb
1275
1317
  - lib/chef/tasks/chef_repo.rake
@@ -1281,18 +1323,17 @@ files:
1281
1323
  - lib/chef/util/path_helper.rb
1282
1324
  - lib/chef/util/selinux.rb
1283
1325
  - lib/chef/util/threaded_job_queue.rb
1284
- - lib/chef/util/windows.rb
1285
1326
  - lib/chef/util/windows/net_group.rb
1286
1327
  - lib/chef/util/windows/net_use.rb
1287
1328
  - lib/chef/util/windows/net_user.rb
1288
1329
  - lib/chef/util/windows/volume.rb
1289
- - lib/chef/version.rb
1330
+ - lib/chef/util/windows.rb
1290
1331
  - lib/chef/version/platform.rb
1332
+ - lib/chef/version.rb
1291
1333
  - lib/chef/version_class.rb
1292
- - lib/chef/version_constraint.rb
1293
1334
  - lib/chef/version_constraint/platform.rb
1335
+ - lib/chef/version_constraint.rb
1294
1336
  - lib/chef/whitelist.rb
1295
- - lib/chef/win32/api.rb
1296
1337
  - lib/chef/win32/api/error.rb
1297
1338
  - lib/chef/win32/api/file.rb
1298
1339
  - lib/chef/win32/api/installer.rb
@@ -1303,23 +1344,26 @@ files:
1303
1344
  - lib/chef/win32/api/synchronization.rb
1304
1345
  - lib/chef/win32/api/system.rb
1305
1346
  - lib/chef/win32/api/unicode.rb
1347
+ - lib/chef/win32/api.rb
1306
1348
  - lib/chef/win32/error.rb
1307
- - lib/chef/win32/file.rb
1308
1349
  - lib/chef/win32/file/info.rb
1350
+ - lib/chef/win32/file.rb
1309
1351
  - lib/chef/win32/handle.rb
1310
1352
  - lib/chef/win32/memory.rb
1311
1353
  - lib/chef/win32/mutex.rb
1312
1354
  - lib/chef/win32/process.rb
1313
1355
  - lib/chef/win32/registry.rb
1314
- - lib/chef/win32/security.rb
1315
1356
  - lib/chef/win32/security/ace.rb
1316
1357
  - lib/chef/win32/security/acl.rb
1317
1358
  - lib/chef/win32/security/securable_object.rb
1318
1359
  - lib/chef/win32/security/security_descriptor.rb
1319
1360
  - lib/chef/win32/security/sid.rb
1320
1361
  - lib/chef/win32/security/token.rb
1362
+ - lib/chef/win32/security.rb
1321
1363
  - lib/chef/win32/unicode.rb
1322
1364
  - lib/chef/win32/version.rb
1365
+ - lib/chef.rb
1366
+ - tasks/rspec.rb
1323
1367
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1324
1368
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1325
1369
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1349,11 +1393,11 @@ files:
1349
1393
  - spec/data/apt/var/www/apt/db/references.db
1350
1394
  - spec/data/apt/var/www/apt/db/release.caches.db
1351
1395
  - spec/data/apt/var/www/apt/db/version
1352
- - spec/data/apt/var/www/apt/dists/sid/Release
1353
1396
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1354
1397
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1355
1398
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1356
1399
  - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1400
+ - spec/data/apt/var/www/apt/dists/sid/Release
1357
1401
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1358
1402
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1359
1403
  - spec/data/bad-config.rb
@@ -1364,12 +1408,12 @@ files:
1364
1408
  - spec/data/bootstrap/secret.erb
1365
1409
  - spec/data/bootstrap/test-hints.erb
1366
1410
  - spec/data/bootstrap/test.erb
1367
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1368
1411
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1369
1412
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1370
1413
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1371
1414
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1372
1415
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1416
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1373
1417
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1374
1418
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1375
1419
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1522,6 +1566,16 @@ files:
1522
1566
  - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1523
1567
  - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1524
1568
  - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1569
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1570
+ - spec/data/run_context/cookbooks/test/attributes/george.rb
1571
+ - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1572
+ - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1573
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1574
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1575
+ - spec/data/run_context/cookbooks/test/recipes/default.rb
1576
+ - spec/data/run_context/cookbooks/test/recipes/one.rb
1577
+ - spec/data/run_context/cookbooks/test/recipes/two.rb
1578
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1525
1579
  - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1526
1580
  - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1527
1581
  - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
@@ -1537,16 +1591,6 @@ files:
1537
1591
  - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1538
1592
  - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1539
1593
  - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1540
- - spec/data/run_context/cookbooks/test/attributes/default.rb
1541
- - spec/data/run_context/cookbooks/test/attributes/george.rb
1542
- - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1543
- - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1544
- - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1545
- - spec/data/run_context/cookbooks/test/providers/provider.rb
1546
- - spec/data/run_context/cookbooks/test/recipes/default.rb
1547
- - spec/data/run_context/cookbooks/test/recipes/one.rb
1548
- - spec/data/run_context/cookbooks/test/recipes/two.rb
1549
- - spec/data/run_context/cookbooks/test/resources/resource.rb
1550
1594
  - spec/data/run_context/nodes/run_context.rb
1551
1595
  - spec/data/search_queries_to_transform.txt
1552
1596
  - spec/data/shef-config.rb
@@ -1556,8 +1600,8 @@ files:
1556
1600
  - spec/data/ssl/key.pem
1557
1601
  - spec/data/ssl/private_key.pem
1558
1602
  - spec/data/ssl/private_key_with_whitespace.pem
1559
- - spec/data/standalone_cookbook/Gemfile
1560
1603
  - spec/data/standalone_cookbook/chefignore
1604
+ - spec/data/standalone_cookbook/Gemfile
1561
1605
  - spec/data/standalone_cookbook/recipes/default.rb
1562
1606
  - spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb
1563
1607
  - spec/data/templates/seattle.txt
@@ -1566,12 +1610,12 @@ files:
1566
1610
  - spec/data/trusted_certs/opscode.pem
1567
1611
  - spec/data/trusted_certs/root.pem
1568
1612
  - spec/functional/application_spec.rb
1569
- - spec/functional/assets/PkgA.1.0.0.0.bff
1570
- - spec/functional/assets/PkgA.2.0.0.0.bff
1571
1613
  - spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
1572
1614
  - spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
1573
1615
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1574
1616
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1617
+ - spec/functional/assets/PkgA.1.0.0.0.bff
1618
+ - spec/functional/assets/PkgA.2.0.0.0.bff
1575
1619
  - spec/functional/dsl/reboot_pending_spec.rb
1576
1620
  - spec/functional/dsl/registry_helper_spec.rb
1577
1621
  - spec/functional/file_content_management/deploy_strategies_spec.rb
@@ -1734,6 +1778,7 @@ files:
1734
1778
  - spec/unit/handler/json_file_spec.rb
1735
1779
  - spec/unit/handler_spec.rb
1736
1780
  - spec/unit/http/basic_client_spec.rb
1781
+ - spec/unit/http/http_request_spec.rb
1737
1782
  - spec/unit/http/simple_spec.rb
1738
1783
  - spec/unit/http/ssl_policies_spec.rb
1739
1784
  - spec/unit/http/validate_content_length_spec.rb
@@ -1887,6 +1932,7 @@ files:
1887
1932
  - spec/unit/provider/package/ips_spec.rb
1888
1933
  - spec/unit/provider/package/macports_spec.rb
1889
1934
  - spec/unit/provider/package/pacman_spec.rb
1935
+ - spec/unit/provider/package/paludis_spec.rb
1890
1936
  - spec/unit/provider/package/portage_spec.rb
1891
1937
  - spec/unit/provider/package/rpm_spec.rb
1892
1938
  - spec/unit/provider/package/rubygems_spec.rb
@@ -2033,29 +2079,39 @@ files:
2033
2079
  - spec/unit/version_constraint/platform_spec.rb
2034
2080
  - spec/unit/version_constraint_spec.rb
2035
2081
  - spec/unit/windows_service_spec.rb
2036
- - tasks/rspec.rb
2082
+ - bin/chef-client
2083
+ - bin/chef-solo
2084
+ - bin/knife
2085
+ - bin/chef-shell
2086
+ - bin/shef
2087
+ - bin/chef-apply
2088
+ - bin/chef-service-manager
2037
2089
  homepage: http://wiki.opscode.com/display/chef
2038
2090
  licenses: []
2039
- metadata: {}
2040
2091
  post_install_message:
2041
2092
  rdoc_options: []
2042
2093
  require_paths:
2043
2094
  - lib
2044
2095
  required_ruby_version: !ruby/object:Gem::Requirement
2096
+ none: false
2045
2097
  requirements:
2046
- - - ">="
2098
+ - - ! '>='
2047
2099
  - !ruby/object:Gem::Version
2048
2100
  version: '0'
2101
+ segments:
2102
+ - 0
2103
+ hash: 1503652227548245970
2049
2104
  required_rubygems_version: !ruby/object:Gem::Requirement
2105
+ none: false
2050
2106
  requirements:
2051
- - - ">"
2107
+ - - ! '>'
2052
2108
  - !ruby/object:Gem::Version
2053
2109
  version: 1.3.1
2054
2110
  requirements: []
2055
2111
  rubyforge_project:
2056
- rubygems_version: 2.2.2
2112
+ rubygems_version: 1.8.24
2057
2113
  signing_key:
2058
- specification_version: 4
2114
+ specification_version: 3
2059
2115
  summary: A systems integration framework, built to bring the benefits of configuration
2060
2116
  management to your entire infrastructure.
2061
2117
  test_files: []