chef 11.18.12 → 12.0.0.alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +10 -0
  3. data/README.md +1 -1
  4. data/distro/common/html/_sources/index.txt +5 -2
  5. data/distro/common/html/_sources/knife_serve.txt +19 -0
  6. data/distro/common/html/_sources/knife_ssl_check.txt +2 -2
  7. data/distro/common/html/_sources/knife_ssl_fetch.txt +2 -2
  8. data/distro/common/html/_static/basic.css +1 -1
  9. data/distro/common/html/_static/doctools.js +1 -1
  10. data/distro/common/html/_static/searchtools.js +1 -1
  11. data/distro/common/html/_static/websupport.js +1 -1
  12. data/distro/common/html/ctl_chef_client.html +19 -9
  13. data/distro/common/html/ctl_chef_server.html +7 -1
  14. data/distro/common/html/ctl_chef_shell.html +3 -4
  15. data/distro/common/html/ctl_chef_solo.html +12 -7
  16. data/distro/common/html/index.html +19 -12
  17. data/distro/common/html/knife.html +1 -2
  18. data/distro/common/html/knife_bootstrap.html +16 -5
  19. data/distro/common/html/knife_client.html +8 -5
  20. data/distro/common/html/knife_common_options.html +11 -12
  21. data/distro/common/html/knife_configure.html +2 -3
  22. data/distro/common/html/knife_cookbook.html +16 -17
  23. data/distro/common/html/knife_cookbook_site.html +19 -18
  24. data/distro/common/html/knife_data_bag.html +6 -7
  25. data/distro/common/html/knife_delete.html +2 -3
  26. data/distro/common/html/knife_deps.html +2 -3
  27. data/distro/common/html/knife_diff.html +3 -4
  28. data/distro/common/html/knife_download.html +6 -7
  29. data/distro/common/html/knife_edit.html +0 -1
  30. data/distro/common/html/knife_environment.html +3 -4
  31. data/distro/common/html/knife_exec.html +0 -1
  32. data/distro/common/html/knife_index_rebuild.html +0 -1
  33. data/distro/common/html/knife_list.html +5 -6
  34. data/distro/common/html/knife_node.html +13 -6
  35. data/distro/common/html/knife_raw.html +0 -1
  36. data/distro/common/html/knife_recipe_list.html +0 -1
  37. data/distro/common/html/knife_role.html +1 -2
  38. data/distro/common/html/knife_search.html +2 -3
  39. data/distro/common/html/knife_serve.html +79 -0
  40. data/distro/common/html/knife_show.html +1 -2
  41. data/distro/common/html/knife_ssh.html +2 -3
  42. data/distro/common/html/knife_ssl_check.html +12 -9
  43. data/distro/common/html/knife_ssl_fetch.html +9 -10
  44. data/distro/common/html/knife_status.html +2 -3
  45. data/distro/common/html/knife_tag.html +0 -1
  46. data/distro/common/html/knife_upload.html +3 -4
  47. data/distro/common/html/knife_user.html +2 -3
  48. data/distro/common/html/knife_using.html +0 -1
  49. data/distro/common/html/knife_xargs.html +3 -4
  50. data/distro/common/html/search.html +0 -1
  51. data/distro/common/html/searchindex.js +1 -1
  52. data/lib/chef/api_client.rb +1 -1
  53. data/lib/chef/application.rb +24 -67
  54. data/lib/chef/application/client.rb +1 -1
  55. data/lib/chef/application/knife.rb +1 -1
  56. data/lib/chef/chef_fs/chef_fs_data_store.rb +2 -3
  57. data/lib/chef/chef_fs/command_line.rb +2 -3
  58. data/lib/chef/chef_fs/data_handler/group_data_handler.rb +1 -5
  59. data/lib/chef/chef_fs/file_system/acl_entry.rb +1 -2
  60. data/lib/chef/chef_fs/file_system/chef_repository_file_system_entry.rb +1 -2
  61. data/lib/chef/chef_fs/file_system/cookbooks_dir.rb +2 -2
  62. data/lib/chef/chef_fs/file_system/rest_list_dir.rb +2 -3
  63. data/lib/chef/chef_fs/file_system/rest_list_entry.rb +4 -5
  64. data/lib/chef/config.rb +26 -2
  65. data/lib/chef/config_fetcher.rb +1 -1
  66. data/lib/chef/cookbook/cookbook_version_loader.rb +4 -4
  67. data/lib/chef/cookbook/metadata.rb +1 -1
  68. data/lib/chef/cookbook/synchronizer.rb +50 -8
  69. data/lib/chef/cookbook_uploader.rb +9 -23
  70. data/lib/chef/cookbook_version.rb +3 -2
  71. data/lib/chef/data_bag.rb +1 -1
  72. data/lib/chef/data_bag_item.rb +1 -1
  73. data/lib/chef/dsl/recipe.rb +1 -14
  74. data/lib/chef/encrypted_data_bag_item/decryptor.rb +3 -3
  75. data/lib/chef/environment.rb +1 -1
  76. data/lib/chef/exceptions.rb +2 -24
  77. data/lib/chef/file_content_management/tempfile.rb +8 -1
  78. data/lib/chef/formatters/base.rb +0 -7
  79. data/lib/chef/http.rb +12 -19
  80. data/lib/chef/http/json_input.rb +12 -1
  81. data/lib/chef/json_compat.rb +45 -64
  82. data/lib/chef/knife.rb +2 -5
  83. data/lib/chef/knife/bootstrap.rb +2 -2
  84. data/lib/chef/knife/bootstrap/archlinux-gems.erb +2 -2
  85. data/lib/chef/knife/bootstrap/centos5-gems.erb +2 -2
  86. data/lib/chef/knife/bootstrap/chef-aix.erb +2 -2
  87. data/lib/chef/knife/bootstrap/chef-full.erb +2 -2
  88. data/lib/chef/knife/bootstrap/fedora13-gems.erb +2 -2
  89. data/lib/chef/knife/bootstrap/ubuntu10.04-apt.erb +2 -2
  90. data/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +2 -2
  91. data/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb +2 -2
  92. data/lib/chef/knife/cookbook_site_download.rb +1 -1
  93. data/lib/chef/knife/cookbook_site_install.rb +10 -34
  94. data/lib/chef/knife/cookbook_site_list.rb +1 -1
  95. data/lib/chef/knife/cookbook_site_search.rb +1 -1
  96. data/lib/chef/knife/cookbook_site_share.rb +3 -3
  97. data/lib/chef/knife/cookbook_site_show.rb +3 -3
  98. data/lib/chef/knife/cookbook_site_unshare.rb +1 -1
  99. data/lib/chef/knife/cookbook_upload.rb +1 -1
  100. data/lib/chef/knife/core/subcommand_loader.rb +0 -24
  101. data/lib/chef/knife/core/ui.rb +8 -7
  102. data/lib/chef/knife/deps.rb +2 -3
  103. data/lib/chef/knife/serve.rb +2 -1
  104. data/lib/chef/local_mode.rb +105 -0
  105. data/lib/chef/mixin/file_class.rb +1 -4
  106. data/lib/chef/mixin/shell_out.rb +15 -0
  107. data/lib/chef/mixin/windows_architecture_helper.rb +0 -16
  108. data/lib/chef/node.rb +1 -1
  109. data/lib/chef/platform/query_helpers.rb +1 -5
  110. data/lib/chef/policy_builder/expand_node_object.rb +3 -0
  111. data/lib/chef/provider.rb +2 -0
  112. data/lib/chef/provider/cookbook_file.rb +0 -1
  113. data/lib/chef/provider/deploy.rb +0 -1
  114. data/lib/chef/provider/deploy/revision.rb +1 -1
  115. data/lib/chef/provider/env.rb +10 -25
  116. data/lib/chef/provider/env/windows.rb +23 -10
  117. data/lib/chef/provider/execute.rb +0 -3
  118. data/lib/chef/provider/file.rb +0 -3
  119. data/lib/chef/provider/git.rb +0 -6
  120. data/lib/chef/provider/group/dscl.rb +9 -27
  121. data/lib/chef/provider/group/gpasswd.rb +0 -3
  122. data/lib/chef/provider/group/groupmod.rb +0 -4
  123. data/lib/chef/provider/group/suse.rb +0 -3
  124. data/lib/chef/provider/group/usermod.rb +0 -3
  125. data/lib/chef/provider/link.rb +22 -5
  126. data/lib/chef/provider/log.rb +15 -4
  127. data/lib/chef/provider/mdadm.rb +0 -3
  128. data/lib/chef/provider/mount/mount.rb +0 -2
  129. data/lib/chef/provider/mount/solaris.rb +0 -2
  130. data/lib/chef/provider/package.rb +0 -1
  131. data/lib/chef/provider/package/apt.rb +0 -3
  132. data/lib/chef/provider/package/dpkg.rb +0 -1
  133. data/lib/chef/provider/package/easy_install.rb +0 -4
  134. data/lib/chef/provider/package/freebsd/base.rb +0 -3
  135. data/lib/chef/provider/package/freebsd/pkgng.rb +0 -2
  136. data/lib/chef/provider/package/freebsd/port.rb +0 -2
  137. data/lib/chef/provider/package/ips.rb +0 -3
  138. data/lib/chef/provider/package/paludis.rb +0 -5
  139. data/lib/chef/provider/package/portage.rb +0 -2
  140. data/lib/chef/provider/package/rpm.rb +2 -4
  141. data/lib/chef/provider/package/rubygems.rb +0 -4
  142. data/lib/chef/provider/package/smartos.rb +0 -3
  143. data/lib/chef/provider/package/windows/msi.rb +0 -2
  144. data/lib/chef/provider/package/yum.rb +0 -4
  145. data/lib/chef/provider/package/zypper.rb +0 -3
  146. data/lib/chef/provider/registry_key.rb +0 -2
  147. data/lib/chef/provider/remote_directory.rb +0 -1
  148. data/lib/chef/provider/remote_file.rb +0 -1
  149. data/lib/chef/provider/remote_file/cache_control_data.rb +1 -3
  150. data/lib/chef/provider/remote_file/content.rb +0 -1
  151. data/lib/chef/provider/remote_file/fetcher.rb +0 -2
  152. data/lib/chef/provider/remote_file/ftp.rb +0 -1
  153. data/lib/chef/provider/resource_update.rb +0 -3
  154. data/lib/chef/provider/service/freebsd.rb +0 -3
  155. data/lib/chef/provider/service/init.rb +0 -3
  156. data/lib/chef/provider/service/macosx.rb +0 -1
  157. data/lib/chef/provider/service/redhat.rb +0 -2
  158. data/lib/chef/provider/service/simple.rb +0 -3
  159. data/lib/chef/provider/service/solaris.rb +0 -3
  160. data/lib/chef/provider/service/systemd.rb +15 -14
  161. data/lib/chef/provider/service/windows.rb +0 -3
  162. data/lib/chef/provider/subversion.rb +0 -2
  163. data/lib/chef/provider/template.rb +0 -2
  164. data/lib/chef/provider/template/content.rb +0 -1
  165. data/lib/chef/provider/user/dscl.rb +156 -549
  166. data/lib/chef/provider/user/solaris.rb +0 -1
  167. data/lib/chef/provider/user/useradd.rb +0 -3
  168. data/lib/chef/provider/whyrun_safe_ruby_block.rb +1 -1
  169. data/lib/chef/providers.rb +0 -1
  170. data/lib/chef/resource.rb +1 -4
  171. data/lib/chef/resource/freebsd_package.rb +2 -10
  172. data/lib/chef/resource/lwrp_base.rb +1 -12
  173. data/lib/chef/resource/user.rb +0 -18
  174. data/lib/chef/resource_collection.rb +1 -1
  175. data/lib/chef/resource_reporter.rb +10 -10
  176. data/lib/chef/resources.rb +0 -1
  177. data/lib/chef/role.rb +3 -3
  178. data/lib/chef/run_list.rb +1 -1
  179. data/lib/chef/tasks/chef_repo.rake +131 -264
  180. data/lib/chef/user.rb +1 -1
  181. data/lib/chef/util/path_helper.rb +2 -2
  182. data/lib/chef/version.rb +9 -1
  183. data/lib/chef/win32/api/system.rb +0 -9
  184. data/spec/data/bootstrap/test-hints.erb +1 -1
  185. data/spec/data/bootstrap/test.erb +1 -1
  186. data/spec/functional/dsl/reboot_pending_spec.rb +53 -58
  187. data/spec/functional/knife/cookbook_delete_spec.rb +3 -3
  188. data/spec/functional/knife/exec_spec.rb +1 -1
  189. data/spec/functional/mixin/shell_out_spec.rb +48 -0
  190. data/spec/functional/resource/base.rb +0 -10
  191. data/spec/functional/resource/group_spec.rb +1 -5
  192. data/spec/functional/resource/link_spec.rb +8 -0
  193. data/spec/functional/resource/{user/useradd_spec.rb → user_spec.rb} +1 -1
  194. data/spec/integration/knife/chef_fs_data_store_spec.rb +3 -3
  195. data/spec/integration/knife/chef_repo_path_spec.rb +1 -6
  196. data/spec/integration/knife/chef_repository_file_system_spec.rb +1 -1
  197. data/spec/integration/knife/chefignore_spec.rb +1 -1
  198. data/spec/integration/knife/common_options_spec.rb +50 -3
  199. data/spec/integration/knife/cookbook_api_ipv6_spec.rb +1 -1
  200. data/spec/integration/knife/delete_spec.rb +1 -1
  201. data/spec/integration/knife/deps_spec.rb +1 -1
  202. data/spec/integration/knife/diff_spec.rb +3 -3
  203. data/spec/integration/knife/download_spec.rb +3 -3
  204. data/spec/integration/knife/list_spec.rb +1 -1
  205. data/spec/integration/knife/raw_spec.rb +1 -11
  206. data/spec/integration/knife/redirection_spec.rb +1 -1
  207. data/spec/integration/knife/serve_spec.rb +2 -2
  208. data/spec/integration/knife/show_spec.rb +1 -1
  209. data/spec/integration/knife/upload_spec.rb +9 -9
  210. data/spec/spec_helper.rb +0 -9
  211. data/spec/support/pedant/pedant_config.rb +2 -1
  212. data/spec/support/pedant/run_pedant.rb +2 -1
  213. data/spec/support/platform_helpers.rb +5 -24
  214. data/spec/support/shared/integration/integration_helper.rb +2 -1
  215. data/spec/support/shared/matchers.rb +17 -0
  216. data/spec/tiny_server.rb +1 -2
  217. data/spec/unit/api_client_spec.rb +3 -3
  218. data/spec/unit/application_spec.rb +9 -32
  219. data/spec/unit/config_fetcher_spec.rb +1 -1
  220. data/spec/unit/cookbook/metadata_spec.rb +3 -7
  221. data/spec/unit/cookbook/synchronizer_spec.rb +441 -226
  222. data/spec/unit/cookbook_loader_spec.rb +1 -1
  223. data/spec/unit/cookbook_uploader_spec.rb +160 -0
  224. data/spec/unit/cookbook_version_spec.rb +0 -4
  225. data/spec/unit/data_bag_item_spec.rb +1 -5
  226. data/spec/unit/data_bag_spec.rb +1 -5
  227. data/spec/unit/deprecation_spec.rb +1 -1
  228. data/spec/unit/dsl/recipe_spec.rb +12 -0
  229. data/spec/unit/encrypted_data_bag_item_spec.rb +7 -14
  230. data/spec/unit/environment_spec.rb +3 -7
  231. data/spec/unit/exceptions_spec.rb +0 -6
  232. data/spec/unit/http/json_input_spec.rb +128 -0
  233. data/spec/unit/json_compat_spec.rb +17 -58
  234. data/spec/unit/knife/client_create_spec.rb +3 -3
  235. data/spec/unit/knife/configure_client_spec.rb +6 -5
  236. data/spec/unit/knife/cookbook_delete_spec.rb +1 -1
  237. data/spec/unit/knife/cookbook_download_spec.rb +5 -5
  238. data/spec/unit/knife/cookbook_metadata_from_file_spec.rb +1 -0
  239. data/spec/unit/knife/cookbook_metadata_spec.rb +1 -1
  240. data/spec/unit/knife/cookbook_site_download_spec.rb +10 -11
  241. data/spec/unit/knife/cookbook_site_install_spec.rb +116 -161
  242. data/spec/unit/knife/cookbook_site_share_spec.rb +8 -8
  243. data/spec/unit/knife/cookbook_upload_spec.rb +3 -2
  244. data/spec/unit/knife/core/bootstrap_context_spec.rb +3 -3
  245. data/spec/unit/knife/core/subcommand_loader_spec.rb +1 -66
  246. data/spec/unit/knife/data_bag_from_file_spec.rb +2 -1
  247. data/spec/unit/knife/tag_create_spec.rb +3 -3
  248. data/spec/unit/knife/tag_delete_spec.rb +3 -3
  249. data/spec/unit/knife/user_create_spec.rb +1 -1
  250. data/spec/unit/knife_spec.rb +14 -14
  251. data/spec/unit/lwrp_spec.rb +1 -21
  252. data/spec/unit/mixin/shell_out_spec.rb +92 -0
  253. data/spec/unit/node_spec.rb +0 -4
  254. data/spec/unit/platform/query_helpers_spec.rb +0 -23
  255. data/spec/unit/provider/env/windows_spec.rb +34 -70
  256. data/spec/unit/provider/env_spec.rb +11 -76
  257. data/spec/unit/provider/group/dscl_spec.rb +1 -38
  258. data/spec/unit/provider/log_spec.rb +18 -0
  259. data/spec/unit/provider/package/rpm_spec.rb +0 -12
  260. data/spec/unit/provider/remote_file/cache_control_data_spec.rb +1 -1
  261. data/spec/unit/provider/service/systemd_service_spec.rb +44 -27
  262. data/spec/unit/provider/user/dscl_spec.rb +264 -660
  263. data/spec/unit/provider/user/useradd_spec.rb +0 -1
  264. data/spec/unit/provider/whyrun_safe_ruby_block_spec.rb +2 -2
  265. data/spec/unit/provider_spec.rb +12 -0
  266. data/spec/unit/recipe_spec.rb +0 -41
  267. data/spec/unit/resource_collection_spec.rb +1 -5
  268. data/spec/unit/resource_reporter_spec.rb +3 -51
  269. data/spec/unit/resource_spec.rb +3 -14
  270. data/spec/unit/rest_spec.rb +1 -4
  271. data/spec/unit/role_spec.rb +0 -10
  272. data/spec/unit/run_list_spec.rb +1 -5
  273. data/spec/unit/user_spec.rb +1 -5
  274. metadata +20 -100
  275. data/lib/chef/mixin/windows_env_helper.rb +0 -56
  276. data/lib/chef/provider/dsc_script.rb +0 -175
  277. data/lib/chef/resource/dsc_script.rb +0 -126
  278. data/lib/chef/streaming_cookbook_uploader.rb +0 -205
  279. data/lib/chef/util/dsc/configuration_generator.rb +0 -115
  280. data/lib/chef/util/dsc/lcm_output_parser.rb +0 -133
  281. data/lib/chef/util/dsc/local_configuration_manager.rb +0 -141
  282. data/lib/chef/util/dsc/resource_info.rb +0 -26
  283. data/lib/chef/util/powershell/cmdlet.rb +0 -136
  284. data/lib/chef/util/powershell/cmdlet_result.rb +0 -46
  285. data/spec/data/mac_users/10.7-8.plist.xml +0 -559
  286. data/spec/data/mac_users/10.7-8.shadow.xml +0 -11
  287. data/spec/data/mac_users/10.7.plist.xml +0 -559
  288. data/spec/data/mac_users/10.7.shadow.xml +0 -11
  289. data/spec/data/mac_users/10.8.plist.xml +0 -559
  290. data/spec/data/mac_users/10.8.shadow.xml +0 -21
  291. data/spec/data/mac_users/10.9.plist.xml +0 -560
  292. data/spec/data/mac_users/10.9.shadow.xml +0 -21
  293. data/spec/functional/provider/whyrun_safe_ruby_block_spec.rb +0 -51
  294. data/spec/functional/resource/dsc_script_spec.rb +0 -382
  295. data/spec/functional/resource/env_spec.rb +0 -182
  296. data/spec/functional/resource/user/dscl_spec.rb +0 -199
  297. data/spec/functional/util/powershell/cmdlet_spec.rb +0 -113
  298. data/spec/support/lib/chef/resource/zen_follower.rb +0 -46
  299. data/spec/support/shared/shared_examples.rb +0 -10
  300. data/spec/unit/chef_fs/data_handler/group_handler_spec.rb +0 -63
  301. data/spec/unit/formatters/base_spec.rb +0 -48
  302. data/spec/unit/provider/dsc_script_spec.rb +0 -174
  303. data/spec/unit/resource/dsc_script_spec.rb +0 -98
  304. data/spec/unit/util/dsc/configuration_generator_spec.rb +0 -171
  305. data/spec/unit/util/dsc/lcm_output_parser_spec.rb +0 -169
  306. data/spec/unit/util/dsc/local_configuration_manager_spec.rb +0 -139
  307. data/spec/unit/util/powershell/cmdlet_spec.rb +0 -106
@@ -19,7 +19,6 @@
19
19
  #
20
20
 
21
21
  require 'spec_helper'
22
- require 'chef/provider/user/useradd'
23
22
 
24
23
  describe Chef::Provider::User::Useradd do
25
24
 
@@ -30,14 +30,14 @@ describe Chef::Provider::WhyrunSafeRubyBlock, "initialize" do
30
30
  end
31
31
 
32
32
  it "should call the block and flag the resource as updated" do
33
- @provider.run_action(:run)
33
+ @provider.run_action(:create)
34
34
  $evil_global_evil_laugh.should == :mwahahaha
35
35
  @new_resource.should be_updated
36
36
  end
37
37
 
38
38
  it "should call the block and flat the resource as updated - even in whyrun" do
39
39
  Chef::Config[:why_run] = true
40
- @provider.run_action(:run)
40
+ @provider.run_action(:create)
41
41
  $evil_global_evil_laugh.should == :mwahahaha
42
42
  @new_resource.should be_updated
43
43
  Chef::Config[:why_run] = false
@@ -61,6 +61,18 @@ describe Chef::Provider do
61
61
  @provider = Chef::Provider.new(@resource, @run_context)
62
62
  end
63
63
 
64
+ it "should mixin shell_out" do
65
+ expect(@provider.respond_to?(:shell_out)).to be true
66
+ end
67
+
68
+ it "should mixin shell_out!" do
69
+ expect(@provider.respond_to?(:shell_out!)).to be true
70
+ end
71
+
72
+ it "should mixin shell_out_with_systems_locale" do
73
+ expect(@provider.respond_to?(:shell_out_with_systems_locale)).to be true
74
+ end
75
+
64
76
  it "should store the resource passed to new as new_resource" do
65
77
  @provider.new_resource.should eql(@resource)
66
78
  end
@@ -182,48 +182,7 @@ describe Chef::Recipe do
182
182
  zm_resource # force let binding evaluation
183
183
  run_context.resource_collection.resources(:zen_master => "klopp").should == zm_resource
184
184
  end
185
- end
186
-
187
- describe "creating a resource with short name" do
188
- # zen_follower resource has this:
189
- # provides :follower, :on_platforms => ["zen"]
190
- before do
191
- node.stub(:[]) do |key|
192
- case key
193
- when :platform
194
- :zen
195
- when :platform_version
196
- "1.0.0"
197
- else
198
- nil
199
- end
200
- end
201
- end
202
-
203
- let(:resource_follower) do
204
- recipe.declare_resource(:follower, "srst") do
205
- master "none"
206
- end
207
- end
208
185
 
209
- it "defines the resource using the declaration name with short name" do
210
- resource_follower
211
- run_context.resource_collection.lookup("follower[srst]").should_not be_nil
212
- end
213
- end
214
-
215
- describe "creating a resource with a long name" do
216
- let(:resource_zn_follower) do
217
- recipe.declare_resource(:zen_follower, "srst") do
218
- master "none"
219
- end
220
- end
221
-
222
-
223
- it "defines the resource using the declaration name with long name" do
224
- resource_zn_follower
225
- run_context.resource_collection.lookup("zen_follower[srst]").should_not be_nil
226
- end
227
186
  end
228
187
 
229
188
  describe "when attempting to create a resource of an invalid type" do
@@ -245,16 +245,12 @@ describe Chef::ResourceCollection do
245
245
  json.should =~ /json_class/
246
246
  json.should =~ /instance_vars/
247
247
  end
248
-
249
- include_examples "to_json equalivent to Chef::JSONCompat.to_json" do
250
- let(:subject) { @rc }
251
- end
252
248
  end
253
249
 
254
250
  describe "self.from_json" do
255
251
  it "should deserialize itself from json" do
256
252
  @rc << @resource
257
- json = Chef::JSONCompat.to_json(@rc)
253
+ json = @rc.to_json
258
254
  s_rc = Chef::JSONCompat.from_json(json)
259
255
  s_rc.should be_a_kind_of(Chef::ResourceCollection)
260
256
  s_rc[0].name.should eql(@resource.name)
@@ -21,7 +21,6 @@
21
21
 
22
22
  require File.expand_path("../../spec_helper", __FILE__)
23
23
  require 'chef/resource_reporter'
24
- require 'socket'
25
24
 
26
25
  describe Chef::ResourceReporter do
27
26
  before(:all) do
@@ -421,7 +420,7 @@ describe Chef::ResourceReporter do
421
420
 
422
421
  it "includes the run_list" do
423
422
  @report.should have_key("run_list")
424
- @report["run_list"].should == Chef::JSONCompat.to_json(@run_status.node.run_list)
423
+ @report["run_list"].should == @run_status.node.run_list.to_json
425
424
  end
426
425
 
427
426
  it "includes the end_time" do
@@ -484,7 +483,7 @@ describe Chef::ResourceReporter do
484
483
 
485
484
  it "includes the exception trace in the event data" do
486
485
  @report["data"]["exception"].should have_key("backtrace")
487
- @report["data"]["exception"]["backtrace"].should == Chef::JSONCompat.to_json(@backtrace)
486
+ @report["data"]["exception"]["backtrace"].should == @backtrace.to_json
488
487
  end
489
488
 
490
489
  it "includes the error inspector output in the event data" do
@@ -701,59 +700,12 @@ describe Chef::ResourceReporter do
701
700
  })
702
701
  data_stream = Zlib::GzipReader.new(StringIO.new(data))
703
702
  data = data_stream.read
704
- data.should eq(Chef::JSONCompat.to_json(@expected_data))
703
+ data.should eq(@expected_data.to_json)
705
704
  response
706
705
  end
707
706
 
708
707
  @resource_reporter.run_completed(@node)
709
708
  end
710
709
  end
711
-
712
- context "when data report post is enabled and the server response fails" do
713
- before do
714
- @enable_reporting_url_fatals = Chef::Config[:enable_reporting_url_fatals]
715
- Chef::Config[:enable_reporting_url_fatals] = true
716
- # this call doesn't matter for this context
717
- @rest_client.stub(:create_url)
718
- end
719
-
720
- after do
721
- Chef::Config[:enable_reporting_url_fatals] = @enable_reporting_url_fatals
722
- end
723
-
724
- it "should log 4xx errors" do
725
- response = Net::HTTPClientError.new("forbidden", "403", "Forbidden")
726
- error = Net::HTTPServerException.new("403 message", response)
727
- @rest_client.stub(:raw_http_request).and_raise(error)
728
- Chef::Log.should_receive(:error).with(/403/)
729
-
730
- @resource_reporter.post_reporting_data
731
- end
732
-
733
- it "should log error 5xx errors" do
734
- response = Net::HTTPServerError.new("internal error", "500", "Internal Server Error")
735
- error = Net::HTTPFatalError.new("500 message", response)
736
- @rest_client.stub(:raw_http_request).and_raise(error)
737
- Chef::Log.should_receive(:error).with(/500/)
738
-
739
- @resource_reporter.post_reporting_data
740
- end
741
-
742
- it "should log if a socket error happens" do
743
- @rest_client.stub(:raw_http_request).and_raise(SocketError.new("test socket error"))
744
- Chef::Log.should_receive(:error).with(/test socket error/)
745
-
746
- @resource_reporter.post_reporting_data
747
-
748
- end
749
-
750
- it "should raise if an unkwown error happens" do
751
- @rest_client.stub(:raw_http_request).and_raise(Exception.new)
752
-
753
- lambda {
754
- @resource_reporter.post_reporting_data
755
- }.should raise_error(Exception)
756
- end
757
- end
758
710
  end
759
711
  end
@@ -336,10 +336,6 @@ describe Chef::Resource do
336
336
  json.should =~ /json_class/
337
337
  json.should =~ /instance_vars/
338
338
  end
339
-
340
- include_examples "to_json equalivent to Chef::JSONCompat.to_json" do
341
- let(:subject) { @resource }
342
- end
343
339
  end
344
340
 
345
341
  describe "to_hash" do
@@ -348,7 +344,7 @@ describe Chef::Resource do
348
344
  expected_keys = [ :allowed_actions, :params, :provider, :updated,
349
345
  :updated_by_last_action, :before, :supports,
350
346
  :noop, :ignore_failure, :name, :source_line,
351
- :action, :retries, :retry_delay, :elapsed_time,
347
+ :action, :retries, :retry_delay, :elapsed_time,
352
348
  :guard_interpreter, :sensitive ]
353
349
  (hash.keys - expected_keys).should == []
354
350
  (expected_keys - hash.keys).should == []
@@ -358,7 +354,7 @@ describe Chef::Resource do
358
354
 
359
355
  describe "self.json_create" do
360
356
  it "should deserialize itself from json" do
361
- json = Chef::JSONCompat.to_json(@resource)
357
+ json = @resource.to_json
362
358
  serialized_node = Chef::JSONCompat.from_json(json)
363
359
  serialized_node.should be_a_kind_of(Chef::Resource)
364
360
  serialized_node.name.should eql(@resource.name)
@@ -531,13 +527,6 @@ describe Chef::Resource do
531
527
  snitch_var2.should be_false
532
528
  end
533
529
 
534
- it "reports 0 elapsed time if actual elapsed time is < 0" do
535
- expected = Time.now
536
- Time.stub(:now).and_return(expected, expected - 1)
537
- @resource.run_action(:purr)
538
- @resource.elapsed_time.should == 0
539
- end
540
-
541
530
  describe "guard_interpreter attribute" do
542
531
  let(:resource) { @resource }
543
532
 
@@ -799,7 +788,7 @@ describe Chef::Resource do
799
788
  before(:each) do
800
789
  @resource_file = Chef::Resource::File.new("/nonexistent/CHEF-5098/file", @run_context)
801
790
  @action = :create
802
- end
791
+ end
803
792
 
804
793
  def compiled_resource_data(resource, action, err)
805
794
  error_inspector = Chef::Formatters::ErrorInspectors::ResourceFailureInspector.new(resource, action, err)
@@ -526,12 +526,9 @@ describe Chef::REST do
526
526
  http_response.stub(:read_body)
527
527
  http_response
528
528
  end
529
-
530
- it "retries then throws an exception" do
529
+ it "throws an exception" do
531
530
  rest.stub(:sleep)
532
531
  expect {rest.request(:GET, url)}.to raise_error(Net::HTTPFatalError)
533
- count = Chef::Config[:http_retry_count]
534
- expect(log_stringio.string).to match(Regexp.escape("ERROR: Server returned error 500 for #{url}, retrying #{count}/#{count}"))
535
532
  end
536
533
  end
537
534
  end
@@ -215,10 +215,6 @@ describe Chef::Role do
215
215
  end
216
216
 
217
217
  end
218
-
219
- include_examples "to_json equalivent to Chef::JSONCompat.to_json" do
220
- let(:subject) { @role }
221
- end
222
218
  end
223
219
 
224
220
  describe "when created from JSON", :json => true do
@@ -300,12 +296,6 @@ EOR
300
296
  File.should_not_receive(:exists?)
301
297
  lambda {@role.class.from_disk("lolcat")}.should raise_error(Chef::Exceptions::DuplicateRole)
302
298
  end
303
-
304
- it "should not raise an exception if two files exist with a similar name" do
305
- Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes/lolcat.rb", "#{Chef::Config[:role_path]}/super_lolcat.rb"])
306
- File.should_not_receive(:exists?)
307
- lambda {@role.class.from_disk("lolcat")}.should_not raise_error(Chef::Exceptions::DuplicateRole)
308
- end
309
299
  end
310
300
 
311
301
  describe "when loading from disk and role_path is an array" do
@@ -304,11 +304,7 @@ describe Chef::RunList do
304
304
  end
305
305
 
306
306
  it "converts to json by converting its array form" do
307
- Chef::JSONCompat.to_json(@run_list).should == Chef::JSONCompat.to_json(["recipe[nagios::client]", "role[production]", "recipe[apache2]"])
308
- end
309
-
310
- include_examples "to_json equalivent to Chef::JSONCompat.to_json" do
311
- let(:subject) { @run_list }
307
+ @run_list.to_json.should == ["recipe[nagios::client]", "role[production]", "recipe[apache2]"].to_json
312
308
  end
313
309
 
314
310
  end
@@ -154,10 +154,6 @@ describe Chef::User do
154
154
  it "does not include the password if not present" do
155
155
  @json.should_not include("password")
156
156
  end
157
-
158
- include_examples "to_json equalivent to Chef::JSONCompat.to_json" do
159
- let(:subject) { @user }
160
- end
161
157
  end
162
158
 
163
159
  describe "when deserializing from JSON" do
@@ -167,7 +163,7 @@ describe Chef::User do
167
163
  "private_key" => "pandas",
168
164
  "password" => "password",
169
165
  "admin" => true }
170
- @user = Chef::User.from_json(Chef::JSONCompat.to_json(user))
166
+ @user = Chef::User.from_json(user.to_json)
171
167
  end
172
168
 
173
169
  it "should deserialize to a Chef::User object" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.18.12
4
+ version: 12.0.0.alpha.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-30 00:00:00.000000000 Z
11
+ date: 2014-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-config
@@ -86,62 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '7.4'
89
+ version: '7.2'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '7.4'
97
- - !ruby/object:Gem::Dependency
98
- name: rest-client
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: 1.0.4
104
- - - "<="
105
- - !ruby/object:Gem::Version
106
- version: 1.6.7
107
- type: :runtime
108
- prerelease: false
109
- version_requirements: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- version: 1.0.4
114
- - - "<="
115
- - !ruby/object:Gem::Version
116
- version: 1.6.7
117
- - !ruby/object:Gem::Dependency
118
- name: mime-types
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '1.16'
124
- type: :runtime
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '1.16'
96
+ version: '7.2'
131
97
  - !ruby/object:Gem::Dependency
132
98
  name: ffi-yajl
133
99
  requirement: !ruby/object:Gem::Requirement
134
100
  requirements:
135
101
  - - "~>"
136
102
  - !ruby/object:Gem::Version
137
- version: '1.2'
103
+ version: '1.0'
138
104
  type: :runtime
139
105
  prerelease: false
140
106
  version_requirements: !ruby/object:Gem::Requirement
141
107
  requirements:
142
108
  - - "~>"
143
109
  - !ruby/object:Gem::Version
144
- version: '1.2'
110
+ version: '1.0'
145
111
  - !ruby/object:Gem::Dependency
146
112
  name: net-ssh
147
113
  requirement: !ruby/object:Gem::Requirement
@@ -231,9 +197,6 @@ dependencies:
231
197
  - - "~>"
232
198
  - !ruby/object:Gem::Version
233
199
  version: '2.2'
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: 2.2.1
237
200
  type: :runtime
238
201
  prerelease: false
239
202
  version_requirements: !ruby/object:Gem::Requirement
@@ -241,9 +204,6 @@ dependencies:
241
204
  - - "~>"
242
205
  - !ruby/object:Gem::Version
243
206
  version: '2.2'
244
- - - ">="
245
- - !ruby/object:Gem::Version
246
- version: 2.2.1
247
207
  - !ruby/object:Gem::Dependency
248
208
  name: pry
249
209
  requirement: !ruby/object:Gem::Requirement
@@ -258,20 +218,6 @@ dependencies:
258
218
  - - "~>"
259
219
  - !ruby/object:Gem::Version
260
220
  version: '0.9'
261
- - !ruby/object:Gem::Dependency
262
- name: plist
263
- requirement: !ruby/object:Gem::Requirement
264
- requirements:
265
- - - "~>"
266
- - !ruby/object:Gem::Version
267
- version: 3.1.0
268
- type: :runtime
269
- prerelease: false
270
- version_requirements: !ruby/object:Gem::Requirement
271
- requirements:
272
- - - "~>"
273
- - !ruby/object:Gem::Version
274
- version: 3.1.0
275
221
  - !ruby/object:Gem::Dependency
276
222
  name: rack
277
223
  requirement: !ruby/object:Gem::Requirement
@@ -358,7 +304,7 @@ dependencies:
358
304
  version: 2.14.0
359
305
  description: A systems integration framework, built to bring the benefits of configuration
360
306
  management to your entire infrastructure.
361
- email: adam@opscode.com
307
+ email: adam@getchef.com
362
308
  executables:
363
309
  - chef-client
364
310
  - chef-solo
@@ -422,6 +368,7 @@ files:
422
368
  - distro/common/html/_sources/knife_recipe_list.txt
423
369
  - distro/common/html/_sources/knife_role.txt
424
370
  - distro/common/html/_sources/knife_search.txt
371
+ - distro/common/html/_sources/knife_serve.txt
425
372
  - distro/common/html/_sources/knife_show.txt
426
373
  - distro/common/html/_sources/knife_ssh.txt
427
374
  - distro/common/html/_sources/knife_ssl_check.txt
@@ -482,6 +429,7 @@ files:
482
429
  - distro/common/html/knife_recipe_list.html
483
430
  - distro/common/html/knife_role.html
484
431
  - distro/common/html/knife_search.html
432
+ - distro/common/html/knife_serve.html
485
433
  - distro/common/html/knife_show.html
486
434
  - distro/common/html/knife_ssh.html
487
435
  - distro/common/html/knife_ssl_check.html
@@ -859,6 +807,7 @@ files:
859
807
  - lib/chef/knife/user_reregister.rb
860
808
  - lib/chef/knife/user_show.rb
861
809
  - lib/chef/knife/xargs.rb
810
+ - lib/chef/local_mode.rb
862
811
  - lib/chef/log.rb
863
812
  - lib/chef/mash.rb
864
813
  - lib/chef/mixin/checksum.rb
@@ -884,7 +833,6 @@ files:
884
833
  - lib/chef/mixin/template.rb
885
834
  - lib/chef/mixin/why_run.rb
886
835
  - lib/chef/mixin/windows_architecture_helper.rb
887
- - lib/chef/mixin/windows_env_helper.rb
888
836
  - lib/chef/mixin/xml_escape.rb
889
837
  - lib/chef/mixins.rb
890
838
  - lib/chef/monkey_patches/file.rb
@@ -924,7 +872,6 @@ files:
924
872
  - lib/chef/provider/deploy/revision.rb
925
873
  - lib/chef/provider/deploy/timestamped.rb
926
874
  - lib/chef/provider/directory.rb
927
- - lib/chef/provider/dsc_script.rb
928
875
  - lib/chef/provider/env.rb
929
876
  - lib/chef/provider/env/windows.rb
930
877
  - lib/chef/provider/erl_call.rb
@@ -1041,7 +988,6 @@ files:
1041
988
  - lib/chef/resource/deploy_revision.rb
1042
989
  - lib/chef/resource/directory.rb
1043
990
  - lib/chef/resource/dpkg_package.rb
1044
- - lib/chef/resource/dsc_script.rb
1045
991
  - lib/chef/resource/easy_install_package.rb
1046
992
  - lib/chef/resource/env.rb
1047
993
  - lib/chef/resource/erl_call.rb
@@ -1117,20 +1063,13 @@ files:
1117
1063
  - lib/chef/shell/shell_rest.rb
1118
1064
  - lib/chef/shell/shell_session.rb
1119
1065
  - lib/chef/shell_out.rb
1120
- - lib/chef/streaming_cookbook_uploader.rb
1121
1066
  - lib/chef/tasks/chef_repo.rake
1122
1067
  - lib/chef/user.rb
1123
1068
  - lib/chef/util/backup.rb
1124
1069
  - lib/chef/util/diff.rb
1125
- - lib/chef/util/dsc/configuration_generator.rb
1126
- - lib/chef/util/dsc/lcm_output_parser.rb
1127
- - lib/chef/util/dsc/local_configuration_manager.rb
1128
- - lib/chef/util/dsc/resource_info.rb
1129
1070
  - lib/chef/util/editor.rb
1130
1071
  - lib/chef/util/file_edit.rb
1131
1072
  - lib/chef/util/path_helper.rb
1132
- - lib/chef/util/powershell/cmdlet.rb
1133
- - lib/chef/util/powershell/cmdlet_result.rb
1134
1073
  - lib/chef/util/selinux.rb
1135
1074
  - lib/chef/util/threaded_job_queue.rb
1136
1075
  - lib/chef/util/windows.rb
@@ -1320,14 +1259,6 @@ files:
1320
1259
  - spec/data/lwrp_const_scoping/resources/conflict.rb
1321
1260
  - spec/data/lwrp_override/providers/buck_passer.rb
1322
1261
  - spec/data/lwrp_override/resources/foo.rb
1323
- - spec/data/mac_users/10.7-8.plist.xml
1324
- - spec/data/mac_users/10.7-8.shadow.xml
1325
- - spec/data/mac_users/10.7.plist.xml
1326
- - spec/data/mac_users/10.7.shadow.xml
1327
- - spec/data/mac_users/10.8.plist.xml
1328
- - spec/data/mac_users/10.8.shadow.xml
1329
- - spec/data/mac_users/10.9.plist.xml
1330
- - spec/data/mac_users/10.9.shadow.xml
1331
1262
  - spec/data/metadata/quick_start/metadata.rb
1332
1263
  - spec/data/nodes/default.rb
1333
1264
  - spec/data/nodes/test.example.com.rb
@@ -1442,8 +1373,8 @@ files:
1442
1373
  - spec/functional/knife/exec_spec.rb
1443
1374
  - spec/functional/knife/smoke_test.rb
1444
1375
  - spec/functional/knife/ssh_spec.rb
1376
+ - spec/functional/mixin/shell_out_spec.rb
1445
1377
  - spec/functional/provider/remote_file/cache_control_data_spec.rb
1446
- - spec/functional/provider/whyrun_safe_ruby_block_spec.rb
1447
1378
  - spec/functional/resource/base.rb
1448
1379
  - spec/functional/resource/batch_spec.rb
1449
1380
  - spec/functional/resource/bff_spec.rb
@@ -1451,8 +1382,6 @@ files:
1451
1382
  - spec/functional/resource/cron_spec.rb
1452
1383
  - spec/functional/resource/deploy_revision_spec.rb
1453
1384
  - spec/functional/resource/directory_spec.rb
1454
- - spec/functional/resource/dsc_script_spec.rb
1455
- - spec/functional/resource/env_spec.rb
1456
1385
  - spec/functional/resource/file_spec.rb
1457
1386
  - spec/functional/resource/git_spec.rb
1458
1387
  - spec/functional/resource/group_spec.rb
@@ -1467,13 +1396,11 @@ files:
1467
1396
  - spec/functional/resource/remote_file_spec.rb
1468
1397
  - spec/functional/resource/rpm_spec.rb
1469
1398
  - spec/functional/resource/template_spec.rb
1470
- - spec/functional/resource/user/dscl_spec.rb
1471
- - spec/functional/resource/user/useradd_spec.rb
1399
+ - spec/functional/resource/user_spec.rb
1472
1400
  - spec/functional/rest_spec.rb
1473
1401
  - spec/functional/run_lock_spec.rb
1474
1402
  - spec/functional/shell_spec.rb
1475
1403
  - spec/functional/tiny_server_spec.rb
1476
- - spec/functional/util/powershell/cmdlet_spec.rb
1477
1404
  - spec/functional/version_spec.rb
1478
1405
  - spec/functional/win32/registry_helper_spec.rb
1479
1406
  - spec/functional/win32/security_spec.rb
@@ -1511,7 +1438,6 @@ files:
1511
1438
  - spec/support/lib/chef/resource/cat.rb
1512
1439
  - spec/support/lib/chef/resource/one_two_three_four.rb
1513
1440
  - spec/support/lib/chef/resource/with_state.rb
1514
- - spec/support/lib/chef/resource/zen_follower.rb
1515
1441
  - spec/support/lib/chef/resource/zen_master.rb
1516
1442
  - spec/support/lib/library_load_order.rb
1517
1443
  - spec/support/matchers/leak.rb
@@ -1536,7 +1462,7 @@ files:
1536
1462
  - spec/support/shared/integration/app_server_support.rb
1537
1463
  - spec/support/shared/integration/integration_helper.rb
1538
1464
  - spec/support/shared/integration/knife_support.rb
1539
- - spec/support/shared/shared_examples.rb
1465
+ - spec/support/shared/matchers.rb
1540
1466
  - spec/support/shared/unit/api_error_inspector.rb
1541
1467
  - spec/support/shared/unit/execute_resource.rb
1542
1468
  - spec/support/shared/unit/file_system_support.rb
@@ -1555,7 +1481,6 @@ files:
1555
1481
  - spec/unit/application/server_spec.rb
1556
1482
  - spec/unit/application/solo_spec.rb
1557
1483
  - spec/unit/application_spec.rb
1558
- - spec/unit/chef_fs/data_handler/group_handler_spec.rb
1559
1484
  - spec/unit/chef_fs/diff_spec.rb
1560
1485
  - spec/unit/chef_fs/file_pattern_spec.rb
1561
1486
  - spec/unit/chef_fs/file_system/operation_failed_error_spec.rb
@@ -1574,6 +1499,7 @@ files:
1574
1499
  - spec/unit/cookbook_manifest_spec.rb
1575
1500
  - spec/unit/cookbook_site_streaming_uploader.rb
1576
1501
  - spec/unit/cookbook_spec.rb
1502
+ - spec/unit/cookbook_uploader_spec.rb
1577
1503
  - spec/unit/cookbook_version_spec.rb
1578
1504
  - spec/unit/daemon_spec.rb
1579
1505
  - spec/unit/data_bag_item_spec.rb
@@ -1593,7 +1519,6 @@ files:
1593
1519
  - spec/unit/file_content_management/deploy/cp_spec.rb
1594
1520
  - spec/unit/file_content_management/deploy/mv_unix_spec.rb
1595
1521
  - spec/unit/file_content_management/deploy/mv_windows_spec.rb
1596
- - spec/unit/formatters/base_spec.rb
1597
1522
  - spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb
1598
1523
  - spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb
1599
1524
  - spec/unit/formatters/error_inspectors/cookbook_sync_error_inspector_spec.rb
@@ -1606,6 +1531,7 @@ files:
1606
1531
  - spec/unit/handler_spec.rb
1607
1532
  - spec/unit/http/basic_client_spec.rb
1608
1533
  - spec/unit/http/http_request_spec.rb
1534
+ - spec/unit/http/json_input_spec.rb
1609
1535
  - spec/unit/http/simple_spec.rb
1610
1536
  - spec/unit/http/ssl_policies_spec.rb
1611
1537
  - spec/unit/http/validate_content_length_spec.rb
@@ -1720,7 +1646,6 @@ files:
1720
1646
  - spec/unit/provider/deploy/timestamped_spec.rb
1721
1647
  - spec/unit/provider/deploy_spec.rb
1722
1648
  - spec/unit/provider/directory_spec.rb
1723
- - spec/unit/provider/dsc_script_spec.rb
1724
1649
  - spec/unit/provider/env/windows_spec.rb
1725
1650
  - spec/unit/provider/env_spec.rb
1726
1651
  - spec/unit/provider/erl_call_spec.rb
@@ -1827,7 +1752,6 @@ files:
1827
1752
  - spec/unit/resource/deploy_spec.rb
1828
1753
  - spec/unit/resource/directory_spec.rb
1829
1754
  - spec/unit/resource/dpkg_package_spec.rb
1830
- - spec/unit/resource/dsc_script_spec.rb
1831
1755
  - spec/unit/resource/easy_install_package_spec.rb
1832
1756
  - spec/unit/resource/env_spec.rb
1833
1757
  - spec/unit/resource/erl_call_spec.rb
@@ -1898,13 +1822,9 @@ files:
1898
1822
  - spec/unit/user_spec.rb
1899
1823
  - spec/unit/util/backup_spec.rb
1900
1824
  - spec/unit/util/diff_spec.rb
1901
- - spec/unit/util/dsc/configuration_generator_spec.rb
1902
- - spec/unit/util/dsc/lcm_output_parser_spec.rb
1903
- - spec/unit/util/dsc/local_configuration_manager_spec.rb
1904
1825
  - spec/unit/util/editor_spec.rb
1905
1826
  - spec/unit/util/file_edit_spec.rb
1906
1827
  - spec/unit/util/path_helper_spec.rb
1907
- - spec/unit/util/powershell/cmdlet_spec.rb
1908
1828
  - spec/unit/util/selinux_spec.rb
1909
1829
  - spec/unit/util/threaded_job_queue_spec.rb
1910
1830
  - spec/unit/version/platform_spec.rb
@@ -1913,7 +1833,7 @@ files:
1913
1833
  - spec/unit/version_constraint_spec.rb
1914
1834
  - spec/unit/windows_service_spec.rb
1915
1835
  - tasks/rspec.rb
1916
- homepage: http://wiki.opscode.com/display/chef
1836
+ homepage: http://www.getchef.com
1917
1837
  licenses: []
1918
1838
  metadata: {}
1919
1839
  post_install_message:
@@ -1924,15 +1844,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
1924
1844
  requirements:
1925
1845
  - - ">="
1926
1846
  - !ruby/object:Gem::Version
1927
- version: '0'
1847
+ version: 1.9.3
1928
1848
  required_rubygems_version: !ruby/object:Gem::Requirement
1929
1849
  requirements:
1930
- - - ">="
1850
+ - - ">"
1931
1851
  - !ruby/object:Gem::Version
1932
- version: '0'
1852
+ version: 1.3.1
1933
1853
  requirements: []
1934
1854
  rubyforge_project:
1935
- rubygems_version: 2.4.4
1855
+ rubygems_version: 2.2.2
1936
1856
  signing_key:
1937
1857
  specification_version: 4
1938
1858
  summary: A systems integration framework, built to bring the benefits of configuration