chef 10.34.6 → 11.0.0.beta.0

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 (506) hide show
  1. data/CONTRIBUTING.md +155 -0
  2. data/README.md +89 -0
  3. data/Rakefile +4 -12
  4. data/bin/chef-apply +25 -0
  5. data/bin/chef-shell +34 -0
  6. data/bin/shef +6 -5
  7. data/distro/common/html/chef-client.8.html +4 -4
  8. data/distro/common/html/chef-expander.8.html +4 -4
  9. data/distro/common/html/chef-expanderctl.8.html +4 -4
  10. data/distro/common/html/chef-server-webui.8.html +4 -4
  11. data/distro/common/html/chef-server.8.html +4 -4
  12. data/distro/common/html/{shef.1.html → chef-shell.1.html} +49 -46
  13. data/distro/common/html/chef-solo.8.html +18 -12
  14. data/distro/common/html/chef-solr.8.html +4 -4
  15. data/distro/common/html/knife-bootstrap.1.html +4 -4
  16. data/distro/common/html/knife-client.1.html +4 -4
  17. data/distro/common/html/knife-configure.1.html +4 -4
  18. data/distro/common/html/knife-cookbook-site.1.html +4 -4
  19. data/distro/common/html/knife-cookbook.1.html +10 -7
  20. data/distro/common/html/knife-data-bag.1.html +10 -7
  21. data/distro/common/html/knife-environment.1.html +8 -6
  22. data/distro/common/html/knife-exec.1.html +9 -9
  23. data/distro/common/html/knife-index.1.html +4 -4
  24. data/distro/common/html/knife-node.1.html +4 -4
  25. data/distro/common/html/knife-role.1.html +4 -4
  26. data/distro/common/html/knife-search.1.html +4 -4
  27. data/distro/common/html/knife-ssh.1.html +4 -4
  28. data/distro/common/html/knife-status.1.html +4 -4
  29. data/distro/common/html/knife-tag.1.html +4 -4
  30. data/distro/common/html/knife.1.html +8 -13
  31. data/distro/common/man/man1/{shef.1 → chef-shell.1} +21 -57
  32. data/distro/common/man/man1/knife-bootstrap.1 +1 -1
  33. data/distro/common/man/man1/knife-client.1 +1 -1
  34. data/distro/common/man/man1/knife-configure.1 +1 -1
  35. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  36. data/distro/common/man/man1/knife-cookbook.1 +15 -2
  37. data/distro/common/man/man1/knife-data-bag.1 +15 -2
  38. data/distro/common/man/man1/knife-environment.1 +12 -2
  39. data/distro/common/man/man1/knife-exec.1 +4 -7
  40. data/distro/common/man/man1/knife-index.1 +1 -1
  41. data/distro/common/man/man1/knife-node.1 +1 -1
  42. data/distro/common/man/man1/knife-role.1 +1 -1
  43. data/distro/common/man/man1/knife-search.1 +1 -1
  44. data/distro/common/man/man1/knife-ssh.1 +1 -1
  45. data/distro/common/man/man1/knife-status.1 +1 -1
  46. data/distro/common/man/man1/knife-tag.1 +1 -1
  47. data/distro/common/man/man1/knife.1 +3 -6
  48. data/distro/common/man/man8/chef-client.8 +1 -1
  49. data/distro/common/man/man8/chef-expander.8 +1 -1
  50. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  51. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  52. data/distro/common/man/man8/chef-server.8 +1 -1
  53. data/distro/common/man/man8/chef-solo.8 +36 -4
  54. data/distro/common/man/man8/chef-solr.8 +1 -1
  55. data/distro/common/markdown/man1/{shef.mkd → chef-shell.mkd} +49 -43
  56. data/distro/common/markdown/man1/knife-exec.mkd +11 -6
  57. data/distro/common/markdown/man1/knife.mkd +4 -9
  58. data/distro/debian/etc/default/chef-client +0 -1
  59. data/distro/debian/etc/init.d/chef-client +2 -2
  60. data/lib/chef.rb +2 -5
  61. data/lib/chef/api_client.rb +20 -130
  62. data/lib/chef/api_client/registration.rb +126 -0
  63. data/lib/chef/application.rb +71 -14
  64. data/lib/chef/application/apply.rb +160 -0
  65. data/lib/chef/application/client.rb +25 -18
  66. data/lib/chef/application/knife.rb +0 -2
  67. data/lib/chef/application/solo.rb +23 -8
  68. data/lib/chef/application/windows_service.rb +5 -2
  69. data/lib/chef/applications.rb +1 -0
  70. data/lib/chef/chef_fs.rb +11 -0
  71. data/lib/chef/chef_fs/command_line.rb +232 -0
  72. data/lib/chef/chef_fs/file_pattern.rb +312 -0
  73. data/lib/chef/chef_fs/file_system.rb +358 -0
  74. data/lib/chef/chef_fs/file_system/base_fs_dir.rb +47 -0
  75. data/lib/chef/chef_fs/file_system/base_fs_object.rb +121 -0
  76. data/lib/chef/chef_fs/file_system/chef_repository_file_system_entry.rb +109 -0
  77. data/{spec/unit/monkey_patches/uri_spec.rb → lib/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb} +12 -15
  78. data/lib/chef/chef_fs/file_system/chef_server_root_dir.rb +84 -0
  79. data/lib/chef/chef_fs/file_system/cookbook_dir.rb +188 -0
  80. data/lib/chef/chef_fs/file_system/cookbook_file.rb +78 -0
  81. data/lib/chef/chef_fs/file_system/cookbook_subdir.rb +54 -0
  82. data/lib/chef/chef_fs/file_system/cookbooks_dir.rb +68 -0
  83. data/lib/chef/chef_fs/file_system/data_bag_dir.rb +78 -0
  84. data/lib/chef/chef_fs/file_system/data_bag_item.rb +59 -0
  85. data/lib/chef/chef_fs/file_system/data_bags_dir.rb +66 -0
  86. data/lib/chef/chef_fs/file_system/file_system_entry.rb +90 -0
  87. data/lib/chef/{index_queue.rb → chef_fs/file_system/file_system_error.rb} +14 -12
  88. data/lib/chef/{resource/whyrun_safe_ruby_block.rb → chef_fs/file_system/file_system_root_dir.rb} +10 -10
  89. data/lib/chef/chef_fs/file_system/must_delete_recursively_error.rb +31 -0
  90. data/lib/chef/chef_fs/file_system/nodes_dir.rb +47 -0
  91. data/lib/chef/{provider/whyrun_safe_ruby_block.rb → chef_fs/file_system/nonexistent_fs_object.rb} +19 -9
  92. data/lib/chef/chef_fs/file_system/not_found_error.rb +31 -0
  93. data/lib/chef/chef_fs/file_system/rest_list_dir.rb +84 -0
  94. data/lib/chef/chef_fs/file_system/rest_list_entry.rb +123 -0
  95. data/lib/chef/chef_fs/knife.rb +77 -0
  96. data/lib/chef/chef_fs/path_utils.rb +64 -0
  97. data/lib/chef/client.rb +44 -21
  98. data/lib/chef/config.rb +52 -43
  99. data/lib/chef/cookbook/synchronizer.rb +6 -8
  100. data/lib/chef/cookbook/syntax_check.rb +61 -14
  101. data/lib/chef/cookbook_loader.rb +39 -26
  102. data/lib/chef/cookbook_uploader.rb +17 -19
  103. data/lib/chef/cookbook_version.rb +3 -302
  104. data/lib/chef/daemon.rb +3 -18
  105. data/lib/chef/data_bag.rb +4 -97
  106. data/lib/chef/data_bag_item.rb +2 -65
  107. data/lib/chef/digester.rb +73 -0
  108. data/lib/chef/dsl.rb +6 -0
  109. data/lib/chef/dsl/data_query.rb +66 -0
  110. data/lib/chef/dsl/include_attribute.rb +60 -0
  111. data/lib/chef/dsl/include_recipe.rb +42 -0
  112. data/lib/chef/dsl/platform_introspection.rb +213 -0
  113. data/lib/chef/dsl/recipe.rb +84 -0
  114. data/lib/chef/dsl/registry_helper.rb +59 -0
  115. data/lib/chef/encrypted_data_bag_item.rb +74 -19
  116. data/lib/chef/environment.rb +9 -180
  117. data/lib/chef/exceptions.rb +87 -14
  118. data/lib/chef/formatters/base.rb +4 -1
  119. data/lib/chef/formatters/error_inspectors/registration_error_inspector.rb +0 -4
  120. data/lib/chef/json_compat.rb +1 -97
  121. data/lib/chef/knife.rb +90 -41
  122. data/lib/chef/knife/bootstrap/archlinux-gems.erb +2 -2
  123. data/lib/chef/knife/bootstrap/centos5-gems.erb +2 -2
  124. data/lib/chef/knife/bootstrap/chef-full.erb +3 -3
  125. data/lib/chef/knife/bootstrap/fedora13-gems.erb +2 -2
  126. data/lib/chef/knife/bootstrap/ubuntu10.04-apt.erb +2 -2
  127. data/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +2 -2
  128. data/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb +2 -2
  129. data/lib/chef/knife/configure.rb +1 -2
  130. data/lib/chef/knife/cookbook_metadata.rb +1 -0
  131. data/lib/chef/knife/cookbook_test.rb +3 -2
  132. data/lib/chef/knife/cookbook_upload.rb +12 -7
  133. data/lib/chef/knife/core/bootstrap_context.rb +1 -1
  134. data/lib/chef/knife/core/generic_presenter.rb +26 -13
  135. data/lib/chef/knife/core/node_editor.rb +36 -16
  136. data/lib/chef/knife/core/node_presenter.rb +1 -1
  137. data/lib/chef/knife/core/text_formatter.rb +23 -37
  138. data/lib/chef/knife/core/ui.rb +15 -9
  139. data/lib/chef/knife/delete.rb +39 -0
  140. data/lib/chef/knife/diff.rb +46 -0
  141. data/lib/chef/knife/download.rb +50 -0
  142. data/lib/chef/knife/environment_show.rb +7 -0
  143. data/lib/chef/knife/exec.rb +5 -5
  144. data/lib/chef/knife/help_topics.rb +1 -1
  145. data/lib/chef/knife/index_rebuild.rb +91 -7
  146. data/lib/chef/knife/list.rb +109 -0
  147. data/lib/chef/knife/raw.rb +108 -0
  148. data/lib/chef/knife/search.rb +40 -22
  149. data/lib/chef/knife/show.rb +32 -0
  150. data/lib/chef/knife/ssh.rb +6 -2
  151. data/lib/chef/knife/upload.rb +50 -0
  152. data/lib/chef/mixin/checksum.rb +3 -3
  153. data/lib/chef/mixin/deep_merge.rb +55 -197
  154. data/lib/chef/mixin/language.rb +9 -222
  155. data/lib/chef/mixin/language_include_attribute.rb +6 -38
  156. data/lib/chef/mixin/language_include_recipe.rb +3 -35
  157. data/lib/chef/mixin/params_validate.rb +6 -19
  158. data/lib/chef/mixin/recipe_definition_dsl_core.rb +8 -61
  159. data/lib/chef/mixin/securable.rb +32 -7
  160. data/lib/chef/mixin/template.rb +40 -0
  161. data/lib/chef/mixins.rb +0 -4
  162. data/lib/chef/monkey_patches/net_http.rb +0 -34
  163. data/lib/chef/node.rb +133 -309
  164. data/lib/chef/node/attribute.rb +333 -473
  165. data/lib/chef/node/attribute_collections.rb +199 -0
  166. data/lib/chef/node/immutable_collections.rb +186 -0
  167. data/lib/chef/platform.rb +7 -22
  168. data/lib/chef/provider.rb +2 -49
  169. data/lib/chef/provider/breakpoint.rb +6 -6
  170. data/lib/chef/provider/cookbook_file.rb +5 -33
  171. data/lib/chef/provider/deploy.rb +2 -1
  172. data/lib/chef/provider/directory.rb +14 -17
  173. data/lib/chef/provider/file.rb +19 -52
  174. data/lib/chef/provider/group.rb +31 -51
  175. data/lib/chef/provider/group/dscl.rb +13 -53
  176. data/lib/chef/provider/group/gpasswd.rb +19 -14
  177. data/lib/chef/provider/group/groupadd.rb +1 -41
  178. data/lib/chef/provider/group/groupmod.rb +36 -46
  179. data/lib/chef/provider/group/pw.rb +16 -59
  180. data/lib/chef/provider/group/suse.rb +13 -16
  181. data/lib/chef/provider/group/usermod.rb +18 -40
  182. data/lib/chef/provider/group/windows.rb +6 -13
  183. data/lib/chef/provider/http_request.rb +25 -42
  184. data/lib/chef/provider/link.rb +2 -0
  185. data/lib/chef/provider/lwrp_base.rb +150 -0
  186. data/lib/chef/provider/package/portage.rb +4 -9
  187. data/lib/chef/provider/package/rpm.rb +2 -2
  188. data/lib/chef/provider/package/rubygems.rb +9 -41
  189. data/lib/chef/provider/package/yum.rb +12 -19
  190. data/lib/chef/provider/registry_key.rb +156 -0
  191. data/lib/chef/provider/remote_directory.rb +2 -0
  192. data/lib/chef/provider/remote_file.rb +21 -12
  193. data/lib/chef/provider/ruby_block.rb +5 -2
  194. data/lib/chef/provider/service.rb +15 -0
  195. data/lib/chef/provider/service/init.rb +9 -7
  196. data/lib/chef/provider/service/macosx.rb +15 -73
  197. data/lib/chef/provider/service/simple.rb +1 -1
  198. data/lib/chef/provider/service/solaris.rb +3 -3
  199. data/lib/chef/provider/template.rb +22 -25
  200. data/lib/chef/provider/template_finder.rb +61 -0
  201. data/lib/chef/provider/user.rb +0 -1
  202. data/lib/chef/provider/user/dscl.rb +175 -568
  203. data/lib/chef/provider/user/useradd.rb +30 -47
  204. data/lib/chef/providers.rb +3 -2
  205. data/lib/chef/recipe.rb +14 -8
  206. data/lib/chef/resource.rb +13 -154
  207. data/lib/chef/resource/group.rb +1 -11
  208. data/lib/chef/resource/http_request.rb +2 -1
  209. data/lib/chef/resource/lwrp_base.rb +127 -0
  210. data/lib/chef/resource/mount.rb +10 -11
  211. data/lib/chef/resource/registry_key.rb +86 -0
  212. data/lib/chef/resource/remote_directory.rb +6 -5
  213. data/lib/chef/resource/remote_file.rb +22 -31
  214. data/lib/chef/resource/ruby_block.rb +2 -2
  215. data/lib/chef/resource/service.rb +14 -0
  216. data/lib/chef/resource/user.rb +0 -18
  217. data/lib/chef/resource_collection.rb +25 -21
  218. data/lib/chef/resources.rb +2 -1
  219. data/lib/chef/rest.rb +50 -131
  220. data/lib/chef/rest/auth_credentials.rb +4 -20
  221. data/lib/chef/rest/rest_request.rb +2 -7
  222. data/lib/chef/role.rb +1 -97
  223. data/lib/chef/run_context.rb +108 -130
  224. data/lib/chef/run_context/cookbook_compiler.rb +280 -0
  225. data/lib/chef/run_list.rb +0 -2
  226. data/lib/chef/run_list/run_list_expansion.rb +0 -15
  227. data/lib/chef/run_lock.rb +90 -0
  228. data/lib/chef/runner.rb +28 -5
  229. data/lib/chef/sandbox.rb +15 -148
  230. data/lib/chef/scan_access_control.rb +2 -4
  231. data/lib/chef/shef/ext.rb +3 -575
  232. data/lib/chef/{shef.rb → shell.rb} +35 -40
  233. data/lib/chef/shell/ext.rb +593 -0
  234. data/lib/chef/{shef → shell}/model_wrapper.rb +3 -3
  235. data/lib/chef/{shef/shef_rest.rb → shell/shell_rest.rb} +4 -4
  236. data/lib/chef/{shef/shef_session.rb → shell/shell_session.rb} +17 -15
  237. data/lib/chef/shell_out.rb +7 -0
  238. data/lib/chef/util/windows/net_group.rb +1 -5
  239. data/lib/chef/version.rb +3 -3
  240. data/lib/chef/win32/api/process.rb +0 -1
  241. data/lib/chef/win32/handle.rb +1 -8
  242. data/lib/chef/win32/registry.rb +371 -0
  243. data/spec/data/big_json.json +1 -2
  244. data/spec/data/big_json_plus_one.json +1 -2
  245. data/spec/data/cookbooks/openldap/attributes/default.rb +10 -9
  246. data/spec/data/cookbooks/openldap/attributes/smokey.rb +1 -1
  247. data/spec/data/lwrp/providers/inline_compiler.rb +26 -0
  248. data/spec/data/nodes/default.rb +3 -3
  249. data/spec/data/nodes/test.example.com.rb +3 -3
  250. data/spec/data/nodes/test.rb +3 -3
  251. data/spec/data/partial_one.erb +1 -0
  252. data/spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb +4 -0
  253. data/spec/data/run_context/cookbooks/circular-dep1/definitions/circular_dep1_res.rb +1 -0
  254. data/spec/data/run_context/cookbooks/circular-dep1/libraries/lib.rb +2 -0
  255. data/spec/data/run_context/cookbooks/circular-dep1/metadata.rb +2 -0
  256. data/spec/data/run_context/cookbooks/circular-dep1/providers/provider.rb +1 -0
  257. data/spec/data/{knife-home/.chef/plugins/knife/example_home_subcommand.rb → run_context/cookbooks/circular-dep1/recipes/default.rb} +0 -0
  258. data/spec/data/run_context/cookbooks/circular-dep1/resources/resource.rb +1 -0
  259. data/spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb +3 -0
  260. data/spec/data/run_context/cookbooks/circular-dep2/definitions/circular_dep2_res.rb +1 -0
  261. data/spec/data/run_context/cookbooks/circular-dep2/libraries/lib.rb +2 -0
  262. data/spec/data/run_context/cookbooks/circular-dep2/metadata.rb +2 -0
  263. data/spec/data/run_context/cookbooks/circular-dep2/providers/provider.rb +1 -0
  264. data/spec/data/{lwrp_const_scoping/resources/conflict.rb → run_context/cookbooks/circular-dep2/recipes/default.rb} +0 -0
  265. data/spec/data/run_context/cookbooks/circular-dep2/resources/resource.rb +1 -0
  266. data/spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb +2 -0
  267. data/spec/data/run_context/cookbooks/dependency1/attributes/default.rb +2 -0
  268. data/spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb +3 -0
  269. data/spec/data/run_context/cookbooks/dependency1/definitions/dependency1_res.rb +1 -0
  270. data/spec/data/run_context/cookbooks/dependency1/libraries/lib.rb +2 -0
  271. data/spec/data/run_context/cookbooks/dependency1/providers/provider.rb +1 -0
  272. data/spec/data/run_context/cookbooks/dependency1/recipes/default.rb +0 -0
  273. data/spec/data/run_context/cookbooks/dependency1/resources/resource.rb +1 -0
  274. data/spec/data/run_context/cookbooks/dependency2/attributes/default.rb +3 -0
  275. data/spec/data/run_context/cookbooks/dependency2/definitions/dependency2_res.rb +1 -0
  276. data/spec/data/run_context/cookbooks/dependency2/libraries/lib.rb +2 -0
  277. data/spec/data/run_context/cookbooks/dependency2/providers/provider.rb +1 -0
  278. data/spec/data/run_context/cookbooks/dependency2/recipes/default.rb +0 -0
  279. data/spec/data/run_context/cookbooks/dependency2/resources/resource.rb +1 -0
  280. data/spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb +3 -0
  281. data/spec/data/run_context/cookbooks/no-default-attr/definitions/no_default-attr_res.rb +1 -0
  282. data/spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb +1 -0
  283. data/spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb +0 -0
  284. data/spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb +1 -0
  285. data/spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb +3 -0
  286. data/spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb +1 -0
  287. data/spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb +2 -0
  288. data/spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb +2 -0
  289. data/spec/data/run_context/cookbooks/test-with-circular-deps/providers/provider.rb +1 -0
  290. data/spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb +0 -0
  291. data/spec/data/run_context/cookbooks/test-with-circular-deps/resources/resource.rb +1 -0
  292. data/spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb +3 -0
  293. data/spec/data/run_context/cookbooks/test-with-deps/definitions/test_with-deps_res.rb +1 -0
  294. data/spec/data/run_context/cookbooks/test-with-deps/libraries/lib.rb +1 -0
  295. data/spec/data/run_context/cookbooks/test-with-deps/metadata.rb +3 -0
  296. data/spec/data/run_context/cookbooks/test-with-deps/providers/provider.rb +1 -0
  297. data/spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb +0 -0
  298. data/spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb +0 -0
  299. data/spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb +1 -0
  300. data/spec/data/run_context/cookbooks/test/attributes/default.rb +0 -0
  301. data/spec/data/run_context/cookbooks/test/attributes/george.rb +1 -1
  302. data/spec/data/run_context/cookbooks/test/definitions/test_res.rb +1 -0
  303. data/spec/data/run_context/cookbooks/test/providers/provider.rb +1 -0
  304. data/spec/data/run_context/cookbooks/test/resources/resource.rb +1 -0
  305. data/spec/data/shef-config.rb +7 -0
  306. data/spec/functional/dsl/registry_helper_spec.rb +63 -0
  307. data/spec/functional/knife/cookbook_delete_spec.rb +1 -1
  308. data/spec/functional/knife/exec_spec.rb +2 -2
  309. data/spec/functional/knife/ssh_spec.rb +5 -1
  310. data/spec/functional/resource/cookbook_file_spec.rb +7 -19
  311. data/spec/functional/resource/directory_spec.rb +4 -0
  312. data/spec/functional/resource/file_spec.rb +56 -22
  313. data/spec/functional/resource/link_spec.rb +2 -0
  314. data/spec/functional/resource/registry_spec.rb +576 -0
  315. data/spec/functional/resource/remote_directory_spec.rb +142 -36
  316. data/spec/functional/resource/remote_file_spec.rb +18 -0
  317. data/spec/functional/resource/template_spec.rb +23 -2
  318. data/spec/functional/run_lock_spec.rb +106 -0
  319. data/spec/functional/shell_spec.rb +100 -0
  320. data/spec/functional/win32/registry_helper_spec.rb +632 -0
  321. data/spec/spec_helper.rb +5 -29
  322. data/spec/stress/win32/security_spec.rb +1 -1
  323. data/spec/support/chef_helpers.rb +0 -2
  324. data/spec/support/platform_helpers.rb +8 -15
  325. data/spec/support/shared/functional/directory_resource.rb +84 -22
  326. data/spec/support/shared/functional/file_resource.rb +169 -71
  327. data/spec/support/shared/functional/securable_resource.rb +143 -119
  328. data/spec/support/shared/functional/securable_resource_with_reporting.rb +375 -0
  329. data/spec/support/shared/unit/file_system_support.rb +110 -0
  330. data/spec/support/shared/unit/platform_introspector.rb +162 -0
  331. data/spec/unit/api_client/registration_spec.rb +175 -0
  332. data/spec/unit/api_client_spec.rb +78 -156
  333. data/spec/unit/application/apply.rb +84 -0
  334. data/spec/unit/application/client_spec.rb +1 -37
  335. data/spec/unit/application/knife_spec.rb +5 -0
  336. data/spec/unit/application_spec.rb +57 -2
  337. data/spec/unit/checksum/storage/filesystem_spec.rb +1 -1
  338. data/spec/unit/chef_fs/diff_spec.rb +328 -0
  339. data/spec/unit/chef_fs/file_pattern_spec.rb +526 -0
  340. data/spec/unit/chef_fs/file_system/chef_server_root_dir_spec.rb +237 -0
  341. data/spec/unit/chef_fs/file_system/cookbooks_dir_spec.rb +568 -0
  342. data/spec/unit/chef_fs/file_system/data_bags_dir_spec.rb +220 -0
  343. data/spec/unit/chef_fs/file_system_spec.rb +136 -0
  344. data/spec/unit/client_spec.rb +124 -33
  345. data/spec/unit/config_spec.rb +46 -13
  346. data/spec/unit/cookbook/synchronizer_spec.rb +1 -49
  347. data/spec/unit/cookbook/syntax_check_spec.rb +48 -109
  348. data/spec/unit/cookbook_loader_spec.rb +153 -91
  349. data/spec/unit/cookbook_manifest_spec.rb +81 -81
  350. data/spec/unit/cookbook_spec.rb +3 -20
  351. data/spec/unit/cookbook_version_spec.rb +23 -122
  352. data/spec/unit/daemon_spec.rb +3 -24
  353. data/spec/unit/data_bag_spec.rb +6 -4
  354. data/spec/unit/digester_spec.rb +50 -0
  355. data/spec/unit/dsl/data_query_spec.rb +66 -0
  356. data/spec/unit/dsl/platform_introspection_spec.rb +130 -0
  357. data/spec/unit/dsl/regsitry_helper_spec.rb +55 -0
  358. data/spec/unit/encrypted_data_bag_item_spec.rb +50 -105
  359. data/spec/unit/environment_spec.rb +0 -130
  360. data/spec/unit/exceptions_spec.rb +2 -3
  361. data/spec/unit/formatters/error_inspectors/resource_failure_inspector_spec.rb +3 -3
  362. data/spec/unit/json_compat_spec.rb +15 -7
  363. data/spec/unit/knife/bootstrap_spec.rb +2 -0
  364. data/spec/unit/knife/configure_spec.rb +20 -14
  365. data/spec/unit/knife/cookbook_metadata_spec.rb +11 -4
  366. data/spec/unit/knife/cookbook_test_spec.rb +1 -0
  367. data/spec/unit/knife/cookbook_upload_spec.rb +43 -8
  368. data/spec/unit/knife/core/bootstrap_context_spec.rb +1 -1
  369. data/spec/unit/knife/core/ui_spec.rb +156 -125
  370. data/spec/unit/knife/data_bag_create_spec.rb +9 -0
  371. data/spec/unit/knife/data_bag_edit_spec.rb +1 -4
  372. data/spec/unit/knife/data_bag_from_file_spec.rb +4 -6
  373. data/spec/unit/knife/data_bag_show_spec.rb +11 -4
  374. data/spec/unit/knife/index_rebuild_spec.rb +96 -33
  375. data/spec/unit/knife/knife_help.rb +7 -7
  376. data/spec/unit/knife/node_edit_spec.rb +6 -33
  377. data/spec/unit/knife/node_run_list_remove_spec.rb +2 -1
  378. data/spec/unit/knife/ssh_spec.rb +12 -15
  379. data/spec/unit/knife/status_spec.rb +2 -2
  380. data/spec/unit/knife_spec.rb +53 -0
  381. data/spec/unit/lwrp_spec.rb +59 -42
  382. data/spec/unit/mixin/checksum_spec.rb +2 -2
  383. data/spec/unit/mixin/deep_merge_spec.rb +101 -799
  384. data/spec/unit/mixin/enforce_ownership_and_permissions_spec.rb +6 -1
  385. data/spec/unit/mixin/params_validate_spec.rb +4 -37
  386. data/spec/unit/mixin/securable_spec.rb +5 -3
  387. data/spec/unit/mixin/template_spec.rb +119 -0
  388. data/spec/unit/node/attribute_spec.rb +195 -173
  389. data/spec/unit/node/immutable_collections_spec.rb +139 -0
  390. data/spec/unit/node_spec.rb +366 -370
  391. data/spec/unit/platform_spec.rb +9 -10
  392. data/spec/unit/provider/breakpoint_spec.rb +8 -8
  393. data/spec/unit/provider/cookbook_file_spec.rb +4 -8
  394. data/spec/unit/provider/directory_spec.rb +96 -64
  395. data/spec/unit/provider/env_spec.rb +2 -2
  396. data/spec/unit/provider/file_spec.rb +48 -39
  397. data/spec/unit/provider/group/dscl_spec.rb +0 -36
  398. data/spec/unit/provider/group/gpasswd_spec.rb +9 -16
  399. data/spec/unit/provider/group/groupadd_spec.rb +4 -3
  400. data/spec/unit/provider/group/groupmod_spec.rb +1 -0
  401. data/spec/unit/provider/group/pw_spec.rb +15 -12
  402. data/spec/unit/provider/group/usermod_spec.rb +6 -21
  403. data/spec/unit/provider/group/windows_spec.rb +8 -0
  404. data/spec/unit/provider/group_spec.rb +6 -28
  405. data/spec/unit/provider/http_request_spec.rb +28 -69
  406. data/spec/unit/provider/ifconfig_spec.rb +2 -2
  407. data/spec/unit/provider/ohai_spec.rb +4 -4
  408. data/spec/unit/provider/package/apt_spec.rb +0 -1
  409. data/spec/unit/provider/package/ips_spec.rb +0 -1
  410. data/spec/unit/provider/package/portage_spec.rb +0 -44
  411. data/spec/unit/provider/package/rpm_spec.rb +0 -12
  412. data/spec/unit/provider/package/rubygems_spec.rb +1 -44
  413. data/spec/unit/provider/package/yum_spec.rb +39 -36
  414. data/spec/unit/provider/package_spec.rb +7 -5
  415. data/spec/unit/provider/registry_key_spec.rb +269 -0
  416. data/spec/unit/provider/remote_directory_spec.rb +7 -3
  417. data/spec/unit/provider/remote_file_spec.rb +36 -0
  418. data/spec/unit/provider/route_spec.rb +4 -3
  419. data/spec/unit/provider/ruby_block_spec.rb +8 -0
  420. data/spec/unit/provider/service/arch_service_spec.rb +5 -5
  421. data/spec/unit/provider/service/debian_service_spec.rb +1 -1
  422. data/spec/unit/provider/service/freebsd_service_spec.rb +5 -5
  423. data/spec/unit/provider/service/init_service_spec.rb +27 -4
  424. data/spec/unit/provider/service/insserv_service_spec.rb +1 -1
  425. data/spec/unit/provider/service/invokercd_service_spec.rb +4 -4
  426. data/spec/unit/provider/service/macosx_spec.rb +11 -66
  427. data/spec/unit/provider/service/redhat_spec.rb +1 -1
  428. data/spec/unit/provider/service/simple_service_spec.rb +3 -3
  429. data/spec/unit/provider/service/upstart_service_spec.rb +9 -9
  430. data/spec/unit/provider/subversion_spec.rb +1 -1
  431. data/spec/unit/provider/template_spec.rb +35 -11
  432. data/spec/unit/provider/user/dscl_spec.rb +285 -681
  433. data/spec/unit/provider/user/useradd_spec.rb +1 -22
  434. data/spec/unit/provider/user_spec.rb +1 -1
  435. data/spec/unit/recipe_spec.rb +10 -8
  436. data/spec/unit/registry_helper_spec.rb +374 -0
  437. data/spec/unit/resource/mount_spec.rb +0 -11
  438. data/spec/unit/resource/registry_key_spec.rb +171 -0
  439. data/spec/unit/resource/remote_file_spec.rb +21 -23
  440. data/spec/unit/resource/ruby_block_spec.rb +7 -3
  441. data/spec/unit/resource/service_spec.rb +11 -0
  442. data/spec/unit/resource_spec.rb +4 -19
  443. data/spec/unit/rest/auth_credentials_spec.rb +2 -19
  444. data/spec/unit/rest_spec.rb +130 -284
  445. data/spec/unit/run_context/cookbook_compiler_spec.rb +181 -0
  446. data/spec/unit/run_context_spec.rb +18 -4
  447. data/spec/unit/run_list_spec.rb +0 -209
  448. data/spec/unit/run_lock_spec.rb +37 -0
  449. data/spec/unit/runner_spec.rb +101 -2
  450. data/spec/unit/scan_access_control_spec.rb +4 -4
  451. data/spec/unit/{shef → shell}/model_wrapper_spec.rb +5 -5
  452. data/spec/unit/{shef/shef_ext_spec.rb → shell/shell_ext_spec.rb} +21 -21
  453. data/spec/unit/{shef/shef_session_spec.rb → shell/shell_session_spec.rb} +14 -69
  454. data/spec/unit/shell_out_spec.rb +18 -0
  455. data/spec/unit/{shef_spec.rb → shell_spec.rb} +20 -20
  456. metadata +275 -234
  457. checksums.yaml +0 -15
  458. data/README.rdoc +0 -177
  459. data/distro/common/html/knife-recipe.1.html +0 -92
  460. data/lib/chef/certificate.rb +0 -161
  461. data/lib/chef/checksum.rb +0 -167
  462. data/lib/chef/checksum_cache.rb +0 -190
  463. data/lib/chef/cookbook_version_selector.rb +0 -168
  464. data/lib/chef/couchdb.rb +0 -246
  465. data/lib/chef/index_queue/amqp_client.rb +0 -116
  466. data/lib/chef/index_queue/consumer.rb +0 -76
  467. data/lib/chef/index_queue/indexable.rb +0 -109
  468. data/lib/chef/knife/bootstrap/ubuntu12.10-gems.erb +0 -60
  469. data/lib/chef/monkey_patches/moneta.rb +0 -50
  470. data/lib/chef/monkey_patches/uri.rb +0 -70
  471. data/lib/chef/openid_registration.rb +0 -187
  472. data/lib/chef/provider/user/solaris.rb +0 -90
  473. data/lib/chef/solr_query.rb +0 -187
  474. data/lib/chef/solr_query/lucene.treetop +0 -150
  475. data/lib/chef/solr_query/lucene_nodes.rb +0 -285
  476. data/lib/chef/solr_query/query_transform.rb +0 -65
  477. data/lib/chef/solr_query/solr_http_request.rb +0 -132
  478. data/lib/chef/webui_user.rb +0 -231
  479. data/spec/data/cookbooks/openldap/files/default/.dotfile +0 -1
  480. data/spec/data/cookbooks/openldap/files/default/.ssh/id_rsa +0 -1
  481. data/spec/data/cookbooks/openldap/files/default/remotedir/.a_dotdir/.a_dotfile_in_a_dotdir +0 -1
  482. data/spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/.a_dotfile +0 -1
  483. data/spec/data/mac_users/10.7-8.plist.xml +0 -559
  484. data/spec/data/mac_users/10.7-8.shadow.xml +0 -11
  485. data/spec/data/mac_users/10.7.plist.xml +0 -559
  486. data/spec/data/mac_users/10.7.shadow.xml +0 -11
  487. data/spec/data/mac_users/10.8.plist.xml +0 -559
  488. data/spec/data/mac_users/10.8.shadow.xml +0 -21
  489. data/spec/data/mac_users/10.9.plist.xml +0 -560
  490. data/spec/data/mac_users/10.9.shadow.xml +0 -21
  491. data/spec/functional/resource/base.rb +0 -40
  492. data/spec/functional/resource/group_spec.rb +0 -343
  493. data/spec/functional/resource/user/dscl_spec.rb +0 -199
  494. data/spec/unit/certificate_spec.rb +0 -76
  495. data/spec/unit/checksum_cache_spec.rb +0 -209
  496. data/spec/unit/checksum_spec.rb +0 -94
  497. data/spec/unit/couchdb_spec.rb +0 -274
  498. data/spec/unit/index_queue_spec.rb +0 -391
  499. data/spec/unit/mixin/language_spec.rb +0 -305
  500. data/spec/unit/openid_registration_spec.rb +0 -153
  501. data/spec/unit/provider/user/solaris_spec.rb +0 -414
  502. data/spec/unit/provider/whyrun_safe_ruby_block_spec.rb +0 -47
  503. data/spec/unit/solr_query/query_transform_spec.rb +0 -454
  504. data/spec/unit/solr_query/solr_http_request_spec.rb +0 -244
  505. data/spec/unit/solr_query_spec.rb +0 -203
  506. data/spec/unit/webui_user_spec.rb +0 -238
@@ -0,0 +1,18 @@
1
+ require File.expand_path('../../spec_helper', __FILE__)
2
+
3
+ describe "Chef::ShellOut deprecation notices" do
4
+ it "logs a warning when initializing a new Chef::ShellOut object" do
5
+ Chef::Log.should_receive(:warn).with("Chef::ShellOut is deprecated, please use Mixlib::ShellOut")
6
+ Chef::Log.should_receive(:warn).with(/Called from\:/)
7
+ Chef::ShellOut.new("pwd")
8
+ end
9
+ end
10
+
11
+ describe "Chef::Exceptions::ShellCommandFailed deprecation notices" do
12
+
13
+ it "logs a warning when referencing the constant Chef::Exceptions::ShellCommandFailed" do
14
+ Chef::Log.should_receive(:warn).with("Chef::Exceptions::ShellCommandFailed is deprecated, use Mixlib::ShellOut::ShellCommandFailed")
15
+ Chef::Log.should_receive(:warn).with(/Called from\:/)
16
+ Chef::Exceptions::ShellCommandFailed
17
+ end
18
+ end
@@ -19,7 +19,7 @@ require 'spec_helper'
19
19
  require "ostruct"
20
20
 
21
21
  ObjectTestHarness = Proc.new do
22
- extend Shef::Extensions::ObjectCoreExtensions
22
+ extend Shell::Extensions::ObjectCoreExtensions
23
23
 
24
24
  def conf=(new_conf)
25
25
  @conf = new_conf
@@ -38,36 +38,36 @@ class TestJobManager
38
38
  attr_accessor :jobs
39
39
  end
40
40
 
41
- describe Shef do
41
+ describe Shell do
42
42
 
43
43
  before do
44
- Shef.irb_conf = {}
45
- Shef::ShefSession.instance.rspec_reset
46
- Shef::ShefSession.instance.stub!(:reset!)
44
+ Shell.irb_conf = {}
45
+ Shell::ShellSession.instance.rspec_reset
46
+ Shell::ShellSession.instance.stub!(:reset!)
47
47
  end
48
48
 
49
49
  describe "reporting its status" do
50
50
 
51
51
  it "alway says it is running" do
52
- Shef.should be_running
52
+ Shell.should be_running
53
53
  end
54
54
 
55
55
  end
56
56
 
57
57
  describe "configuring IRB" do
58
58
  it "configures irb history" do
59
- Shef.configure_irb
60
- Shef.irb_conf[:HISTORY_FILE].should == "~/.shef_history"
61
- Shef.irb_conf[:SAVE_HISTORY].should == 1000
59
+ Shell.configure_irb
60
+ Shell.irb_conf[:HISTORY_FILE].should == "~/.chef/chef_shell_history"
61
+ Shell.irb_conf[:SAVE_HISTORY].should == 1000
62
62
  end
63
63
 
64
64
  it "has a prompt like ``chef > '' in the default context" do
65
- Shef.configure_irb
65
+ Shell.configure_irb
66
66
 
67
67
  conf = OpenStruct.new
68
68
  conf.main = Object.new
69
69
  conf.main.instance_eval(&ObjectTestHarness)
70
- Shef.irb_conf[:IRB_RC].call(conf)
70
+ Shell.irb_conf[:IRB_RC].call(conf)
71
71
  conf.prompt_c.should == "chef > "
72
72
  conf.return_format.should == " => %s \n"
73
73
  conf.prompt_i.should == "chef > "
@@ -77,12 +77,12 @@ describe Shef do
77
77
  end
78
78
 
79
79
  it "has a prompt like ``chef:recipe > '' in recipe context" do
80
- Shef.configure_irb
80
+ Shell.configure_irb
81
81
 
82
82
  conf = OpenStruct.new
83
83
  events = Chef::EventDispatch::Dispatcher.new
84
84
  conf.main = Chef::Recipe.new(nil,nil,Chef::RunContext.new(Chef::Node.new, {}, events))
85
- Shef.irb_conf[:IRB_RC].call(conf)
85
+ Shell.irb_conf[:IRB_RC].call(conf)
86
86
  conf.prompt_c.should == "chef:recipe > "
87
87
  conf.prompt_i.should == "chef:recipe > "
88
88
  conf.prompt_n.should == "chef:recipe ?> "
@@ -90,11 +90,11 @@ describe Shef do
90
90
  end
91
91
 
92
92
  it "has a prompt like ``chef:attributes > '' in attributes/node context" do
93
- Shef.configure_irb
93
+ Shell.configure_irb
94
94
 
95
95
  conf = OpenStruct.new
96
96
  conf.main = Chef::Node.new
97
- Shef.irb_conf[:IRB_RC].call(conf)
97
+ Shell.irb_conf[:IRB_RC].call(conf)
98
98
  conf.prompt_c.should == "chef:attributes > "
99
99
  conf.prompt_i.should == "chef:attributes > "
100
100
  conf.prompt_n.should == "chef:attributes ?> "
@@ -111,7 +111,7 @@ describe Shef do
111
111
  end
112
112
 
113
113
  it "creates help text for methods with descriptions" do
114
- @chef_object.help_descriptions.should == [Shef::Extensions::Help.new("rspec_method", "rspecin'", nil)]
114
+ @chef_object.help_descriptions.should == [Shell::Extensions::Help.new("rspec_method", "rspecin'", nil)]
115
115
  end
116
116
 
117
117
  it "adds help text when a new method is described then defined" do
@@ -121,8 +121,8 @@ describe Shef do
121
121
  end
122
122
  EVAL
123
123
  @chef_object.instance_eval describe_define
124
- @chef_object.help_descriptions.should == [Shef::Extensions::Help.new("rspec_method", "rspecin'"),
125
- Shef::Extensions::Help.new("baz", "foo2the Bar")]
124
+ @chef_object.help_descriptions.should == [Shell::Extensions::Help.new("rspec_method", "rspecin'"),
125
+ Shell::Extensions::Help.new("baz", "foo2the Bar")]
126
126
  end
127
127
 
128
128
  it "adds help text for subcommands" do
@@ -132,8 +132,8 @@ describe Shef do
132
132
  end
133
133
  EVAL
134
134
  @chef_object.instance_eval describe_define
135
- expected_help_text_fragments = [Shef::Extensions::Help.new("rspec_method", "rspecin'")]
136
- expected_help_text_fragments << Shef::Extensions::Help.new("baz.baz_obj_command", "something you can do with baz.baz_obj_command")
135
+ expected_help_text_fragments = [Shell::Extensions::Help.new("rspec_method", "rspecin'")]
136
+ expected_help_text_fragments << Shell::Extensions::Help.new("baz.baz_obj_command", "something you can do with baz.baz_obj_command")
137
137
  @chef_object.help_descriptions.should == expected_help_text_fragments
138
138
  end
139
139
 
metadata CHANGED
@@ -1,114 +1,116 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.34.6
4
+ version: 11.0.0.beta.0
5
+ prerelease: 7
5
6
  platform: ruby
6
7
  authors:
7
8
  - Adam Jacob
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-11-10 00:00:00.000000000 Z
12
+ date: 2013-01-21 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: 1.1.2
20
- - - ~>
21
- - !ruby/object:Gem::Version
22
- version: '1.1'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.1.2
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: '1.1'
33
30
  - !ruby/object:Gem::Dependency
34
31
  name: mixlib-cli
35
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
36
34
  requirements:
37
35
  - - ~>
38
36
  - !ruby/object:Gem::Version
39
- version: '1.1'
37
+ version: 1.3.0
40
38
  type: :runtime
41
39
  prerelease: false
42
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
43
42
  requirements:
44
43
  - - ~>
45
44
  - !ruby/object:Gem::Version
46
- version: '1.1'
45
+ version: 1.3.0
47
46
  - !ruby/object:Gem::Dependency
48
47
  name: mixlib-log
49
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
50
  requirements:
51
- - - ~>
51
+ - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: '1.3'
53
+ version: 1.3.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
57
58
  requirements:
58
- - - ~>
59
+ - - ! '>='
59
60
  - !ruby/object:Gem::Version
60
- version: '1.3'
61
+ version: 1.3.0
61
62
  - !ruby/object:Gem::Dependency
62
63
  name: mixlib-authentication
63
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
64
66
  requirements:
65
- - - ~>
67
+ - - ! '>='
66
68
  - !ruby/object:Gem::Version
67
- version: '1.3'
69
+ version: 1.3.0
68
70
  type: :runtime
69
71
  prerelease: false
70
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
71
74
  requirements:
72
- - - ~>
75
+ - - ! '>='
73
76
  - !ruby/object:Gem::Version
74
- version: '1.3'
77
+ version: 1.3.0
75
78
  - !ruby/object:Gem::Dependency
76
79
  name: mixlib-shellout
77
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
78
82
  requirements:
79
- - - ~>
83
+ - - ! '>='
80
84
  - !ruby/object:Gem::Version
81
- version: '1.3'
85
+ version: '0'
82
86
  type: :runtime
83
87
  prerelease: false
84
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
85
90
  requirements:
86
- - - ~>
91
+ - - ! '>='
87
92
  - !ruby/object:Gem::Version
88
- version: '1.3'
93
+ version: '0'
89
94
  - !ruby/object:Gem::Dependency
90
95
  name: ohai
91
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
92
98
  requirements:
93
99
  - - ! '>='
94
100
  - !ruby/object:Gem::Version
95
101
  version: 0.6.0
96
- - - <
97
- - !ruby/object:Gem::Version
98
- version: 7.0.0
99
102
  type: :runtime
100
103
  prerelease: false
101
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
102
106
  requirements:
103
107
  - - ! '>='
104
108
  - !ruby/object:Gem::Version
105
109
  version: 0.6.0
106
- - - <
107
- - !ruby/object:Gem::Version
108
- version: 7.0.0
109
110
  - !ruby/object:Gem::Dependency
110
111
  name: rest-client
111
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
112
114
  requirements:
113
115
  - - ! '>='
114
116
  - !ruby/object:Gem::Version
@@ -119,6 +121,7 @@ dependencies:
119
121
  type: :runtime
120
122
  prerelease: false
121
123
  version_requirements: !ruby/object:Gem::Requirement
124
+ none: false
122
125
  requirements:
123
126
  - - ! '>='
124
127
  - !ruby/object:Gem::Version
@@ -126,77 +129,32 @@ dependencies:
126
129
  - - <
127
130
  - !ruby/object:Gem::Version
128
131
  version: 1.7.0
129
- - !ruby/object:Gem::Dependency
130
- name: mime-types
131
- requirement: !ruby/object:Gem::Requirement
132
- requirements:
133
- - - ~>
134
- - !ruby/object:Gem::Version
135
- version: '1.16'
136
- type: :runtime
137
- prerelease: false
138
- version_requirements: !ruby/object:Gem::Requirement
139
- requirements:
140
- - - ~>
141
- - !ruby/object:Gem::Version
142
- version: '1.16'
143
- - !ruby/object:Gem::Dependency
144
- name: plist
145
- requirement: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ~>
148
- - !ruby/object:Gem::Version
149
- version: 3.1.0
150
- type: :runtime
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- requirements:
154
- - - ~>
155
- - !ruby/object:Gem::Version
156
- version: 3.1.0
157
- - !ruby/object:Gem::Dependency
158
- name: bunny
159
- requirement: !ruby/object:Gem::Requirement
160
- requirements:
161
- - - ! '>='
162
- - !ruby/object:Gem::Version
163
- version: 0.6.0
164
- - - <
165
- - !ruby/object:Gem::Version
166
- version: 0.8.0
167
- type: :runtime
168
- prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: 0.6.0
174
- - - <
175
- - !ruby/object:Gem::Version
176
- version: 0.8.0
177
132
  - !ruby/object:Gem::Dependency
178
133
  name: json
179
134
  requirement: !ruby/object:Gem::Requirement
135
+ none: false
180
136
  requirements:
181
137
  - - ! '>='
182
138
  - !ruby/object:Gem::Version
183
139
  version: 1.4.4
184
140
  - - <=
185
141
  - !ruby/object:Gem::Version
186
- version: 1.8.1
142
+ version: 1.6.1
187
143
  type: :runtime
188
144
  prerelease: false
189
145
  version_requirements: !ruby/object:Gem::Requirement
146
+ none: false
190
147
  requirements:
191
148
  - - ! '>='
192
149
  - !ruby/object:Gem::Version
193
150
  version: 1.4.4
194
151
  - - <=
195
152
  - !ruby/object:Gem::Version
196
- version: 1.8.1
153
+ version: 1.6.1
197
154
  - !ruby/object:Gem::Dependency
198
155
  name: yajl-ruby
199
156
  requirement: !ruby/object:Gem::Requirement
157
+ none: false
200
158
  requirements:
201
159
  - - ~>
202
160
  - !ruby/object:Gem::Version
@@ -204,41 +162,31 @@ dependencies:
204
162
  type: :runtime
205
163
  prerelease: false
206
164
  version_requirements: !ruby/object:Gem::Requirement
165
+ none: false
207
166
  requirements:
208
167
  - - ~>
209
168
  - !ruby/object:Gem::Version
210
169
  version: '1.1'
211
- - !ruby/object:Gem::Dependency
212
- name: treetop
213
- requirement: !ruby/object:Gem::Requirement
214
- requirements:
215
- - - ~>
216
- - !ruby/object:Gem::Version
217
- version: 1.4.9
218
- type: :runtime
219
- prerelease: false
220
- version_requirements: !ruby/object:Gem::Requirement
221
- requirements:
222
- - - ~>
223
- - !ruby/object:Gem::Version
224
- version: 1.4.9
225
170
  - !ruby/object:Gem::Dependency
226
171
  name: net-ssh
227
172
  requirement: !ruby/object:Gem::Requirement
173
+ none: false
228
174
  requirements:
229
175
  - - ~>
230
176
  - !ruby/object:Gem::Version
231
- version: '2.6'
177
+ version: 2.2.2
232
178
  type: :runtime
233
179
  prerelease: false
234
180
  version_requirements: !ruby/object:Gem::Requirement
181
+ none: false
235
182
  requirements:
236
183
  - - ~>
237
184
  - !ruby/object:Gem::Version
238
- version: '2.6'
185
+ version: 2.2.2
239
186
  - !ruby/object:Gem::Dependency
240
187
  name: net-ssh-multi
241
188
  requirement: !ruby/object:Gem::Requirement
189
+ none: false
242
190
  requirements:
243
191
  - - ~>
244
192
  - !ruby/object:Gem::Version
@@ -246,6 +194,7 @@ dependencies:
246
194
  type: :runtime
247
195
  prerelease: false
248
196
  version_requirements: !ruby/object:Gem::Requirement
197
+ none: false
249
198
  requirements:
250
199
  - - ~>
251
200
  - !ruby/object:Gem::Version
@@ -253,40 +202,23 @@ dependencies:
253
202
  - !ruby/object:Gem::Dependency
254
203
  name: highline
255
204
  requirement: !ruby/object:Gem::Requirement
205
+ none: false
256
206
  requirements:
257
207
  - - ! '>='
258
208
  - !ruby/object:Gem::Version
259
209
  version: 1.6.9
260
- - - ~>
261
- - !ruby/object:Gem::Version
262
- version: '1.6'
263
210
  type: :runtime
264
211
  prerelease: false
265
212
  version_requirements: !ruby/object:Gem::Requirement
213
+ none: false
266
214
  requirements:
267
215
  - - ! '>='
268
216
  - !ruby/object:Gem::Version
269
217
  version: 1.6.9
270
- - - ~>
271
- - !ruby/object:Gem::Version
272
- version: '1.6'
273
- - !ruby/object:Gem::Dependency
274
- name: moneta
275
- requirement: !ruby/object:Gem::Requirement
276
- requirements:
277
- - - <
278
- - !ruby/object:Gem::Version
279
- version: 0.7.0
280
- type: :runtime
281
- prerelease: false
282
- version_requirements: !ruby/object:Gem::Requirement
283
- requirements:
284
- - - <
285
- - !ruby/object:Gem::Version
286
- version: 0.7.0
287
218
  - !ruby/object:Gem::Dependency
288
219
  name: erubis
289
220
  requirement: !ruby/object:Gem::Requirement
221
+ none: false
290
222
  requirements:
291
223
  - - ! '>='
292
224
  - !ruby/object:Gem::Version
@@ -294,20 +226,23 @@ dependencies:
294
226
  type: :runtime
295
227
  prerelease: false
296
228
  version_requirements: !ruby/object:Gem::Requirement
229
+ none: false
297
230
  requirements:
298
231
  - - ! '>='
299
232
  - !ruby/object:Gem::Version
300
233
  version: '0'
301
234
  - !ruby/object:Gem::Dependency
302
- name: uuidtools
235
+ name: rdoc
303
236
  requirement: !ruby/object:Gem::Requirement
237
+ none: false
304
238
  requirements:
305
239
  - - ! '>='
306
240
  - !ruby/object:Gem::Version
307
241
  version: '0'
308
- type: :runtime
242
+ type: :development
309
243
  prerelease: false
310
244
  version_requirements: !ruby/object:Gem::Requirement
245
+ none: false
311
246
  requirements:
312
247
  - - ! '>='
313
248
  - !ruby/object:Gem::Version
@@ -315,20 +250,23 @@ dependencies:
315
250
  - !ruby/object:Gem::Dependency
316
251
  name: sdoc
317
252
  requirement: !ruby/object:Gem::Requirement
253
+ none: false
318
254
  requirements:
319
- - - ~>
255
+ - - ! '>='
320
256
  - !ruby/object:Gem::Version
321
- version: 0.3.0
257
+ version: '0'
322
258
  type: :development
323
259
  prerelease: false
324
260
  version_requirements: !ruby/object:Gem::Requirement
261
+ none: false
325
262
  requirements:
326
- - - ~>
263
+ - - ! '>='
327
264
  - !ruby/object:Gem::Version
328
- version: 0.3.0
265
+ version: '0'
329
266
  - !ruby/object:Gem::Dependency
330
- name: rdoc
267
+ name: ronn
331
268
  requirement: !ruby/object:Gem::Requirement
269
+ none: false
332
270
  requirements:
333
271
  - - ! '>='
334
272
  - !ruby/object:Gem::Version
@@ -336,6 +274,7 @@ dependencies:
336
274
  type: :development
337
275
  prerelease: false
338
276
  version_requirements: !ruby/object:Gem::Requirement
277
+ none: false
339
278
  requirements:
340
279
  - - ! '>='
341
280
  - !ruby/object:Gem::Version
@@ -343,6 +282,7 @@ dependencies:
343
282
  - !ruby/object:Gem::Dependency
344
283
  name: rake
345
284
  requirement: !ruby/object:Gem::Requirement
285
+ none: false
346
286
  requirements:
347
287
  - - ! '>='
348
288
  - !ruby/object:Gem::Version
@@ -350,6 +290,7 @@ dependencies:
350
290
  type: :development
351
291
  prerelease: false
352
292
  version_requirements: !ruby/object:Gem::Requirement
293
+ none: false
353
294
  requirements:
354
295
  - - ! '>='
355
296
  - !ruby/object:Gem::Version
@@ -357,6 +298,7 @@ dependencies:
357
298
  - !ruby/object:Gem::Dependency
358
299
  name: rack
359
300
  requirement: !ruby/object:Gem::Requirement
301
+ none: false
360
302
  requirements:
361
303
  - - ! '>='
362
304
  - !ruby/object:Gem::Version
@@ -364,6 +306,7 @@ dependencies:
364
306
  type: :development
365
307
  prerelease: false
366
308
  version_requirements: !ruby/object:Gem::Requirement
309
+ none: false
367
310
  requirements:
368
311
  - - ! '>='
369
312
  - !ruby/object:Gem::Version
@@ -371,6 +314,7 @@ dependencies:
371
314
  - !ruby/object:Gem::Dependency
372
315
  name: rspec_junit_formatter
373
316
  requirement: !ruby/object:Gem::Requirement
317
+ none: false
374
318
  requirements:
375
319
  - - ! '>='
376
320
  - !ruby/object:Gem::Version
@@ -378,6 +322,7 @@ dependencies:
378
322
  type: :development
379
323
  prerelease: false
380
324
  version_requirements: !ruby/object:Gem::Requirement
325
+ none: false
381
326
  requirements:
382
327
  - - ! '>='
383
328
  - !ruby/object:Gem::Version
@@ -385,6 +330,7 @@ dependencies:
385
330
  - !ruby/object:Gem::Dependency
386
331
  name: rspec-core
387
332
  requirement: !ruby/object:Gem::Requirement
333
+ none: false
388
334
  requirements:
389
335
  - - ~>
390
336
  - !ruby/object:Gem::Version
@@ -392,6 +338,7 @@ dependencies:
392
338
  type: :development
393
339
  prerelease: false
394
340
  version_requirements: !ruby/object:Gem::Requirement
341
+ none: false
395
342
  requirements:
396
343
  - - ~>
397
344
  - !ruby/object:Gem::Version
@@ -399,6 +346,7 @@ dependencies:
399
346
  - !ruby/object:Gem::Dependency
400
347
  name: rspec-expectations
401
348
  requirement: !ruby/object:Gem::Requirement
349
+ none: false
402
350
  requirements:
403
351
  - - ~>
404
352
  - !ruby/object:Gem::Version
@@ -406,6 +354,7 @@ dependencies:
406
354
  type: :development
407
355
  prerelease: false
408
356
  version_requirements: !ruby/object:Gem::Requirement
357
+ none: false
409
358
  requirements:
410
359
  - - ~>
411
360
  - !ruby/object:Gem::Version
@@ -413,6 +362,7 @@ dependencies:
413
362
  - !ruby/object:Gem::Dependency
414
363
  name: rspec-mocks
415
364
  requirement: !ruby/object:Gem::Requirement
365
+ none: false
416
366
  requirements:
417
367
  - - ~>
418
368
  - !ruby/object:Gem::Version
@@ -420,6 +370,7 @@ dependencies:
420
370
  type: :development
421
371
  prerelease: false
422
372
  version_requirements: !ruby/object:Gem::Requirement
373
+ none: false
423
374
  requirements:
424
375
  - - ~>
425
376
  - !ruby/object:Gem::Version
@@ -431,20 +382,19 @@ executables:
431
382
  - chef-client
432
383
  - chef-solo
433
384
  - knife
385
+ - chef-shell
434
386
  - shef
387
+ - chef-apply
435
388
  extensions: []
436
389
  extra_rdoc_files:
437
- - README.rdoc
390
+ - README.md
391
+ - CONTRIBUTING.md
438
392
  - LICENSE
439
393
  files:
440
- - LICENSE
441
- - README.rdoc
442
394
  - Rakefile
443
- - bin/chef-client
444
- - bin/chef-solo
445
- - bin/knife
446
- - bin/shef
447
- - distro/README
395
+ - LICENSE
396
+ - README.md
397
+ - CONTRIBUTING.md
448
398
  - distro/arch/etc/conf.d/chef-client.conf
449
399
  - distro/arch/etc/conf.d/chef-expander.conf
450
400
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -460,6 +410,7 @@ files:
460
410
  - distro/common/html/chef-expanderctl.8.html
461
411
  - distro/common/html/chef-server-webui.8.html
462
412
  - distro/common/html/chef-server.8.html
413
+ - distro/common/html/chef-shell.1.html
463
414
  - distro/common/html/chef-solo.8.html
464
415
  - distro/common/html/chef-solr.8.html
465
416
  - distro/common/html/knife-bootstrap.1.html
@@ -472,14 +423,13 @@ files:
472
423
  - distro/common/html/knife-exec.1.html
473
424
  - distro/common/html/knife-index.1.html
474
425
  - distro/common/html/knife-node.1.html
475
- - distro/common/html/knife-recipe.1.html
476
426
  - distro/common/html/knife-role.1.html
477
427
  - distro/common/html/knife-search.1.html
478
428
  - distro/common/html/knife-ssh.1.html
479
429
  - distro/common/html/knife-status.1.html
480
430
  - distro/common/html/knife-tag.1.html
481
431
  - distro/common/html/knife.1.html
482
- - distro/common/html/shef.1.html
432
+ - distro/common/man/man1/chef-shell.1
483
433
  - distro/common/man/man1/knife-bootstrap.1
484
434
  - distro/common/man/man1/knife-client.1
485
435
  - distro/common/man/man1/knife-configure.1
@@ -496,7 +446,6 @@ files:
496
446
  - distro/common/man/man1/knife-status.1
497
447
  - distro/common/man/man1/knife-tag.1
498
448
  - distro/common/man/man1/knife.1
499
- - distro/common/man/man1/shef.1
500
449
  - distro/common/man/man8/chef-client.8
501
450
  - distro/common/man/man8/chef-expander.8
502
451
  - distro/common/man/man8/chef-expanderctl.8
@@ -504,7 +453,7 @@ files:
504
453
  - distro/common/man/man8/chef-server.8
505
454
  - distro/common/man/man8/chef-solo.8
506
455
  - distro/common/man/man8/chef-solr.8
507
- - distro/common/markdown/README
456
+ - distro/common/markdown/man1/chef-shell.mkd
508
457
  - distro/common/markdown/man1/knife-bootstrap.mkd
509
458
  - distro/common/markdown/man1/knife-client.mkd
510
459
  - distro/common/markdown/man1/knife-configure.mkd
@@ -521,7 +470,6 @@ files:
521
470
  - distro/common/markdown/man1/knife-status.mkd
522
471
  - distro/common/markdown/man1/knife-tag.mkd
523
472
  - distro/common/markdown/man1/knife.mkd
524
- - distro/common/markdown/man1/shef.mkd
525
473
  - distro/common/markdown/man8/chef-client.mkd
526
474
  - distro/common/markdown/man8/chef-expander.mkd
527
475
  - distro/common/markdown/man8/chef-expanderctl.mkd
@@ -529,21 +477,23 @@ files:
529
477
  - distro/common/markdown/man8/chef-server.mkd
530
478
  - distro/common/markdown/man8/chef-solo.mkd
531
479
  - distro/common/markdown/man8/chef-solr.mkd
480
+ - distro/common/markdown/README
532
481
  - distro/debian/etc/default/chef-client
533
482
  - distro/debian/etc/default/chef-expander
534
483
  - distro/debian/etc/default/chef-server
535
484
  - distro/debian/etc/default/chef-server-webui
536
485
  - distro/debian/etc/default/chef-solr
537
- - distro/debian/etc/init.d/chef-client
538
- - distro/debian/etc/init.d/chef-expander
539
- - distro/debian/etc/init.d/chef-server
540
- - distro/debian/etc/init.d/chef-server-webui
541
- - distro/debian/etc/init.d/chef-solr
542
486
  - distro/debian/etc/init/chef-client.conf
543
487
  - distro/debian/etc/init/chef-expander.conf
544
488
  - distro/debian/etc/init/chef-server-webui.conf
545
489
  - distro/debian/etc/init/chef-server.conf
546
490
  - distro/debian/etc/init/chef-solr.conf
491
+ - distro/debian/etc/init.d/chef-client
492
+ - distro/debian/etc/init.d/chef-expander
493
+ - distro/debian/etc/init.d/chef-server
494
+ - distro/debian/etc/init.d/chef-server-webui
495
+ - distro/debian/etc/init.d/chef-solr
496
+ - distro/README
547
497
  - distro/redhat/etc/init.d/chef-client
548
498
  - distro/redhat/etc/init.d/chef-expander
549
499
  - distro/redhat/etc/init.d/chef-server
@@ -560,20 +510,45 @@ files:
560
510
  - distro/redhat/etc/sysconfig/chef-server-webui
561
511
  - distro/redhat/etc/sysconfig/chef-solr
562
512
  - distro/windows/service_manager.rb
563
- - lib/chef.rb
513
+ - lib/chef/api_client/registration.rb
564
514
  - lib/chef/api_client.rb
565
- - lib/chef/application.rb
566
515
  - lib/chef/application/agent.rb
516
+ - lib/chef/application/apply.rb
567
517
  - lib/chef/application/client.rb
568
518
  - lib/chef/application/knife.rb
569
519
  - lib/chef/application/solo.rb
570
520
  - lib/chef/application/windows_service.rb
521
+ - lib/chef/application.rb
571
522
  - lib/chef/applications.rb
572
- - lib/chef/certificate.rb
573
- - lib/chef/checksum.rb
574
- - lib/chef/checksum/storage.rb
575
523
  - lib/chef/checksum/storage/filesystem.rb
576
- - lib/chef/checksum_cache.rb
524
+ - lib/chef/checksum/storage.rb
525
+ - lib/chef/chef_fs/command_line.rb
526
+ - lib/chef/chef_fs/file_pattern.rb
527
+ - lib/chef/chef_fs/file_system/base_fs_dir.rb
528
+ - lib/chef/chef_fs/file_system/base_fs_object.rb
529
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_entry.rb
530
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb
531
+ - lib/chef/chef_fs/file_system/chef_server_root_dir.rb
532
+ - lib/chef/chef_fs/file_system/cookbook_dir.rb
533
+ - lib/chef/chef_fs/file_system/cookbook_file.rb
534
+ - lib/chef/chef_fs/file_system/cookbook_subdir.rb
535
+ - lib/chef/chef_fs/file_system/cookbooks_dir.rb
536
+ - lib/chef/chef_fs/file_system/data_bag_dir.rb
537
+ - lib/chef/chef_fs/file_system/data_bag_item.rb
538
+ - lib/chef/chef_fs/file_system/data_bags_dir.rb
539
+ - lib/chef/chef_fs/file_system/file_system_entry.rb
540
+ - lib/chef/chef_fs/file_system/file_system_error.rb
541
+ - lib/chef/chef_fs/file_system/file_system_root_dir.rb
542
+ - lib/chef/chef_fs/file_system/must_delete_recursively_error.rb
543
+ - lib/chef/chef_fs/file_system/nodes_dir.rb
544
+ - lib/chef/chef_fs/file_system/nonexistent_fs_object.rb
545
+ - lib/chef/chef_fs/file_system/not_found_error.rb
546
+ - lib/chef/chef_fs/file_system/rest_list_dir.rb
547
+ - lib/chef/chef_fs/file_system/rest_list_entry.rb
548
+ - lib/chef/chef_fs/file_system.rb
549
+ - lib/chef/chef_fs/knife.rb
550
+ - lib/chef/chef_fs/path_utils.rb
551
+ - lib/chef/chef_fs.rb
577
552
  - lib/chef/client.rb
578
553
  - lib/chef/config.rb
579
554
  - lib/chef/cookbook/chefignore.rb
@@ -589,24 +564,29 @@ files:
589
564
  - lib/chef/cookbook_site_streaming_uploader.rb
590
565
  - lib/chef/cookbook_uploader.rb
591
566
  - lib/chef/cookbook_version.rb
592
- - lib/chef/cookbook_version_selector.rb
593
- - lib/chef/couchdb.rb
594
567
  - lib/chef/daemon.rb
595
568
  - lib/chef/data_bag.rb
596
569
  - lib/chef/data_bag_item.rb
570
+ - lib/chef/digester.rb
571
+ - lib/chef/dsl/data_query.rb
572
+ - lib/chef/dsl/include_attribute.rb
573
+ - lib/chef/dsl/include_recipe.rb
574
+ - lib/chef/dsl/platform_introspection.rb
575
+ - lib/chef/dsl/recipe.rb
576
+ - lib/chef/dsl/registry_helper.rb
577
+ - lib/chef/dsl.rb
597
578
  - lib/chef/encrypted_data_bag_item.rb
598
579
  - lib/chef/environment.rb
599
580
  - lib/chef/event_dispatch/base.rb
600
581
  - lib/chef/event_dispatch/dispatcher.rb
601
582
  - lib/chef/exceptions.rb
602
- - lib/chef/file_access_control.rb
603
583
  - lib/chef/file_access_control/unix.rb
604
584
  - lib/chef/file_access_control/windows.rb
585
+ - lib/chef/file_access_control.rb
605
586
  - lib/chef/file_cache.rb
606
587
  - lib/chef/formatters/base.rb
607
588
  - lib/chef/formatters/doc.rb
608
589
  - lib/chef/formatters/error_descriptor.rb
609
- - lib/chef/formatters/error_inspectors.rb
610
590
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
611
591
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
612
592
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -615,18 +595,13 @@ files:
615
595
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
616
596
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
617
597
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
598
+ - lib/chef/formatters/error_inspectors.rb
618
599
  - lib/chef/formatters/error_mapper.rb
619
600
  - lib/chef/formatters/minimal.rb
620
- - lib/chef/handler.rb
621
601
  - lib/chef/handler/error_report.rb
622
602
  - lib/chef/handler/json_file.rb
623
- - lib/chef/index_queue.rb
624
- - lib/chef/index_queue/amqp_client.rb
625
- - lib/chef/index_queue/consumer.rb
626
- - lib/chef/index_queue/indexable.rb
603
+ - lib/chef/handler.rb
627
604
  - lib/chef/json_compat.rb
628
- - lib/chef/knife.rb
629
- - lib/chef/knife/bootstrap.rb
630
605
  - lib/chef/knife/bootstrap/archlinux-gems.erb
631
606
  - lib/chef/knife/bootstrap/centos5-gems.erb
632
607
  - lib/chef/knife/bootstrap/chef-full.erb
@@ -634,7 +609,7 @@ files:
634
609
  - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
635
610
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
636
611
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
637
- - lib/chef/knife/bootstrap/ubuntu12.10-gems.erb
612
+ - lib/chef/knife/bootstrap.rb
638
613
  - lib/chef/knife/client_bulk_delete.rb
639
614
  - lib/chef/knife/client_create.rb
640
615
  - lib/chef/knife/client_delete.rb
@@ -677,6 +652,9 @@ files:
677
652
  - lib/chef/knife/data_bag_from_file.rb
678
653
  - lib/chef/knife/data_bag_list.rb
679
654
  - lib/chef/knife/data_bag_show.rb
655
+ - lib/chef/knife/delete.rb
656
+ - lib/chef/knife/diff.rb
657
+ - lib/chef/knife/download.rb
680
658
  - lib/chef/knife/environment_create.rb
681
659
  - lib/chef/knife/environment_delete.rb
682
660
  - lib/chef/knife/environment_edit.rb
@@ -687,6 +665,7 @@ files:
687
665
  - lib/chef/knife/help.rb
688
666
  - lib/chef/knife/help_topics.rb
689
667
  - lib/chef/knife/index_rebuild.rb
668
+ - lib/chef/knife/list.rb
690
669
  - lib/chef/knife/node_bulk_delete.rb
691
670
  - lib/chef/knife/node_create.rb
692
671
  - lib/chef/knife/node_delete.rb
@@ -696,6 +675,7 @@ files:
696
675
  - lib/chef/knife/node_run_list_add.rb
697
676
  - lib/chef/knife/node_run_list_remove.rb
698
677
  - lib/chef/knife/node_show.rb
678
+ - lib/chef/knife/raw.rb
699
679
  - lib/chef/knife/recipe_list.rb
700
680
  - lib/chef/knife/role_bulk_delete.rb
701
681
  - lib/chef/knife/role_create.rb
@@ -705,18 +685,21 @@ files:
705
685
  - lib/chef/knife/role_list.rb
706
686
  - lib/chef/knife/role_show.rb
707
687
  - lib/chef/knife/search.rb
688
+ - lib/chef/knife/show.rb
708
689
  - lib/chef/knife/ssh.rb
709
690
  - lib/chef/knife/status.rb
710
691
  - lib/chef/knife/tag_create.rb
711
692
  - lib/chef/knife/tag_delete.rb
712
693
  - lib/chef/knife/tag_list.rb
694
+ - lib/chef/knife/upload.rb
695
+ - lib/chef/knife.rb
713
696
  - lib/chef/log.rb
714
697
  - lib/chef/mash.rb
715
698
  - lib/chef/mixin/check_helper.rb
716
699
  - lib/chef/mixin/checksum.rb
717
- - lib/chef/mixin/command.rb
718
700
  - lib/chef/mixin/command/unix.rb
719
701
  - lib/chef/mixin/command/windows.rb
702
+ - lib/chef/mixin/command.rb
720
703
  - lib/chef/mixin/convert_to_class_name.rb
721
704
  - lib/chef/mixin/create_path.rb
722
705
  - lib/chef/mixin/deep_merge.rb
@@ -739,35 +722,32 @@ files:
739
722
  - lib/chef/mixins.rb
740
723
  - lib/chef/monkey_patches/dir.rb
741
724
  - lib/chef/monkey_patches/fileutils.rb
742
- - lib/chef/monkey_patches/moneta.rb
743
725
  - lib/chef/monkey_patches/net_http.rb
744
726
  - lib/chef/monkey_patches/numeric.rb
745
727
  - lib/chef/monkey_patches/object.rb
746
728
  - lib/chef/monkey_patches/regexp.rb
747
729
  - lib/chef/monkey_patches/string.rb
748
730
  - lib/chef/monkey_patches/tempfile.rb
749
- - lib/chef/monkey_patches/uri.rb
750
731
  - lib/chef/nil_argument.rb
751
- - lib/chef/node.rb
752
732
  - lib/chef/node/attribute.rb
753
- - lib/chef/openid_registration.rb
733
+ - lib/chef/node/attribute_collections.rb
734
+ - lib/chef/node/immutable_collections.rb
735
+ - lib/chef/node.rb
754
736
  - lib/chef/platform.rb
755
- - lib/chef/provider.rb
756
737
  - lib/chef/provider/breakpoint.rb
757
738
  - lib/chef/provider/cookbook_file.rb
758
- - lib/chef/provider/cron.rb
759
739
  - lib/chef/provider/cron/solaris.rb
760
- - lib/chef/provider/deploy.rb
740
+ - lib/chef/provider/cron.rb
761
741
  - lib/chef/provider/deploy/revision.rb
762
742
  - lib/chef/provider/deploy/timestamped.rb
743
+ - lib/chef/provider/deploy.rb
763
744
  - lib/chef/provider/directory.rb
764
- - lib/chef/provider/env.rb
765
745
  - lib/chef/provider/env/windows.rb
746
+ - lib/chef/provider/env.rb
766
747
  - lib/chef/provider/erl_call.rb
767
748
  - lib/chef/provider/execute.rb
768
749
  - lib/chef/provider/file.rb
769
750
  - lib/chef/provider/git.rb
770
- - lib/chef/provider/group.rb
771
751
  - lib/chef/provider/group/aix.rb
772
752
  - lib/chef/provider/group/dscl.rb
773
753
  - lib/chef/provider/group/gpasswd.rb
@@ -777,16 +757,17 @@ files:
777
757
  - lib/chef/provider/group/suse.rb
778
758
  - lib/chef/provider/group/usermod.rb
779
759
  - lib/chef/provider/group/windows.rb
760
+ - lib/chef/provider/group.rb
780
761
  - lib/chef/provider/http_request.rb
781
762
  - lib/chef/provider/ifconfig.rb
782
763
  - lib/chef/provider/link.rb
783
764
  - lib/chef/provider/log.rb
765
+ - lib/chef/provider/lwrp_base.rb
784
766
  - lib/chef/provider/mdadm.rb
785
- - lib/chef/provider/mount.rb
786
767
  - lib/chef/provider/mount/mount.rb
787
768
  - lib/chef/provider/mount/windows.rb
769
+ - lib/chef/provider/mount.rb
788
770
  - lib/chef/provider/ohai.rb
789
- - lib/chef/provider/package.rb
790
771
  - lib/chef/provider/package/apt.rb
791
772
  - lib/chef/provider/package/dpkg.rb
792
773
  - lib/chef/provider/package/easy_install.rb
@@ -802,13 +783,14 @@ files:
802
783
  - lib/chef/provider/package/yum-dump.py
803
784
  - lib/chef/provider/package/yum.rb
804
785
  - lib/chef/provider/package/zypper.rb
786
+ - lib/chef/provider/package.rb
787
+ - lib/chef/provider/registry_key.rb
805
788
  - lib/chef/provider/remote_directory.rb
806
789
  - lib/chef/provider/remote_file.rb
807
790
  - lib/chef/provider/resource_update.rb
808
791
  - lib/chef/provider/route.rb
809
792
  - lib/chef/provider/ruby_block.rb
810
793
  - lib/chef/provider/script.rb
811
- - lib/chef/provider/service.rb
812
794
  - lib/chef/provider/service/arch.rb
813
795
  - lib/chef/provider/service/debian.rb
814
796
  - lib/chef/provider/service/freebsd.rb
@@ -823,19 +805,19 @@ files:
823
805
  - lib/chef/provider/service/systemd.rb
824
806
  - lib/chef/provider/service/upstart.rb
825
807
  - lib/chef/provider/service/windows.rb
808
+ - lib/chef/provider/service.rb
826
809
  - lib/chef/provider/subversion.rb
827
810
  - lib/chef/provider/template.rb
828
- - lib/chef/provider/user.rb
811
+ - lib/chef/provider/template_finder.rb
829
812
  - lib/chef/provider/user/dscl.rb
830
813
  - lib/chef/provider/user/pw.rb
831
- - lib/chef/provider/user/solaris.rb
832
814
  - lib/chef/provider/user/useradd.rb
833
815
  - lib/chef/provider/user/windows.rb
834
- - lib/chef/provider/whyrun_safe_ruby_block.rb
816
+ - lib/chef/provider/user.rb
817
+ - lib/chef/provider.rb
835
818
  - lib/chef/providers.rb
836
819
  - lib/chef/recipe.rb
837
820
  - lib/chef/reserved_names.rb
838
- - lib/chef/resource.rb
839
821
  - lib/chef/resource/apt_package.rb
840
822
  - lib/chef/resource/bash.rb
841
823
  - lib/chef/resource/breakpoint.rb
@@ -862,6 +844,7 @@ files:
862
844
  - lib/chef/resource/ips_package.rb
863
845
  - lib/chef/resource/link.rb
864
846
  - lib/chef/resource/log.rb
847
+ - lib/chef/resource/lwrp_base.rb
865
848
  - lib/chef/resource/macports_package.rb
866
849
  - lib/chef/resource/mdadm.rb
867
850
  - lib/chef/resource/mount.rb
@@ -871,6 +854,7 @@ files:
871
854
  - lib/chef/resource/perl.rb
872
855
  - lib/chef/resource/portage_package.rb
873
856
  - lib/chef/resource/python.rb
857
+ - lib/chef/resource/registry_key.rb
874
858
  - lib/chef/resource/remote_directory.rb
875
859
  - lib/chef/resource/remote_file.rb
876
860
  - lib/chef/resource/route.rb
@@ -886,54 +870,50 @@ files:
886
870
  - lib/chef/resource/template.rb
887
871
  - lib/chef/resource/timestamped_deploy.rb
888
872
  - lib/chef/resource/user.rb
889
- - lib/chef/resource/whyrun_safe_ruby_block.rb
890
873
  - lib/chef/resource/yum_package.rb
891
- - lib/chef/resource_collection.rb
874
+ - lib/chef/resource.rb
892
875
  - lib/chef/resource_collection/stepable_iterator.rb
876
+ - lib/chef/resource_collection.rb
893
877
  - lib/chef/resource_definition.rb
894
878
  - lib/chef/resource_definition_list.rb
895
879
  - lib/chef/resource_platform_map.rb
896
880
  - lib/chef/resource_reporter.rb
897
881
  - lib/chef/resources.rb
898
- - lib/chef/rest.rb
899
882
  - lib/chef/rest/auth_credentials.rb
900
883
  - lib/chef/rest/cookie_jar.rb
901
884
  - lib/chef/rest/rest_request.rb
885
+ - lib/chef/rest.rb
902
886
  - lib/chef/role.rb
887
+ - lib/chef/run_context/cookbook_compiler.rb
903
888
  - lib/chef/run_context.rb
904
- - lib/chef/run_list.rb
905
889
  - lib/chef/run_list/run_list_expansion.rb
906
890
  - lib/chef/run_list/run_list_item.rb
907
891
  - lib/chef/run_list/versioned_recipe_list.rb
892
+ - lib/chef/run_list.rb
893
+ - lib/chef/run_lock.rb
908
894
  - lib/chef/run_status.rb
909
895
  - lib/chef/runner.rb
910
896
  - lib/chef/sandbox.rb
911
897
  - lib/chef/scan_access_control.rb
912
898
  - lib/chef/search/query.rb
913
- - lib/chef/shef.rb
914
899
  - lib/chef/shef/ext.rb
915
- - lib/chef/shef/model_wrapper.rb
916
- - lib/chef/shef/shef_rest.rb
917
- - lib/chef/shef/shef_session.rb
900
+ - lib/chef/shell/ext.rb
901
+ - lib/chef/shell/model_wrapper.rb
902
+ - lib/chef/shell/shell_rest.rb
903
+ - lib/chef/shell/shell_session.rb
904
+ - lib/chef/shell.rb
918
905
  - lib/chef/shell_out.rb
919
- - lib/chef/solr_query.rb
920
- - lib/chef/solr_query/lucene.treetop
921
- - lib/chef/solr_query/lucene_nodes.rb
922
- - lib/chef/solr_query/query_transform.rb
923
- - lib/chef/solr_query/solr_http_request.rb
924
906
  - lib/chef/streaming_cookbook_uploader.rb
925
907
  - lib/chef/tasks/chef_repo.rake
926
908
  - lib/chef/util/file_edit.rb
927
- - lib/chef/util/windows.rb
928
909
  - lib/chef/util/windows/net_group.rb
929
910
  - lib/chef/util/windows/net_use.rb
930
911
  - lib/chef/util/windows/net_user.rb
931
912
  - lib/chef/util/windows/volume.rb
913
+ - lib/chef/util/windows.rb
932
914
  - lib/chef/version.rb
933
915
  - lib/chef/version_class.rb
934
916
  - lib/chef/version_constraint.rb
935
- - lib/chef/webui_user.rb
936
- - lib/chef/win32/api.rb
937
917
  - lib/chef/win32/api/error.rb
938
918
  - lib/chef/win32/api/file.rb
939
919
  - lib/chef/win32/api/memory.rb
@@ -942,32 +922,36 @@ files:
942
922
  - lib/chef/win32/api/security.rb
943
923
  - lib/chef/win32/api/system.rb
944
924
  - lib/chef/win32/api/unicode.rb
925
+ - lib/chef/win32/api.rb
945
926
  - lib/chef/win32/error.rb
946
- - lib/chef/win32/file.rb
947
927
  - lib/chef/win32/file/info.rb
928
+ - lib/chef/win32/file.rb
948
929
  - lib/chef/win32/handle.rb
949
930
  - lib/chef/win32/memory.rb
950
931
  - lib/chef/win32/process.rb
951
- - lib/chef/win32/security.rb
932
+ - lib/chef/win32/registry.rb
952
933
  - lib/chef/win32/security/ace.rb
953
934
  - lib/chef/win32/security/acl.rb
954
935
  - lib/chef/win32/security/securable_object.rb
955
936
  - lib/chef/win32/security/security_descriptor.rb
956
937
  - lib/chef/win32/security/sid.rb
957
938
  - lib/chef/win32/security/token.rb
939
+ - lib/chef/win32/security.rb
958
940
  - lib/chef/win32/unicode.rb
959
941
  - lib/chef/win32/version.rb
942
+ - lib/chef.rb
943
+ - tasks/rspec.rb
960
944
  - spec/data/bad-config.rb
961
945
  - spec/data/big_json.json
962
946
  - spec/data/big_json_plus_one.json
963
947
  - spec/data/bootstrap/test-hints.erb
964
948
  - spec/data/bootstrap/test.erb
965
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
966
949
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
967
950
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
968
951
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
969
952
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
970
953
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
954
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
971
955
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
972
956
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
973
957
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1001,12 +985,8 @@ files:
1001
985
  - spec/data/cookbooks/openldap/attributes/smokey.rb
1002
986
  - spec/data/cookbooks/openldap/definitions/client.rb
1003
987
  - spec/data/cookbooks/openldap/definitions/server.rb
1004
- - spec/data/cookbooks/openldap/files/default/.dotfile
1005
- - spec/data/cookbooks/openldap/files/default/.ssh/id_rsa
1006
- - spec/data/cookbooks/openldap/files/default/remotedir/.a_dotdir/.a_dotfile_in_a_dotdir
1007
988
  - spec/data/cookbooks/openldap/files/default/remotedir/remote_dir_file1.txt
1008
989
  - spec/data/cookbooks/openldap/files/default/remotedir/remote_dir_file2.txt
1009
- - spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/.a_dotfile
1010
990
  - spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file1.txt
1011
991
  - spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file2.txt
1012
992
  - spec/data/cookbooks/openldap/files/default/remotedir/subdir_with_no_file_just_a_subsubdir/the_subsubdir/some_file.txt
@@ -1032,7 +1012,6 @@ files:
1032
1012
  - spec/data/kitchen/openldap/recipes/gigantor.rb
1033
1013
  - spec/data/kitchen/openldap/recipes/ignoreme.rb
1034
1014
  - spec/data/kitchen/openldap/recipes/woot.rb
1035
- - spec/data/knife-home/.chef/plugins/knife/example_home_subcommand.rb
1036
1015
  - spec/data/knife-site-subcommands/plugins/knife/example_subcommand.rb
1037
1016
  - spec/data/knife_subcommand/test_explicit_category.rb
1038
1017
  - spec/data/knife_subcommand/test_name_mapping.rb
@@ -1040,23 +1019,15 @@ files:
1040
1019
  - spec/data/lwrp/providers/buck_passer.rb
1041
1020
  - spec/data/lwrp/providers/buck_passer_2.rb
1042
1021
  - spec/data/lwrp/providers/embedded_resource_accesses_providers_scope.rb
1022
+ - spec/data/lwrp/providers/inline_compiler.rb
1043
1023
  - spec/data/lwrp/providers/monkey_name_printer.rb
1044
1024
  - spec/data/lwrp/providers/paint_drying_watcher.rb
1045
1025
  - spec/data/lwrp/providers/thumb_twiddler.rb
1046
1026
  - spec/data/lwrp/resources/bar.rb
1047
1027
  - spec/data/lwrp/resources/foo.rb
1048
1028
  - spec/data/lwrp/resources_with_default_attributes/nodeattr.rb
1049
- - spec/data/lwrp_const_scoping/resources/conflict.rb
1050
1029
  - spec/data/lwrp_override/providers/buck_passer.rb
1051
1030
  - spec/data/lwrp_override/resources/foo.rb
1052
- - spec/data/mac_users/10.7-8.plist.xml
1053
- - spec/data/mac_users/10.7-8.shadow.xml
1054
- - spec/data/mac_users/10.7.plist.xml
1055
- - spec/data/mac_users/10.7.shadow.xml
1056
- - spec/data/mac_users/10.8.plist.xml
1057
- - spec/data/mac_users/10.8.shadow.xml
1058
- - spec/data/mac_users/10.9.plist.xml
1059
- - spec/data/mac_users/10.9.shadow.xml
1060
1031
  - spec/data/metadata/quick_start/metadata.rb
1061
1032
  - spec/data/nodes/default.rb
1062
1033
  - spec/data/nodes/test.example.com.rb
@@ -1072,18 +1043,72 @@ files:
1072
1043
  - spec/data/object_loader/roles/test_json_class.json
1073
1044
  - spec/data/old_home_dir/my-dot-emacs
1074
1045
  - spec/data/old_home_dir/my-dot-vim
1046
+ - spec/data/partial_one.erb
1075
1047
  - spec/data/recipes/test.rb
1076
1048
  - spec/data/remote_directory_data/remote_dir_file.txt
1077
1049
  - spec/data/remote_directory_data/remote_subdirectory/remote_subdir_file.txt
1078
1050
  - spec/data/remote_file/nyan_cat.png
1051
+ - spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb
1052
+ - spec/data/run_context/cookbooks/circular-dep1/definitions/circular_dep1_res.rb
1053
+ - spec/data/run_context/cookbooks/circular-dep1/libraries/lib.rb
1054
+ - spec/data/run_context/cookbooks/circular-dep1/metadata.rb
1055
+ - spec/data/run_context/cookbooks/circular-dep1/providers/provider.rb
1056
+ - spec/data/run_context/cookbooks/circular-dep1/recipes/default.rb
1057
+ - spec/data/run_context/cookbooks/circular-dep1/resources/resource.rb
1058
+ - spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb
1059
+ - spec/data/run_context/cookbooks/circular-dep2/definitions/circular_dep2_res.rb
1060
+ - spec/data/run_context/cookbooks/circular-dep2/libraries/lib.rb
1061
+ - spec/data/run_context/cookbooks/circular-dep2/metadata.rb
1062
+ - spec/data/run_context/cookbooks/circular-dep2/providers/provider.rb
1063
+ - spec/data/run_context/cookbooks/circular-dep2/recipes/default.rb
1064
+ - spec/data/run_context/cookbooks/circular-dep2/resources/resource.rb
1065
+ - spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb
1066
+ - spec/data/run_context/cookbooks/dependency1/attributes/default.rb
1067
+ - spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb
1068
+ - spec/data/run_context/cookbooks/dependency1/definitions/dependency1_res.rb
1069
+ - spec/data/run_context/cookbooks/dependency1/libraries/lib.rb
1070
+ - spec/data/run_context/cookbooks/dependency1/providers/provider.rb
1071
+ - spec/data/run_context/cookbooks/dependency1/recipes/default.rb
1072
+ - spec/data/run_context/cookbooks/dependency1/resources/resource.rb
1073
+ - spec/data/run_context/cookbooks/dependency2/attributes/default.rb
1074
+ - spec/data/run_context/cookbooks/dependency2/definitions/dependency2_res.rb
1075
+ - spec/data/run_context/cookbooks/dependency2/libraries/lib.rb
1076
+ - spec/data/run_context/cookbooks/dependency2/providers/provider.rb
1077
+ - spec/data/run_context/cookbooks/dependency2/recipes/default.rb
1078
+ - spec/data/run_context/cookbooks/dependency2/resources/resource.rb
1079
+ - spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb
1080
+ - spec/data/run_context/cookbooks/no-default-attr/definitions/no_default-attr_res.rb
1081
+ - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1082
+ - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1083
+ - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1084
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1079
1085
  - spec/data/run_context/cookbooks/test/attributes/george.rb
1080
1086
  - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1081
1087
  - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1088
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1089
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1082
1090
  - spec/data/run_context/cookbooks/test/recipes/default.rb
1083
1091
  - spec/data/run_context/cookbooks/test/recipes/one.rb
1084
1092
  - spec/data/run_context/cookbooks/test/recipes/two.rb
1093
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1094
+ - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1095
+ - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1096
+ - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
1097
+ - spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb
1098
+ - spec/data/run_context/cookbooks/test-with-circular-deps/providers/provider.rb
1099
+ - spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb
1100
+ - spec/data/run_context/cookbooks/test-with-circular-deps/resources/resource.rb
1101
+ - spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb
1102
+ - spec/data/run_context/cookbooks/test-with-deps/definitions/test_with-deps_res.rb
1103
+ - spec/data/run_context/cookbooks/test-with-deps/libraries/lib.rb
1104
+ - spec/data/run_context/cookbooks/test-with-deps/metadata.rb
1105
+ - spec/data/run_context/cookbooks/test-with-deps/providers/provider.rb
1106
+ - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1107
+ - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1108
+ - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1085
1109
  - spec/data/run_context/nodes/run_context.rb
1086
1110
  - spec/data/search_queries_to_transform.txt
1111
+ - spec/data/shef-config.rb
1087
1112
  - spec/data/ssl/5e707473.0
1088
1113
  - spec/data/ssl/chef-rspec.cert
1089
1114
  - spec/data/ssl/chef-rspec.key
@@ -1091,21 +1116,23 @@ files:
1091
1116
  - spec/data/ssl/private_key.pem
1092
1117
  - spec/data/ssl/private_key_with_whitespace.pem
1093
1118
  - spec/data/templates/seattle.txt
1119
+ - spec/functional/dsl/registry_helper_spec.rb
1094
1120
  - spec/functional/knife/cookbook_delete_spec.rb
1095
1121
  - spec/functional/knife/exec_spec.rb
1096
1122
  - spec/functional/knife/ssh_spec.rb
1097
- - spec/functional/resource/base.rb
1098
1123
  - spec/functional/resource/cookbook_file_spec.rb
1099
1124
  - spec/functional/resource/deploy_revision_spec.rb
1100
1125
  - spec/functional/resource/directory_spec.rb
1101
1126
  - spec/functional/resource/file_spec.rb
1102
- - spec/functional/resource/group_spec.rb
1103
1127
  - spec/functional/resource/link_spec.rb
1128
+ - spec/functional/resource/registry_spec.rb
1104
1129
  - spec/functional/resource/remote_directory_spec.rb
1105
1130
  - spec/functional/resource/remote_file_spec.rb
1106
1131
  - spec/functional/resource/template_spec.rb
1107
- - spec/functional/resource/user/dscl_spec.rb
1132
+ - spec/functional/run_lock_spec.rb
1133
+ - spec/functional/shell_spec.rb
1108
1134
  - spec/functional/tiny_server_spec.rb
1135
+ - spec/functional/win32/registry_helper_spec.rb
1109
1136
  - spec/rcov.opts
1110
1137
  - spec/spec_helper.rb
1111
1138
  - spec/stress/win32/file_spec.rb
@@ -1127,19 +1154,27 @@ files:
1127
1154
  - spec/support/shared/functional/file_resource.rb
1128
1155
  - spec/support/shared/functional/knife.rb
1129
1156
  - spec/support/shared/functional/securable_resource.rb
1157
+ - spec/support/shared/functional/securable_resource_with_reporting.rb
1130
1158
  - spec/support/shared/unit/api_error_inspector.rb
1159
+ - spec/support/shared/unit/file_system_support.rb
1160
+ - spec/support/shared/unit/platform_introspector.rb
1131
1161
  - spec/tiny_server.rb
1162
+ - spec/unit/api_client/registration_spec.rb
1132
1163
  - spec/unit/api_client_spec.rb
1133
1164
  - spec/unit/application/agent_spec.rb
1165
+ - spec/unit/application/apply.rb
1134
1166
  - spec/unit/application/client_spec.rb
1135
1167
  - spec/unit/application/knife_spec.rb
1136
1168
  - spec/unit/application/server_spec.rb
1137
1169
  - spec/unit/application/solo_spec.rb
1138
1170
  - spec/unit/application_spec.rb
1139
- - spec/unit/certificate_spec.rb
1140
1171
  - spec/unit/checksum/storage/filesystem_spec.rb
1141
- - spec/unit/checksum_cache_spec.rb
1142
- - spec/unit/checksum_spec.rb
1172
+ - spec/unit/chef_fs/diff_spec.rb
1173
+ - spec/unit/chef_fs/file_pattern_spec.rb
1174
+ - spec/unit/chef_fs/file_system/chef_server_root_dir_spec.rb
1175
+ - spec/unit/chef_fs/file_system/cookbooks_dir_spec.rb
1176
+ - spec/unit/chef_fs/file_system/data_bags_dir_spec.rb
1177
+ - spec/unit/chef_fs/file_system_spec.rb
1143
1178
  - spec/unit/chef_spec.rb
1144
1179
  - spec/unit/client_spec.rb
1145
1180
  - spec/unit/config_spec.rb
@@ -1151,10 +1186,13 @@ files:
1151
1186
  - spec/unit/cookbook_manifest_spec.rb
1152
1187
  - spec/unit/cookbook_spec.rb
1153
1188
  - spec/unit/cookbook_version_spec.rb
1154
- - spec/unit/couchdb_spec.rb
1155
1189
  - spec/unit/daemon_spec.rb
1156
1190
  - spec/unit/data_bag_item_spec.rb
1157
1191
  - spec/unit/data_bag_spec.rb
1192
+ - spec/unit/digester_spec.rb
1193
+ - spec/unit/dsl/data_query_spec.rb
1194
+ - spec/unit/dsl/platform_introspection_spec.rb
1195
+ - spec/unit/dsl/regsitry_helper_spec.rb
1158
1196
  - spec/unit/encrypted_data_bag_item_spec.rb
1159
1197
  - spec/unit/environment_spec.rb
1160
1198
  - spec/unit/exceptions_spec.rb
@@ -1169,7 +1207,6 @@ files:
1169
1207
  - spec/unit/formatters/error_inspectors/run_list_expansion_error_inspector_spec.rb
1170
1208
  - spec/unit/handler/json_file_spec.rb
1171
1209
  - spec/unit/handler_spec.rb
1172
- - spec/unit/index_queue_spec.rb
1173
1210
  - spec/unit/json_compat_spec.rb
1174
1211
  - spec/unit/knife/bootstrap_spec.rb
1175
1212
  - spec/unit/knife/client_bulk_delete_spec.rb
@@ -1242,7 +1279,6 @@ files:
1242
1279
  - spec/unit/mixin/deep_merge_spec.rb
1243
1280
  - spec/unit/mixin/deprecation_spec.rb
1244
1281
  - spec/unit/mixin/enforce_ownership_and_permissions_spec.rb
1245
- - spec/unit/mixin/language_spec.rb
1246
1282
  - spec/unit/mixin/params_validate_spec.rb
1247
1283
  - spec/unit/mixin/path_sanity_spec.rb
1248
1284
  - spec/unit/mixin/securable_spec.rb
@@ -1250,10 +1286,9 @@ files:
1250
1286
  - spec/unit/mixin/template_spec.rb
1251
1287
  - spec/unit/mixin/xml_escape_spec.rb
1252
1288
  - spec/unit/monkey_patches/string_spec.rb
1253
- - spec/unit/monkey_patches/uri_spec.rb
1254
1289
  - spec/unit/node/attribute_spec.rb
1290
+ - spec/unit/node/immutable_collections_spec.rb
1255
1291
  - spec/unit/node_spec.rb
1256
- - spec/unit/openid_registration_spec.rb
1257
1292
  - spec/unit/platform_spec.rb
1258
1293
  - spec/unit/provider/breakpoint_spec.rb
1259
1294
  - spec/unit/provider/cookbook_file_spec.rb
@@ -1300,6 +1335,7 @@ files:
1300
1335
  - spec/unit/provider/package/yum_spec.rb
1301
1336
  - spec/unit/provider/package/zypper_spec.rb
1302
1337
  - spec/unit/provider/package_spec.rb
1338
+ - spec/unit/provider/registry_key_spec.rb
1303
1339
  - spec/unit/provider/remote_directory_spec.rb
1304
1340
  - spec/unit/provider/remote_file_spec.rb
1305
1341
  - spec/unit/provider/route_spec.rb
@@ -1324,13 +1360,12 @@ files:
1324
1360
  - spec/unit/provider/template_spec.rb
1325
1361
  - spec/unit/provider/user/dscl_spec.rb
1326
1362
  - spec/unit/provider/user/pw_spec.rb
1327
- - spec/unit/provider/user/solaris_spec.rb
1328
1363
  - spec/unit/provider/user/useradd_spec.rb
1329
1364
  - spec/unit/provider/user/windows_spec.rb
1330
1365
  - spec/unit/provider/user_spec.rb
1331
- - spec/unit/provider/whyrun_safe_ruby_block_spec.rb
1332
1366
  - spec/unit/provider_spec.rb
1333
1367
  - spec/unit/recipe_spec.rb
1368
+ - spec/unit/registry_helper_spec.rb
1334
1369
  - spec/unit/resource/apt_package_spec.rb
1335
1370
  - spec/unit/resource/bash_spec.rb
1336
1371
  - spec/unit/resource/breakpoint_spec.rb
@@ -1366,6 +1401,7 @@ files:
1366
1401
  - spec/unit/resource/perl_spec.rb
1367
1402
  - spec/unit/resource/portage_package_spec.rb
1368
1403
  - spec/unit/resource/python_spec.rb
1404
+ - spec/unit/resource/registry_key_spec.rb
1369
1405
  - spec/unit/resource/remote_directory_spec.rb
1370
1406
  - spec/unit/resource/remote_file_spec.rb
1371
1407
  - spec/unit/resource/route_spec.rb
@@ -1390,49 +1426,54 @@ files:
1390
1426
  - spec/unit/rest/auth_credentials_spec.rb
1391
1427
  - spec/unit/rest_spec.rb
1392
1428
  - spec/unit/role_spec.rb
1429
+ - spec/unit/run_context/cookbook_compiler_spec.rb
1393
1430
  - spec/unit/run_context_spec.rb
1394
1431
  - spec/unit/run_list/run_list_expansion_spec.rb
1395
1432
  - spec/unit/run_list/run_list_item_spec.rb
1396
1433
  - spec/unit/run_list/versioned_recipe_list_spec.rb
1397
1434
  - spec/unit/run_list_spec.rb
1435
+ - spec/unit/run_lock_spec.rb
1398
1436
  - spec/unit/run_status_spec.rb
1399
1437
  - spec/unit/runner_spec.rb
1400
1438
  - spec/unit/scan_access_control_spec.rb
1401
1439
  - spec/unit/search/query_spec.rb
1402
- - spec/unit/shef/model_wrapper_spec.rb
1403
- - spec/unit/shef/shef_ext_spec.rb
1404
- - spec/unit/shef/shef_session_spec.rb
1405
- - spec/unit/shef_spec.rb
1406
- - spec/unit/solr_query/query_transform_spec.rb
1407
- - spec/unit/solr_query/solr_http_request_spec.rb
1408
- - spec/unit/solr_query_spec.rb
1440
+ - spec/unit/shell/model_wrapper_spec.rb
1441
+ - spec/unit/shell/shell_ext_spec.rb
1442
+ - spec/unit/shell/shell_session_spec.rb
1443
+ - spec/unit/shell_out_spec.rb
1444
+ - spec/unit/shell_spec.rb
1409
1445
  - spec/unit/util/file_edit_spec.rb
1410
1446
  - spec/unit/version_class_spec.rb
1411
1447
  - spec/unit/version_constraint_spec.rb
1412
- - spec/unit/webui_user_spec.rb
1413
- - tasks/rspec.rb
1448
+ - bin/chef-client
1449
+ - bin/chef-solo
1450
+ - bin/knife
1451
+ - bin/chef-shell
1452
+ - bin/shef
1453
+ - bin/chef-apply
1414
1454
  homepage: http://wiki.opscode.com/display/chef
1415
1455
  licenses: []
1416
- metadata: {}
1417
1456
  post_install_message:
1418
1457
  rdoc_options: []
1419
1458
  require_paths:
1420
1459
  - lib
1421
1460
  required_ruby_version: !ruby/object:Gem::Requirement
1461
+ none: false
1422
1462
  requirements:
1423
1463
  - - ! '>='
1424
1464
  - !ruby/object:Gem::Version
1425
1465
  version: '0'
1426
1466
  required_rubygems_version: !ruby/object:Gem::Requirement
1467
+ none: false
1427
1468
  requirements:
1428
- - - ! '>='
1469
+ - - ! '>'
1429
1470
  - !ruby/object:Gem::Version
1430
- version: '0'
1471
+ version: 1.3.1
1431
1472
  requirements: []
1432
1473
  rubyforge_project:
1433
- rubygems_version: 2.4.1
1474
+ rubygems_version: 1.8.23
1434
1475
  signing_key:
1435
- specification_version: 4
1476
+ specification_version: 3
1436
1477
  summary: A systems integration framework, built to bring the benefits of configuration
1437
1478
  management to your entire infrastructure.
1438
1479
  test_files: []