chef 11.18.12-x86-mingw32 → 12.0.0.alpha.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: x86-mingw32
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
@@ -512,7 +458,7 @@ dependencies:
512
458
  version: '1.0'
513
459
  description: A systems integration framework, built to bring the benefits of configuration
514
460
  management to your entire infrastructure.
515
- email: adam@opscode.com
461
+ email: adam@getchef.com
516
462
  executables:
517
463
  - chef-client
518
464
  - chef-solo
@@ -576,6 +522,7 @@ files:
576
522
  - distro/common/html/_sources/knife_recipe_list.txt
577
523
  - distro/common/html/_sources/knife_role.txt
578
524
  - distro/common/html/_sources/knife_search.txt
525
+ - distro/common/html/_sources/knife_serve.txt
579
526
  - distro/common/html/_sources/knife_show.txt
580
527
  - distro/common/html/_sources/knife_ssh.txt
581
528
  - distro/common/html/_sources/knife_ssl_check.txt
@@ -636,6 +583,7 @@ files:
636
583
  - distro/common/html/knife_recipe_list.html
637
584
  - distro/common/html/knife_role.html
638
585
  - distro/common/html/knife_search.html
586
+ - distro/common/html/knife_serve.html
639
587
  - distro/common/html/knife_show.html
640
588
  - distro/common/html/knife_ssh.html
641
589
  - distro/common/html/knife_ssl_check.html
@@ -1013,6 +961,7 @@ files:
1013
961
  - lib/chef/knife/user_reregister.rb
1014
962
  - lib/chef/knife/user_show.rb
1015
963
  - lib/chef/knife/xargs.rb
964
+ - lib/chef/local_mode.rb
1016
965
  - lib/chef/log.rb
1017
966
  - lib/chef/mash.rb
1018
967
  - lib/chef/mixin/checksum.rb
@@ -1038,7 +987,6 @@ files:
1038
987
  - lib/chef/mixin/template.rb
1039
988
  - lib/chef/mixin/why_run.rb
1040
989
  - lib/chef/mixin/windows_architecture_helper.rb
1041
- - lib/chef/mixin/windows_env_helper.rb
1042
990
  - lib/chef/mixin/xml_escape.rb
1043
991
  - lib/chef/mixins.rb
1044
992
  - lib/chef/monkey_patches/file.rb
@@ -1078,7 +1026,6 @@ files:
1078
1026
  - lib/chef/provider/deploy/revision.rb
1079
1027
  - lib/chef/provider/deploy/timestamped.rb
1080
1028
  - lib/chef/provider/directory.rb
1081
- - lib/chef/provider/dsc_script.rb
1082
1029
  - lib/chef/provider/env.rb
1083
1030
  - lib/chef/provider/env/windows.rb
1084
1031
  - lib/chef/provider/erl_call.rb
@@ -1195,7 +1142,6 @@ files:
1195
1142
  - lib/chef/resource/deploy_revision.rb
1196
1143
  - lib/chef/resource/directory.rb
1197
1144
  - lib/chef/resource/dpkg_package.rb
1198
- - lib/chef/resource/dsc_script.rb
1199
1145
  - lib/chef/resource/easy_install_package.rb
1200
1146
  - lib/chef/resource/env.rb
1201
1147
  - lib/chef/resource/erl_call.rb
@@ -1271,20 +1217,13 @@ files:
1271
1217
  - lib/chef/shell/shell_rest.rb
1272
1218
  - lib/chef/shell/shell_session.rb
1273
1219
  - lib/chef/shell_out.rb
1274
- - lib/chef/streaming_cookbook_uploader.rb
1275
1220
  - lib/chef/tasks/chef_repo.rake
1276
1221
  - lib/chef/user.rb
1277
1222
  - lib/chef/util/backup.rb
1278
1223
  - lib/chef/util/diff.rb
1279
- - lib/chef/util/dsc/configuration_generator.rb
1280
- - lib/chef/util/dsc/lcm_output_parser.rb
1281
- - lib/chef/util/dsc/local_configuration_manager.rb
1282
- - lib/chef/util/dsc/resource_info.rb
1283
1224
  - lib/chef/util/editor.rb
1284
1225
  - lib/chef/util/file_edit.rb
1285
1226
  - lib/chef/util/path_helper.rb
1286
- - lib/chef/util/powershell/cmdlet.rb
1287
- - lib/chef/util/powershell/cmdlet_result.rb
1288
1227
  - lib/chef/util/selinux.rb
1289
1228
  - lib/chef/util/threaded_job_queue.rb
1290
1229
  - lib/chef/util/windows.rb
@@ -1474,14 +1413,6 @@ files:
1474
1413
  - spec/data/lwrp_const_scoping/resources/conflict.rb
1475
1414
  - spec/data/lwrp_override/providers/buck_passer.rb
1476
1415
  - spec/data/lwrp_override/resources/foo.rb
1477
- - spec/data/mac_users/10.7-8.plist.xml
1478
- - spec/data/mac_users/10.7-8.shadow.xml
1479
- - spec/data/mac_users/10.7.plist.xml
1480
- - spec/data/mac_users/10.7.shadow.xml
1481
- - spec/data/mac_users/10.8.plist.xml
1482
- - spec/data/mac_users/10.8.shadow.xml
1483
- - spec/data/mac_users/10.9.plist.xml
1484
- - spec/data/mac_users/10.9.shadow.xml
1485
1416
  - spec/data/metadata/quick_start/metadata.rb
1486
1417
  - spec/data/nodes/default.rb
1487
1418
  - spec/data/nodes/test.example.com.rb
@@ -1596,8 +1527,8 @@ files:
1596
1527
  - spec/functional/knife/exec_spec.rb
1597
1528
  - spec/functional/knife/smoke_test.rb
1598
1529
  - spec/functional/knife/ssh_spec.rb
1530
+ - spec/functional/mixin/shell_out_spec.rb
1599
1531
  - spec/functional/provider/remote_file/cache_control_data_spec.rb
1600
- - spec/functional/provider/whyrun_safe_ruby_block_spec.rb
1601
1532
  - spec/functional/resource/base.rb
1602
1533
  - spec/functional/resource/batch_spec.rb
1603
1534
  - spec/functional/resource/bff_spec.rb
@@ -1605,8 +1536,6 @@ files:
1605
1536
  - spec/functional/resource/cron_spec.rb
1606
1537
  - spec/functional/resource/deploy_revision_spec.rb
1607
1538
  - spec/functional/resource/directory_spec.rb
1608
- - spec/functional/resource/dsc_script_spec.rb
1609
- - spec/functional/resource/env_spec.rb
1610
1539
  - spec/functional/resource/file_spec.rb
1611
1540
  - spec/functional/resource/git_spec.rb
1612
1541
  - spec/functional/resource/group_spec.rb
@@ -1621,13 +1550,11 @@ files:
1621
1550
  - spec/functional/resource/remote_file_spec.rb
1622
1551
  - spec/functional/resource/rpm_spec.rb
1623
1552
  - spec/functional/resource/template_spec.rb
1624
- - spec/functional/resource/user/dscl_spec.rb
1625
- - spec/functional/resource/user/useradd_spec.rb
1553
+ - spec/functional/resource/user_spec.rb
1626
1554
  - spec/functional/rest_spec.rb
1627
1555
  - spec/functional/run_lock_spec.rb
1628
1556
  - spec/functional/shell_spec.rb
1629
1557
  - spec/functional/tiny_server_spec.rb
1630
- - spec/functional/util/powershell/cmdlet_spec.rb
1631
1558
  - spec/functional/version_spec.rb
1632
1559
  - spec/functional/win32/registry_helper_spec.rb
1633
1560
  - spec/functional/win32/security_spec.rb
@@ -1665,7 +1592,6 @@ files:
1665
1592
  - spec/support/lib/chef/resource/cat.rb
1666
1593
  - spec/support/lib/chef/resource/one_two_three_four.rb
1667
1594
  - spec/support/lib/chef/resource/with_state.rb
1668
- - spec/support/lib/chef/resource/zen_follower.rb
1669
1595
  - spec/support/lib/chef/resource/zen_master.rb
1670
1596
  - spec/support/lib/library_load_order.rb
1671
1597
  - spec/support/matchers/leak.rb
@@ -1690,7 +1616,7 @@ files:
1690
1616
  - spec/support/shared/integration/app_server_support.rb
1691
1617
  - spec/support/shared/integration/integration_helper.rb
1692
1618
  - spec/support/shared/integration/knife_support.rb
1693
- - spec/support/shared/shared_examples.rb
1619
+ - spec/support/shared/matchers.rb
1694
1620
  - spec/support/shared/unit/api_error_inspector.rb
1695
1621
  - spec/support/shared/unit/execute_resource.rb
1696
1622
  - spec/support/shared/unit/file_system_support.rb
@@ -1709,7 +1635,6 @@ files:
1709
1635
  - spec/unit/application/server_spec.rb
1710
1636
  - spec/unit/application/solo_spec.rb
1711
1637
  - spec/unit/application_spec.rb
1712
- - spec/unit/chef_fs/data_handler/group_handler_spec.rb
1713
1638
  - spec/unit/chef_fs/diff_spec.rb
1714
1639
  - spec/unit/chef_fs/file_pattern_spec.rb
1715
1640
  - spec/unit/chef_fs/file_system/operation_failed_error_spec.rb
@@ -1728,6 +1653,7 @@ files:
1728
1653
  - spec/unit/cookbook_manifest_spec.rb
1729
1654
  - spec/unit/cookbook_site_streaming_uploader.rb
1730
1655
  - spec/unit/cookbook_spec.rb
1656
+ - spec/unit/cookbook_uploader_spec.rb
1731
1657
  - spec/unit/cookbook_version_spec.rb
1732
1658
  - spec/unit/daemon_spec.rb
1733
1659
  - spec/unit/data_bag_item_spec.rb
@@ -1747,7 +1673,6 @@ files:
1747
1673
  - spec/unit/file_content_management/deploy/cp_spec.rb
1748
1674
  - spec/unit/file_content_management/deploy/mv_unix_spec.rb
1749
1675
  - spec/unit/file_content_management/deploy/mv_windows_spec.rb
1750
- - spec/unit/formatters/base_spec.rb
1751
1676
  - spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb
1752
1677
  - spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb
1753
1678
  - spec/unit/formatters/error_inspectors/cookbook_sync_error_inspector_spec.rb
@@ -1760,6 +1685,7 @@ files:
1760
1685
  - spec/unit/handler_spec.rb
1761
1686
  - spec/unit/http/basic_client_spec.rb
1762
1687
  - spec/unit/http/http_request_spec.rb
1688
+ - spec/unit/http/json_input_spec.rb
1763
1689
  - spec/unit/http/simple_spec.rb
1764
1690
  - spec/unit/http/ssl_policies_spec.rb
1765
1691
  - spec/unit/http/validate_content_length_spec.rb
@@ -1874,7 +1800,6 @@ files:
1874
1800
  - spec/unit/provider/deploy/timestamped_spec.rb
1875
1801
  - spec/unit/provider/deploy_spec.rb
1876
1802
  - spec/unit/provider/directory_spec.rb
1877
- - spec/unit/provider/dsc_script_spec.rb
1878
1803
  - spec/unit/provider/env/windows_spec.rb
1879
1804
  - spec/unit/provider/env_spec.rb
1880
1805
  - spec/unit/provider/erl_call_spec.rb
@@ -1981,7 +1906,6 @@ files:
1981
1906
  - spec/unit/resource/deploy_spec.rb
1982
1907
  - spec/unit/resource/directory_spec.rb
1983
1908
  - spec/unit/resource/dpkg_package_spec.rb
1984
- - spec/unit/resource/dsc_script_spec.rb
1985
1909
  - spec/unit/resource/easy_install_package_spec.rb
1986
1910
  - spec/unit/resource/env_spec.rb
1987
1911
  - spec/unit/resource/erl_call_spec.rb
@@ -2052,13 +1976,9 @@ files:
2052
1976
  - spec/unit/user_spec.rb
2053
1977
  - spec/unit/util/backup_spec.rb
2054
1978
  - spec/unit/util/diff_spec.rb
2055
- - spec/unit/util/dsc/configuration_generator_spec.rb
2056
- - spec/unit/util/dsc/lcm_output_parser_spec.rb
2057
- - spec/unit/util/dsc/local_configuration_manager_spec.rb
2058
1979
  - spec/unit/util/editor_spec.rb
2059
1980
  - spec/unit/util/file_edit_spec.rb
2060
1981
  - spec/unit/util/path_helper_spec.rb
2061
- - spec/unit/util/powershell/cmdlet_spec.rb
2062
1982
  - spec/unit/util/selinux_spec.rb
2063
1983
  - spec/unit/util/threaded_job_queue_spec.rb
2064
1984
  - spec/unit/version/platform_spec.rb
@@ -2067,7 +1987,7 @@ files:
2067
1987
  - spec/unit/version_constraint_spec.rb
2068
1988
  - spec/unit/windows_service_spec.rb
2069
1989
  - tasks/rspec.rb
2070
- homepage: http://wiki.opscode.com/display/chef
1990
+ homepage: http://www.getchef.com
2071
1991
  licenses: []
2072
1992
  metadata: {}
2073
1993
  post_install_message:
@@ -2078,15 +1998,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
2078
1998
  requirements:
2079
1999
  - - ">="
2080
2000
  - !ruby/object:Gem::Version
2081
- version: '0'
2001
+ version: 1.9.3
2082
2002
  required_rubygems_version: !ruby/object:Gem::Requirement
2083
2003
  requirements:
2084
- - - ">="
2004
+ - - ">"
2085
2005
  - !ruby/object:Gem::Version
2086
- version: '0'
2006
+ version: 1.3.1
2087
2007
  requirements: []
2088
2008
  rubyforge_project:
2089
- rubygems_version: 2.4.4
2009
+ rubygems_version: 2.2.2
2090
2010
  signing_key:
2091
2011
  specification_version: 4
2092
2012
  summary: A systems integration framework, built to bring the benefits of configuration