chef 10.34.6-x86-mingw32 → 11.6.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (777) hide show
  1. checksums.yaml +5 -13
  2. data/CONTRIBUTING.md +155 -0
  3. data/README.md +89 -0
  4. data/Rakefile +18 -1
  5. data/bin/chef-apply +25 -0
  6. data/bin/chef-service-manager +37 -0
  7. data/bin/chef-shell +34 -0
  8. data/bin/shef +6 -5
  9. data/distro/common/html/chef-client.8.html +4 -4
  10. data/distro/common/html/chef-expander.8.html +4 -4
  11. data/distro/common/html/chef-expanderctl.8.html +4 -4
  12. data/distro/common/html/chef-server-webui.8.html +4 -4
  13. data/distro/common/html/chef-server.8.html +4 -4
  14. data/distro/common/html/{shef.1.html → chef-shell.1.html} +49 -46
  15. data/distro/common/html/chef-solo.8.html +4 -4
  16. data/distro/common/html/chef-solr.8.html +5 -5
  17. data/distro/common/html/knife-bootstrap.1.html +4 -4
  18. data/distro/common/html/knife-client.1.html +4 -4
  19. data/distro/common/html/knife-configure.1.html +4 -4
  20. data/distro/common/html/knife-cookbook-site.1.html +4 -4
  21. data/distro/common/html/knife-cookbook.1.html +4 -4
  22. data/distro/common/html/knife-data-bag.1.html +4 -4
  23. data/distro/common/html/knife-environment.1.html +4 -4
  24. data/distro/common/html/knife-exec.1.html +9 -9
  25. data/distro/common/html/knife-index.1.html +4 -4
  26. data/distro/common/html/knife-node.1.html +4 -4
  27. data/distro/common/html/knife-role.1.html +4 -4
  28. data/distro/common/html/knife-search.1.html +4 -4
  29. data/distro/common/html/knife-ssh.1.html +4 -4
  30. data/distro/common/html/knife-status.1.html +4 -4
  31. data/distro/common/html/knife-tag.1.html +4 -4
  32. data/distro/common/html/knife.1.html +8 -13
  33. data/distro/common/man/man1/{shef.1 → chef-shell.1} +21 -57
  34. data/distro/common/man/man1/knife-bootstrap.1 +1 -1
  35. data/distro/common/man/man1/knife-client.1 +0 -99
  36. data/distro/common/man/man1/knife-configure.1 +1 -1
  37. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  38. data/distro/common/man/man1/knife-cookbook.1 +1 -1
  39. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  40. data/distro/common/man/man1/knife-environment.1 +0 -168
  41. data/distro/common/man/man1/knife-exec.1 +4 -7
  42. data/distro/common/man/man1/knife-index.1 +1 -1
  43. data/distro/common/man/man1/knife-node.1 +1 -1
  44. data/distro/common/man/man1/knife-role.1 +1 -1
  45. data/distro/common/man/man1/knife-search.1 +1 -1
  46. data/distro/common/man/man1/knife-ssh.1 +1 -1
  47. data/distro/common/man/man1/knife-status.1 +1 -1
  48. data/distro/common/man/man1/knife-tag.1 +1 -1
  49. data/distro/common/man/man1/knife.1 +3 -6
  50. data/distro/common/man/man8/chef-client.8 +1 -1
  51. data/distro/common/man/man8/chef-expander.8 +1 -1
  52. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  53. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  54. data/distro/common/man/man8/chef-server.8 +1 -1
  55. data/distro/common/man/man8/chef-solo.8 +1 -1
  56. data/distro/common/man/man8/chef-solr.8 +1 -1
  57. data/distro/common/markdown/man1/{shef.mkd → chef-shell.mkd} +49 -43
  58. data/distro/common/markdown/man1/knife-exec.mkd +11 -6
  59. data/distro/common/markdown/man1/knife.mkd +4 -9
  60. data/distro/debian/etc/default/chef-client +0 -1
  61. data/distro/debian/etc/init.d/chef-client +6 -4
  62. data/distro/windows/service_manager.rb +2 -146
  63. data/lib/chef.rb +3 -6
  64. data/lib/chef/api_client.rb +20 -130
  65. data/lib/chef/api_client/registration.rb +126 -0
  66. data/lib/chef/application.rb +68 -18
  67. data/lib/chef/application/apply.rb +162 -0
  68. data/lib/chef/application/client.rb +37 -22
  69. data/lib/chef/application/knife.rb +2 -4
  70. data/lib/chef/application/solo.rb +27 -13
  71. data/lib/chef/application/windows_service.rb +114 -54
  72. data/lib/chef/application/windows_service_manager.rb +179 -0
  73. data/lib/chef/applications.rb +1 -0
  74. data/lib/chef/chef_fs.rb +9 -0
  75. data/lib/chef/chef_fs/chef_fs_data_store.rb +371 -0
  76. data/lib/chef/chef_fs/command_line.rb +284 -0
  77. data/lib/chef/chef_fs/config.rb +205 -0
  78. data/lib/chef/chef_fs/data_handler/acl_data_handler.rb +26 -0
  79. data/lib/chef/chef_fs/data_handler/client_data_handler.rb +38 -0
  80. data/lib/chef/chef_fs/data_handler/container_data_handler.rb +29 -0
  81. data/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb +38 -0
  82. data/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb +56 -0
  83. data/lib/chef/chef_fs/data_handler/data_handler_base.rb +128 -0
  84. data/lib/chef/chef_fs/data_handler/environment_data_handler.rb +40 -0
  85. data/lib/chef/chef_fs/data_handler/group_data_handler.rb +51 -0
  86. data/lib/chef/chef_fs/data_handler/node_data_handler.rb +36 -0
  87. data/lib/chef/chef_fs/data_handler/role_data_handler.rb +40 -0
  88. data/lib/chef/chef_fs/data_handler/user_data_handler.rb +27 -0
  89. data/lib/chef/chef_fs/file_pattern.rb +312 -0
  90. data/lib/chef/chef_fs/file_system.rb +426 -0
  91. data/lib/chef/chef_fs/file_system/acl_dir.rb +64 -0
  92. data/lib/chef/chef_fs/file_system/acl_entry.rb +58 -0
  93. data/lib/chef/chef_fs/file_system/acls_dir.rb +68 -0
  94. data/lib/chef/chef_fs/file_system/already_exists_error.rb +31 -0
  95. data/lib/chef/chef_fs/file_system/base_fs_dir.rb +47 -0
  96. data/lib/chef/chef_fs/file_system/base_fs_object.rb +180 -0
  97. data/lib/chef/chef_fs/file_system/chef_repository_file_system_cookbook_dir.rb +85 -0
  98. data/lib/chef/chef_fs/file_system/chef_repository_file_system_cookbook_entry.rb +71 -0
  99. data/lib/chef/chef_fs/file_system/chef_repository_file_system_cookbooks_dir.rb +55 -0
  100. data/lib/chef/chef_fs/file_system/chef_repository_file_system_data_bags_dir.rb +36 -0
  101. data/lib/chef/chef_fs/file_system/chef_repository_file_system_entry.rb +60 -0
  102. data/lib/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb +121 -0
  103. data/lib/chef/chef_fs/file_system/chef_server_root_dir.rb +110 -0
  104. data/lib/chef/chef_fs/file_system/cookbook_dir.rb +223 -0
  105. data/lib/chef/chef_fs/file_system/cookbook_file.rb +85 -0
  106. data/lib/chef/chef_fs/file_system/cookbook_frozen_error.rb +31 -0
  107. data/lib/chef/chef_fs/file_system/cookbook_subdir.rb +54 -0
  108. data/lib/chef/chef_fs/file_system/cookbooks_acl_dir.rb +41 -0
  109. data/lib/chef/chef_fs/file_system/cookbooks_dir.rb +149 -0
  110. data/lib/chef/chef_fs/file_system/data_bag_dir.rb +69 -0
  111. data/lib/chef/chef_fs/file_system/data_bags_dir.rb +72 -0
  112. data/lib/chef/chef_fs/file_system/default_environment_cannot_be_modified_error.rb +36 -0
  113. data/lib/chef/chef_fs/file_system/environments_dir.rb +60 -0
  114. data/lib/chef/chef_fs/file_system/file_system_entry.rb +90 -0
  115. data/lib/chef/chef_fs/file_system/file_system_error.rb +33 -0
  116. data/lib/chef/chef_fs/file_system/file_system_root_dir.rb +31 -0
  117. data/lib/chef/chef_fs/file_system/memory_dir.rb +52 -0
  118. data/lib/chef/chef_fs/file_system/memory_file.rb +17 -0
  119. data/lib/chef/chef_fs/file_system/memory_root.rb +21 -0
  120. data/lib/chef/chef_fs/file_system/multiplexed_dir.rb +48 -0
  121. data/lib/chef/chef_fs/file_system/must_delete_recursively_error.rb +31 -0
  122. data/lib/chef/chef_fs/file_system/nodes_dir.rb +55 -0
  123. data/lib/chef/chef_fs/file_system/nonexistent_fs_object.rb +36 -0
  124. data/lib/chef/chef_fs/file_system/not_found_error.rb +31 -0
  125. data/lib/chef/chef_fs/file_system/operation_failed_error.rb +34 -0
  126. data/lib/chef/chef_fs/file_system/operation_not_allowed_error.rb +48 -0
  127. data/lib/chef/chef_fs/file_system/rest_list_dir.rb +113 -0
  128. data/lib/chef/chef_fs/file_system/rest_list_entry.rb +177 -0
  129. data/lib/chef/chef_fs/knife.rb +116 -0
  130. data/lib/chef/chef_fs/parallelizer.rb +129 -0
  131. data/lib/chef/chef_fs/path_utils.rb +90 -0
  132. data/lib/chef/chef_fs/raw_request.rb +79 -0
  133. data/lib/chef/client.rb +111 -34
  134. data/lib/chef/config.rb +111 -102
  135. data/lib/chef/cookbook/chefignore.rb +2 -1
  136. data/lib/chef/cookbook/metadata.rb +0 -2
  137. data/lib/chef/cookbook/syntax_check.rb +76 -14
  138. data/lib/chef/cookbook_loader.rb +39 -26
  139. data/lib/chef/cookbook_uploader.rb +16 -9
  140. data/lib/chef/cookbook_version.rb +2 -410
  141. data/lib/chef/daemon.rb +24 -19
  142. data/lib/chef/data_bag.rb +20 -104
  143. data/lib/chef/data_bag_item.rb +2 -65
  144. data/lib/chef/deprecation/mixin/template.rb +49 -0
  145. data/lib/chef/deprecation/provider/cookbook_file.rb +55 -0
  146. data/lib/chef/deprecation/provider/file.rb +197 -0
  147. data/lib/chef/deprecation/provider/remote_file.rb +86 -0
  148. data/lib/chef/deprecation/provider/template.rb +63 -0
  149. data/lib/chef/deprecation/warnings.rb +38 -0
  150. data/lib/chef/digester.rb +73 -0
  151. data/lib/chef/dsl.rb +6 -0
  152. data/lib/chef/dsl/data_query.rb +71 -0
  153. data/lib/chef/dsl/include_attribute.rb +63 -0
  154. data/lib/chef/dsl/include_recipe.rb +45 -0
  155. data/lib/chef/dsl/platform_introspection.rb +218 -0
  156. data/lib/chef/dsl/recipe.rb +87 -0
  157. data/lib/chef/dsl/registry_helper.rb +59 -0
  158. data/lib/chef/encrypted_data_bag_item.rb +171 -24
  159. data/lib/chef/environment.rb +39 -179
  160. data/lib/chef/event_dispatch/base.rb +3 -0
  161. data/lib/chef/exceptions.rb +107 -8
  162. data/lib/chef/file_access_control/unix.rb +64 -7
  163. data/lib/chef/file_access_control/windows.rb +22 -11
  164. data/lib/chef/file_content_management/content_base.rb +56 -0
  165. data/lib/chef/file_content_management/deploy.rb +38 -0
  166. data/lib/chef/file_content_management/deploy/cp.rb +48 -0
  167. data/lib/chef/file_content_management/deploy/mv_unix.rb +77 -0
  168. data/lib/chef/file_content_management/deploy/mv_windows.rb +95 -0
  169. data/lib/chef/file_content_management/tempfile.rb +61 -0
  170. data/lib/chef/formatters/base.rb +4 -1
  171. data/lib/chef/formatters/doc.rb +1 -1
  172. data/lib/chef/formatters/error_descriptor.rb +5 -4
  173. data/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb +23 -3
  174. data/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb +8 -0
  175. data/lib/chef/json_compat.rb +15 -14
  176. data/lib/chef/knife.rb +99 -41
  177. data/lib/chef/knife/bootstrap.rb +46 -2
  178. data/lib/chef/knife/bootstrap/archlinux-gems.erb +1 -1
  179. data/lib/chef/knife/bootstrap/centos5-gems.erb +1 -1
  180. data/lib/chef/knife/bootstrap/chef-full.erb +1 -1
  181. data/lib/chef/knife/bootstrap/fedora13-gems.erb +1 -1
  182. data/lib/chef/knife/bootstrap/ubuntu10.04-apt.erb +1 -1
  183. data/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +1 -1
  184. data/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb +1 -1
  185. data/lib/chef/knife/client_show.rb +2 -5
  186. data/lib/chef/knife/configure.rb +19 -17
  187. data/lib/chef/knife/cookbook_create.rb +6 -5
  188. data/lib/chef/knife/cookbook_download.rb +13 -5
  189. data/lib/chef/knife/cookbook_metadata.rb +1 -0
  190. data/lib/chef/knife/cookbook_site_share.rb +1 -0
  191. data/lib/chef/knife/cookbook_test.rb +4 -2
  192. data/lib/chef/knife/cookbook_upload.rb +4 -4
  193. data/lib/chef/knife/core/bootstrap_context.rb +11 -5
  194. data/lib/chef/knife/core/generic_presenter.rb +42 -13
  195. data/lib/chef/knife/core/node_editor.rb +36 -16
  196. data/lib/chef/knife/core/node_presenter.rb +1 -1
  197. data/lib/chef/knife/core/subcommand_loader.rb +43 -12
  198. data/lib/chef/knife/core/text_formatter.rb +23 -37
  199. data/lib/chef/knife/core/ui.rb +34 -13
  200. data/lib/chef/knife/delete.rb +106 -0
  201. data/lib/chef/knife/deps.rb +139 -0
  202. data/lib/chef/knife/diff.rb +63 -0
  203. data/lib/chef/knife/download.rb +63 -0
  204. data/lib/chef/knife/edit.rb +76 -0
  205. data/lib/chef/knife/environment_show.rb +2 -0
  206. data/lib/chef/knife/exec.rb +5 -5
  207. data/lib/chef/knife/help_topics.rb +1 -1
  208. data/lib/chef/knife/index_rebuild.rb +91 -7
  209. data/lib/chef/knife/list.rb +153 -0
  210. data/lib/chef/knife/node_run_list_set.rb +66 -0
  211. data/lib/chef/knife/node_show.rb +1 -7
  212. data/lib/chef/knife/raw.rb +64 -0
  213. data/lib/chef/knife/role_show.rb +2 -4
  214. data/lib/chef/knife/search.rb +45 -28
  215. data/lib/chef/knife/show.rb +55 -0
  216. data/lib/chef/knife/ssh.rb +14 -2
  217. data/lib/chef/knife/upload.rb +69 -0
  218. data/lib/chef/knife/user_create.rb +93 -0
  219. data/lib/chef/knife/user_delete.rb +46 -0
  220. data/lib/chef/knife/user_edit.rb +53 -0
  221. data/lib/chef/{provider/whyrun_safe_ruby_block.rb → knife/user_list.rb} +21 -9
  222. data/lib/chef/knife/user_reregister.rb +59 -0
  223. data/lib/chef/knife/user_show.rb +49 -0
  224. data/lib/chef/knife/xargs.rb +265 -0
  225. data/lib/chef/log.rb +2 -2
  226. data/lib/chef/mixin/checksum.rb +3 -3
  227. data/lib/chef/mixin/deep_merge.rb +78 -194
  228. data/lib/chef/mixin/deprecation.rb +35 -0
  229. data/lib/chef/mixin/file_class.rb +0 -9
  230. data/lib/chef/mixin/language.rb +22 -223
  231. data/lib/chef/mixin/language_include_attribute.rb +10 -36
  232. data/lib/chef/mixin/language_include_recipe.rb +7 -33
  233. data/lib/chef/mixin/params_validate.rb +0 -3
  234. data/lib/chef/mixin/recipe_definition_dsl_core.rb +10 -61
  235. data/lib/chef/mixin/securable.rb +32 -7
  236. data/lib/chef/mixin/template.rb +156 -26
  237. data/lib/chef/mixin/windows_architecture_helper.rb +91 -0
  238. data/lib/chef/mixins.rb +1 -5
  239. data/{spec/unit/monkey_patches/uri_spec.rb → lib/chef/monkey_patches/file.rb} +6 -14
  240. data/lib/chef/monkey_patches/net-ssh-multi.rb +140 -0
  241. data/lib/chef/monkey_patches/net_http.rb +0 -34
  242. data/lib/chef/monkey_patches/securerandom.rb +44 -0
  243. data/lib/chef/monologger.rb +93 -0
  244. data/lib/chef/node.rb +139 -308
  245. data/lib/chef/node/attribute.rb +367 -473
  246. data/lib/chef/node/attribute_collections.rb +206 -0
  247. data/lib/chef/node/immutable_collections.rb +186 -0
  248. data/lib/chef/platform.rb +4 -496
  249. data/lib/chef/platform/provider_mapping.rb +529 -0
  250. data/lib/chef/{mixin/check_helper.rb → platform/query_helpers.rb} +20 -9
  251. data/lib/chef/provider.rb +14 -58
  252. data/lib/chef/provider/batch.rb +35 -0
  253. data/lib/chef/provider/breakpoint.rb +6 -6
  254. data/lib/chef/provider/cookbook_file.rb +11 -80
  255. data/lib/chef/provider/cookbook_file/content.rb +49 -0
  256. data/lib/chef/provider/deploy.rb +26 -21
  257. data/lib/chef/provider/deploy/revision.rb +27 -0
  258. data/lib/chef/provider/directory.rb +12 -18
  259. data/lib/chef/provider/execute.rb +22 -5
  260. data/lib/chef/provider/file.rb +297 -248
  261. data/lib/chef/provider/file/content.rb +39 -0
  262. data/lib/chef/provider/git.rb +76 -43
  263. data/lib/chef/provider/group.rb +31 -51
  264. data/lib/chef/provider/group/dscl.rb +13 -53
  265. data/lib/chef/provider/group/gpasswd.rb +19 -14
  266. data/lib/chef/provider/group/groupadd.rb +1 -41
  267. data/lib/chef/provider/group/groupmod.rb +36 -46
  268. data/lib/chef/provider/group/pw.rb +16 -59
  269. data/lib/chef/provider/group/suse.rb +13 -16
  270. data/lib/chef/provider/group/usermod.rb +18 -40
  271. data/lib/chef/provider/group/windows.rb +6 -13
  272. data/lib/chef/provider/http_request.rb +25 -42
  273. data/lib/chef/provider/ifconfig.rb +25 -35
  274. data/lib/chef/provider/ifconfig/debian.rb +71 -0
  275. data/lib/chef/provider/ifconfig/redhat.rb +47 -0
  276. data/lib/chef/provider/link.rb +12 -3
  277. data/lib/chef/provider/lwrp_base.rb +150 -0
  278. data/lib/chef/provider/mount.rb +1 -1
  279. data/lib/chef/provider/mount/mount.rb +8 -3
  280. data/lib/chef/provider/mount/windows.rb +4 -1
  281. data/lib/chef/provider/package/rpm.rb +2 -2
  282. data/lib/chef/provider/package/rubygems.rb +4 -1
  283. data/lib/chef/provider/package/smartos.rb +47 -36
  284. data/lib/chef/provider/package/zypper.rb +45 -55
  285. data/lib/chef/provider/powershell_script.rb +77 -0
  286. data/lib/chef/provider/registry_key.rb +156 -0
  287. data/lib/chef/provider/remote_directory.rb +6 -5
  288. data/lib/chef/provider/remote_file.rb +13 -100
  289. data/lib/chef/provider/remote_file/cache_control_data.rb +165 -0
  290. data/lib/chef/provider/remote_file/content.rb +75 -0
  291. data/lib/chef/provider/remote_file/fetcher.rb +43 -0
  292. data/lib/chef/provider/remote_file/ftp.rb +183 -0
  293. data/lib/chef/provider/remote_file/http.rb +124 -0
  294. data/lib/chef/provider/remote_file/local_file.rb +47 -0
  295. data/lib/chef/provider/route.rb +6 -2
  296. data/lib/chef/provider/ruby_block.rb +5 -2
  297. data/lib/chef/provider/script.rb +14 -2
  298. data/lib/chef/provider/service.rb +15 -0
  299. data/lib/chef/provider/service/init.rb +9 -7
  300. data/lib/chef/provider/service/macosx.rb +29 -81
  301. data/lib/chef/provider/service/simple.rb +1 -1
  302. data/lib/chef/provider/service/solaris.rb +6 -5
  303. data/lib/chef/provider/template.rb +16 -81
  304. data/lib/chef/provider/template/content.rb +61 -0
  305. data/lib/chef/provider/template_finder.rb +61 -0
  306. data/lib/chef/provider/user.rb +0 -1
  307. data/lib/chef/provider/user/dscl.rb +175 -568
  308. data/lib/chef/provider/user/useradd.rb +50 -54
  309. data/lib/chef/provider/windows_script.rb +73 -0
  310. data/lib/chef/providers.rb +18 -1
  311. data/lib/chef/recipe.rb +14 -8
  312. data/lib/chef/resource.rb +52 -146
  313. data/lib/chef/resource/{whyrun_safe_ruby_block.rb → batch.rb} +10 -10
  314. data/lib/chef/resource/conditional.rb +4 -0
  315. data/lib/chef/resource/conditional_action_not_nothing.rb +48 -0
  316. data/lib/chef/resource/file.rb +31 -3
  317. data/lib/chef/resource/group.rb +1 -11
  318. data/lib/chef/resource/http_request.rb +2 -1
  319. data/lib/chef/resource/link.rb +17 -0
  320. data/lib/chef/resource/lwrp_base.rb +132 -0
  321. data/lib/chef/resource/mount.rb +39 -13
  322. data/lib/chef/resource/powershell_script.rb +31 -0
  323. data/lib/chef/resource/registry_key.rb +86 -0
  324. data/lib/chef/resource/remote_directory.rb +6 -5
  325. data/lib/chef/resource/remote_file.rb +62 -25
  326. data/lib/chef/resource/route.rb +1 -1
  327. data/lib/chef/resource/ruby_block.rb +2 -2
  328. data/lib/chef/resource/service.rb +14 -0
  329. data/lib/chef/resource/template.rb +145 -0
  330. data/lib/chef/resource/user.rb +0 -18
  331. data/lib/chef/resource/windows_script.rb +62 -0
  332. data/lib/chef/resource_collection.rb +69 -31
  333. data/lib/chef/resource_reporter.rb +81 -52
  334. data/lib/chef/resources.rb +4 -1
  335. data/lib/chef/rest.rb +55 -127
  336. data/lib/chef/rest/auth_credentials.rb +4 -20
  337. data/lib/chef/rest/rest_request.rb +7 -8
  338. data/lib/chef/role.rb +1 -97
  339. data/lib/chef/run_context.rb +108 -130
  340. data/lib/chef/run_context/cookbook_compiler.rb +280 -0
  341. data/lib/chef/run_list.rb +0 -2
  342. data/lib/chef/run_list/run_list_expansion.rb +1 -16
  343. data/lib/chef/run_lock.rb +96 -0
  344. data/lib/chef/runner.rb +28 -6
  345. data/lib/chef/sandbox.rb +15 -148
  346. data/lib/chef/scan_access_control.rb +8 -5
  347. data/lib/chef/search/query.rb +2 -2
  348. data/lib/chef/shef/ext.rb +3 -575
  349. data/lib/chef/{shef.rb → shell.rb} +35 -40
  350. data/lib/chef/shell/ext.rb +593 -0
  351. data/lib/chef/{shef → shell}/model_wrapper.rb +3 -3
  352. data/lib/chef/{shef/shef_rest.rb → shell/shell_rest.rb} +4 -4
  353. data/lib/chef/{shef/shef_session.rb → shell/shell_session.rb} +15 -13
  354. data/lib/chef/shell_out.rb +7 -0
  355. data/lib/chef/user.rb +182 -0
  356. data/lib/chef/util/backup.rb +84 -0
  357. data/lib/chef/util/diff.rb +145 -0
  358. data/lib/chef/util/file_edit.rb +1 -1
  359. data/lib/chef/util/selinux.rb +100 -0
  360. data/lib/chef/util/windows/net_group.rb +1 -5
  361. data/lib/chef/util/windows/net_user.rb +14 -1
  362. data/lib/chef/util/windows/volume.rb +2 -2
  363. data/lib/chef/version.rb +1 -1
  364. data/lib/chef/version/platform.rb +42 -0
  365. data/lib/chef/version_class.rb +1 -1
  366. data/lib/chef/version_constraint.rb +6 -5
  367. data/lib/chef/{index_queue.rb → version_constraint/platform.rb} +11 -14
  368. data/lib/chef/win32/api/file.rb +8 -2
  369. data/lib/chef/win32/api/security.rb +45 -1
  370. data/lib/chef/win32/registry.rb +382 -0
  371. data/lib/chef/win32/security.rb +19 -0
  372. data/lib/chef/win32/version.rb +25 -8
  373. data/spec/data/apt/chef-integration-test-1.0/debian/changelog +5 -0
  374. data/spec/data/apt/chef-integration-test-1.0/debian/compat +1 -0
  375. data/spec/data/apt/chef-integration-test-1.0/debian/control +13 -0
  376. data/spec/data/apt/chef-integration-test-1.0/debian/copyright +34 -0
  377. data/spec/data/apt/chef-integration-test-1.0/debian/files +1 -0
  378. data/spec/data/apt/chef-integration-test-1.0/debian/rules +13 -0
  379. data/spec/data/apt/chef-integration-test-1.0/debian/source/format +1 -0
  380. data/spec/data/apt/chef-integration-test-1.1/debian/changelog +11 -0
  381. data/spec/data/apt/chef-integration-test-1.1/debian/compat +1 -0
  382. data/spec/data/apt/chef-integration-test-1.1/debian/control +13 -0
  383. data/spec/data/apt/chef-integration-test-1.1/debian/copyright +34 -0
  384. data/spec/data/apt/chef-integration-test-1.1/debian/files +1 -0
  385. data/spec/data/apt/chef-integration-test-1.1/debian/rules +13 -0
  386. data/spec/data/apt/chef-integration-test-1.1/debian/source/format +1 -0
  387. data/spec/data/apt/chef-integration-test_1.0-1_amd64.changes +22 -0
  388. data/spec/data/apt/chef-integration-test_1.0-1_amd64.deb +0 -0
  389. data/spec/data/apt/chef-integration-test_1.0.orig.tar.gz +0 -0
  390. data/spec/data/apt/chef-integration-test_1.1-1_amd64.changes +22 -0
  391. data/spec/data/apt/chef-integration-test_1.1-1_amd64.deb +0 -0
  392. data/spec/data/apt/chef-integration-test_1.1.orig.tar.gz +0 -0
  393. data/spec/data/apt/var/www/apt/conf/distributions +7 -0
  394. data/spec/data/apt/var/www/apt/conf/incoming +4 -0
  395. data/spec/data/apt/var/www/apt/conf/pulls +3 -0
  396. data/spec/data/apt/var/www/apt/db/checksums.db +0 -0
  397. data/spec/data/apt/var/www/apt/db/contents.cache.db +0 -0
  398. data/spec/data/apt/var/www/apt/db/packages.db +0 -0
  399. data/spec/data/apt/var/www/apt/db/references.db +0 -0
  400. data/spec/data/apt/var/www/apt/db/release.caches.db +0 -0
  401. data/spec/data/apt/var/www/apt/db/version +4 -0
  402. data/spec/data/apt/var/www/apt/dists/sid/Release +19 -0
  403. data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages +16 -0
  404. data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz +0 -0
  405. data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release +5 -0
  406. data/spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages +0 -0
  407. data/spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb +0 -0
  408. data/spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb +0 -0
  409. data/spec/data/bootstrap/encrypted_data_bag_secret +1 -0
  410. data/spec/data/bootstrap/secret.erb +9 -0
  411. data/spec/data/cookbooks/ignorken/recipes/default.rb +1 -0
  412. data/spec/data/cookbooks/ignorken/recipes/ignoreme.rb +2 -0
  413. data/spec/data/cookbooks/openldap/attributes/default.rb +10 -9
  414. data/spec/data/cookbooks/openldap/attributes/smokey.rb +1 -1
  415. data/spec/data/cookbooks/openldap/templates/default/all_windows_line_endings.erb +4 -0
  416. data/spec/data/cookbooks/openldap/templates/default/helper_test.erb +1 -0
  417. data/spec/data/cookbooks/openldap/templates/default/helpers_via_partial_test.erb +1 -0
  418. data/spec/data/cookbooks/openldap/templates/default/no_windows_line_endings.erb +4 -0
  419. data/spec/data/cookbooks/openldap/templates/default/some_windows_line_endings.erb +4 -0
  420. data/spec/data/cookbooks/preseed/files/default/preseed-file.seed +1 -0
  421. data/spec/data/cookbooks/preseed/templates/default/preseed-template.seed +1 -0
  422. data/spec/data/file-providers-method-snapshot-chef-11-4.json +127 -0
  423. data/spec/data/git_bundles/example-repo.gitbundle +0 -0
  424. data/spec/data/knife_subcommand/test_yourself.rb +8 -0
  425. data/spec/data/lwrp/providers/inline_compiler.rb +26 -0
  426. data/spec/data/nodes/default.rb +3 -3
  427. data/spec/data/nodes/test.example.com.rb +3 -3
  428. data/spec/data/nodes/test.rb +3 -3
  429. data/spec/data/null_config.rb +1 -0
  430. data/spec/data/partial_one.erb +1 -0
  431. data/spec/data/remote_file/nyan_cat.png.gz +0 -0
  432. data/spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb +4 -0
  433. data/spec/data/run_context/cookbooks/circular-dep1/definitions/circular_dep1_res.rb +1 -0
  434. data/spec/data/run_context/cookbooks/circular-dep1/libraries/lib.rb +2 -0
  435. data/spec/data/run_context/cookbooks/circular-dep1/metadata.rb +2 -0
  436. data/spec/data/run_context/cookbooks/circular-dep1/providers/provider.rb +1 -0
  437. data/spec/data/run_context/cookbooks/circular-dep1/recipes/default.rb +0 -0
  438. data/spec/data/run_context/cookbooks/circular-dep1/resources/resource.rb +1 -0
  439. data/spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb +3 -0
  440. data/spec/data/run_context/cookbooks/circular-dep2/definitions/circular_dep2_res.rb +1 -0
  441. data/spec/data/run_context/cookbooks/circular-dep2/libraries/lib.rb +2 -0
  442. data/spec/data/run_context/cookbooks/circular-dep2/metadata.rb +2 -0
  443. data/spec/data/run_context/cookbooks/circular-dep2/providers/provider.rb +1 -0
  444. data/spec/data/run_context/cookbooks/circular-dep2/recipes/default.rb +0 -0
  445. data/spec/data/run_context/cookbooks/circular-dep2/resources/resource.rb +1 -0
  446. data/spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb +2 -0
  447. data/spec/data/run_context/cookbooks/dependency1/attributes/default.rb +2 -0
  448. data/spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb +3 -0
  449. data/spec/data/run_context/cookbooks/dependency1/definitions/dependency1_res.rb +1 -0
  450. data/spec/data/run_context/cookbooks/dependency1/libraries/lib.rb +2 -0
  451. data/spec/data/run_context/cookbooks/dependency1/providers/provider.rb +1 -0
  452. data/spec/data/run_context/cookbooks/dependency1/recipes/default.rb +0 -0
  453. data/spec/data/run_context/cookbooks/dependency1/resources/resource.rb +1 -0
  454. data/spec/data/run_context/cookbooks/dependency2/attributes/default.rb +3 -0
  455. data/spec/data/run_context/cookbooks/dependency2/definitions/dependency2_res.rb +1 -0
  456. data/spec/data/run_context/cookbooks/dependency2/libraries/lib.rb +2 -0
  457. data/spec/data/run_context/cookbooks/dependency2/providers/provider.rb +1 -0
  458. data/spec/data/run_context/cookbooks/dependency2/recipes/default.rb +0 -0
  459. data/spec/data/run_context/cookbooks/dependency2/resources/resource.rb +1 -0
  460. data/spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb +3 -0
  461. data/spec/data/run_context/cookbooks/no-default-attr/definitions/no_default-attr_res.rb +1 -0
  462. data/spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb +1 -0
  463. data/spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb +0 -0
  464. data/spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb +1 -0
  465. data/spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb +3 -0
  466. data/spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb +1 -0
  467. data/spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb +2 -0
  468. data/spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb +2 -0
  469. data/spec/data/run_context/cookbooks/test-with-circular-deps/providers/provider.rb +1 -0
  470. data/spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb +0 -0
  471. data/spec/data/run_context/cookbooks/test-with-circular-deps/resources/resource.rb +1 -0
  472. data/spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb +3 -0
  473. data/spec/data/run_context/cookbooks/test-with-deps/definitions/test_with-deps_res.rb +1 -0
  474. data/spec/data/run_context/cookbooks/test-with-deps/libraries/lib.rb +1 -0
  475. data/spec/data/run_context/cookbooks/test-with-deps/metadata.rb +3 -0
  476. data/spec/data/run_context/cookbooks/test-with-deps/providers/provider.rb +1 -0
  477. data/spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb +0 -0
  478. data/spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb +0 -0
  479. data/spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb +1 -0
  480. data/spec/data/run_context/cookbooks/test/attributes/default.rb +0 -0
  481. data/spec/data/run_context/cookbooks/test/attributes/george.rb +1 -1
  482. data/spec/data/run_context/cookbooks/test/definitions/test_res.rb +1 -0
  483. data/spec/data/run_context/cookbooks/test/providers/provider.rb +1 -0
  484. data/spec/data/run_context/cookbooks/test/resources/resource.rb +1 -0
  485. data/spec/data/shef-config.rb +10 -0
  486. data/spec/functional/dsl/registry_helper_spec.rb +63 -0
  487. data/spec/functional/file_content_management/deploy_strategies_spec.rb +238 -0
  488. data/spec/functional/knife/cookbook_delete_spec.rb +1 -1
  489. data/spec/functional/knife/exec_spec.rb +3 -3
  490. data/spec/functional/knife/smoke_test.rb +34 -0
  491. data/spec/functional/knife/ssh_spec.rb +5 -1
  492. data/spec/functional/provider/remote_file/cache_control_data_spec.rb +101 -0
  493. data/spec/functional/resource/batch_spec.rb +64 -0
  494. data/spec/functional/resource/cookbook_file_spec.rb +15 -9
  495. data/spec/functional/resource/deploy_revision_spec.rb +180 -0
  496. data/spec/functional/resource/directory_spec.rb +5 -1
  497. data/spec/functional/resource/file_spec.rb +71 -21
  498. data/spec/functional/resource/git_spec.rb +259 -0
  499. data/spec/functional/resource/link_spec.rb +424 -388
  500. data/spec/functional/resource/package_spec.rb +297 -0
  501. data/spec/functional/resource/powershell_spec.rb +188 -0
  502. data/spec/functional/resource/registry_spec.rb +576 -0
  503. data/spec/functional/resource/remote_directory_spec.rb +143 -37
  504. data/spec/functional/resource/remote_file_spec.rb +99 -13
  505. data/spec/functional/resource/template_spec.rb +180 -3
  506. data/spec/functional/resource/user_spec.rb +547 -0
  507. data/spec/functional/run_lock_spec.rb +243 -0
  508. data/spec/functional/shell_spec.rb +102 -0
  509. data/spec/functional/win32/registry_helper_spec.rb +632 -0
  510. data/spec/functional/win32/security_spec.rb +37 -0
  511. data/spec/functional/win32/service_manager_spec.rb +269 -0
  512. data/spec/functional/win32/versions_spec.rb +78 -0
  513. data/spec/integration/knife/chef_repo_path_spec.rb +805 -0
  514. data/spec/integration/knife/chef_repository_file_system_spec.rb +276 -0
  515. data/spec/integration/knife/chefignore_spec.rb +271 -0
  516. data/spec/integration/knife/delete_spec.rb +944 -0
  517. data/spec/integration/knife/deps_spec.rb +648 -0
  518. data/spec/integration/knife/diff_spec.rb +536 -0
  519. data/spec/integration/knife/download_spec.rb +962 -0
  520. data/spec/integration/knife/list_spec.rb +633 -0
  521. data/spec/integration/knife/raw_spec.rb +166 -0
  522. data/spec/integration/knife/redirection_spec.rb +57 -0
  523. data/spec/integration/knife/show_spec.rb +158 -0
  524. data/spec/integration/knife/upload_spec.rb +1060 -0
  525. data/spec/integration/solo/solo_spec.rb +41 -0
  526. data/spec/spec_helper.rb +49 -13
  527. data/spec/stress/win32/security_spec.rb +1 -1
  528. data/spec/support/chef_helpers.rb +33 -3
  529. data/spec/support/lib/chef/resource/cat.rb +3 -5
  530. data/spec/support/lib/chef/resource/one_two_three_four.rb +8 -10
  531. data/spec/support/lib/chef/resource/zen_master.rb +8 -10
  532. data/spec/support/platform_helpers.rb +46 -13
  533. data/spec/support/platforms/win32/spec_service.rb +59 -0
  534. data/spec/support/shared/functional/diff_disabled.rb +10 -0
  535. data/spec/support/shared/functional/directory_resource.rb +129 -38
  536. data/spec/support/shared/functional/file_resource.rb +837 -71
  537. data/spec/support/shared/functional/securable_resource.rb +189 -58
  538. data/spec/support/shared/functional/securable_resource_with_reporting.rb +385 -0
  539. data/spec/support/shared/integration/integration_helper.rb +166 -0
  540. data/spec/support/shared/integration/knife_support.rb +171 -0
  541. data/spec/support/shared/unit/execute_resource.rb +125 -0
  542. data/spec/support/shared/unit/file_system_support.rb +70 -0
  543. data/spec/support/shared/unit/platform_introspector.rb +162 -0
  544. data/spec/support/shared/unit/provider/file.rb +609 -0
  545. data/spec/support/shared/unit/provider/useradd_based_user_provider.rb +407 -0
  546. data/spec/support/shared/unit/script_resource.rb +52 -0
  547. data/spec/support/shared/unit/windows_script_resource.rb +48 -0
  548. data/spec/tiny_server.rb +13 -11
  549. data/spec/unit/api_client/registration_spec.rb +172 -0
  550. data/spec/unit/api_client_spec.rb +78 -156
  551. data/spec/unit/application/apply.rb +84 -0
  552. data/spec/unit/application/client_spec.rb +16 -14
  553. data/spec/unit/application/knife_spec.rb +17 -0
  554. data/spec/unit/application/solo_spec.rb +1 -1
  555. data/spec/unit/application_spec.rb +113 -3
  556. data/spec/unit/checksum/storage/filesystem_spec.rb +1 -1
  557. data/spec/unit/chef_fs/diff_spec.rb +328 -0
  558. data/spec/unit/chef_fs/file_pattern_spec.rb +526 -0
  559. data/spec/unit/chef_fs/file_system_spec.rb +135 -0
  560. data/spec/unit/client_spec.rb +195 -23
  561. data/spec/unit/config_spec.rb +102 -51
  562. data/spec/unit/cookbook/syntax_check_spec.rb +75 -111
  563. data/spec/unit/cookbook_loader_spec.rb +154 -91
  564. data/spec/unit/cookbook_manifest_spec.rb +81 -81
  565. data/spec/unit/cookbook_spec.rb +3 -20
  566. data/spec/unit/cookbook_version_spec.rb +23 -122
  567. data/spec/unit/daemon_spec.rb +24 -19
  568. data/spec/unit/data_bag_spec.rb +13 -4
  569. data/spec/unit/deprecation_spec.rb +86 -0
  570. data/spec/unit/digester_spec.rb +50 -0
  571. data/spec/unit/dsl/data_query_spec.rb +66 -0
  572. data/spec/unit/dsl/platform_introspection_spec.rb +130 -0
  573. data/spec/unit/dsl/regsitry_helper_spec.rb +55 -0
  574. data/spec/unit/encrypted_data_bag_item_spec.rb +197 -157
  575. data/spec/unit/environment_spec.rb +94 -126
  576. data/spec/unit/exceptions_spec.rb +8 -4
  577. data/spec/unit/file_access_control_spec.rb +21 -1
  578. data/spec/unit/file_content_management/deploy/cp_spec.rb +46 -0
  579. data/spec/unit/file_content_management/deploy/mv_unix_spec.rb +103 -0
  580. data/spec/unit/file_content_management/deploy/mv_windows_spec.rb +179 -0
  581. data/spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb +38 -2
  582. data/spec/unit/formatters/error_inspectors/resource_failure_inspector_spec.rb +6 -5
  583. data/spec/unit/json_compat_spec.rb +8 -0
  584. data/spec/unit/knife/bootstrap_spec.rb +130 -29
  585. data/spec/unit/knife/configure_spec.rb +64 -45
  586. data/spec/unit/knife/cookbook_download_spec.rb +24 -3
  587. data/spec/unit/knife/cookbook_metadata_spec.rb +11 -4
  588. data/spec/unit/knife/cookbook_test_spec.rb +1 -0
  589. data/spec/unit/knife/cookbook_upload_spec.rb +39 -0
  590. data/spec/unit/knife/core/bootstrap_context_spec.rb +79 -62
  591. data/spec/unit/knife/core/subcommand_loader_spec.rb +20 -0
  592. data/spec/unit/knife/core/ui_spec.rb +196 -124
  593. data/spec/unit/knife/data_bag_create_spec.rb +9 -0
  594. data/spec/unit/knife/data_bag_edit_spec.rb +1 -4
  595. data/spec/unit/knife/data_bag_from_file_spec.rb +4 -6
  596. data/spec/unit/knife/data_bag_show_spec.rb +11 -4
  597. data/spec/unit/knife/index_rebuild_spec.rb +96 -33
  598. data/spec/unit/knife/knife_help.rb +7 -7
  599. data/spec/unit/knife/node_edit_spec.rb +6 -33
  600. data/spec/unit/knife/node_run_list_remove_spec.rb +2 -1
  601. data/spec/unit/knife/node_run_list_set_spec.rb +140 -0
  602. data/spec/unit/knife/ssh_spec.rb +12 -15
  603. data/spec/unit/knife/status_spec.rb +2 -2
  604. data/spec/unit/knife/user_create_spec.rb +86 -0
  605. data/spec/unit/knife/user_delete_spec.rb +39 -0
  606. data/spec/unit/knife/user_edit_spec.rb +42 -0
  607. data/spec/unit/knife/user_list_spec.rb +32 -0
  608. data/spec/unit/knife/user_reregister_spec.rb +53 -0
  609. data/spec/unit/knife/user_show_spec.rb +41 -0
  610. data/spec/unit/knife_spec.rb +74 -0
  611. data/spec/unit/lwrp_spec.rb +102 -60
  612. data/spec/unit/mixin/checksum_spec.rb +2 -2
  613. data/spec/unit/mixin/deep_merge_spec.rb +130 -791
  614. data/spec/unit/mixin/deprecation_spec.rb +23 -0
  615. data/spec/unit/mixin/enforce_ownership_and_permissions_spec.rb +7 -1
  616. data/spec/unit/mixin/params_validate_spec.rb +4 -2
  617. data/spec/unit/mixin/securable_spec.rb +5 -3
  618. data/spec/unit/mixin/template_spec.rb +145 -14
  619. data/spec/unit/mixin/windows_architecture_helper_spec.rb +83 -0
  620. data/spec/unit/node/attribute_spec.rb +273 -173
  621. data/spec/unit/node/immutable_collections_spec.rb +139 -0
  622. data/spec/unit/node_spec.rb +418 -370
  623. data/spec/unit/platform_spec.rb +21 -8
  624. data/spec/unit/provider/breakpoint_spec.rb +8 -8
  625. data/spec/unit/provider/cookbook_file/content_spec.rb +40 -0
  626. data/spec/unit/provider/cookbook_file_spec.rb +26 -187
  627. data/spec/unit/provider/cron/solaris_spec.rb +1 -1
  628. data/spec/unit/provider/deploy/revision_spec.rb +19 -11
  629. data/spec/unit/provider/deploy_spec.rb +2 -2
  630. data/spec/unit/provider/directory_spec.rb +99 -67
  631. data/spec/unit/provider/env_spec.rb +2 -2
  632. data/spec/unit/provider/execute_spec.rb +27 -1
  633. data/spec/unit/provider/file/content_spec.rb +101 -0
  634. data/spec/unit/provider/file_spec.rb +25 -475
  635. data/spec/unit/provider/git_spec.rb +224 -28
  636. data/spec/unit/provider/group/dscl_spec.rb +0 -36
  637. data/spec/unit/provider/group/gpasswd_spec.rb +9 -16
  638. data/spec/unit/provider/group/groupadd_spec.rb +4 -3
  639. data/spec/unit/provider/group/groupmod_spec.rb +1 -0
  640. data/spec/unit/provider/group/pw_spec.rb +15 -12
  641. data/spec/unit/provider/group/usermod_spec.rb +9 -22
  642. data/spec/unit/provider/group/windows_spec.rb +8 -0
  643. data/spec/unit/provider/group_spec.rb +6 -28
  644. data/spec/unit/provider/http_request_spec.rb +28 -69
  645. data/spec/unit/provider/ifconfig/debian_spec.rb +89 -0
  646. data/spec/unit/provider/ifconfig/redhat_spec.rb +71 -0
  647. data/spec/unit/provider/ifconfig_spec.rb +0 -33
  648. data/spec/unit/provider/mount/mount_spec.rb +33 -2
  649. data/spec/unit/provider/mount/windows_spec.rb +4 -1
  650. data/spec/unit/provider/mount_spec.rb +16 -6
  651. data/spec/unit/provider/ohai_spec.rb +4 -4
  652. data/spec/unit/provider/package/apt_spec.rb +0 -1
  653. data/spec/unit/provider/package/ips_spec.rb +0 -1
  654. data/spec/unit/provider/package/rpm_spec.rb +0 -12
  655. data/spec/unit/provider/package/rubygems_spec.rb +1 -1
  656. data/spec/unit/provider/package/smartos_spec.rb +3 -2
  657. data/spec/unit/provider/package/zypper_spec.rb +84 -22
  658. data/spec/unit/provider/package_spec.rb +7 -9
  659. data/spec/unit/provider/powershell_spec.rb +38 -0
  660. data/spec/unit/provider/registry_key_spec.rb +269 -0
  661. data/spec/unit/provider/remote_directory_spec.rb +7 -7
  662. data/spec/unit/provider/remote_file/cache_control_data_spec.rb +211 -0
  663. data/spec/unit/provider/remote_file/content_spec.rb +230 -0
  664. data/spec/unit/provider/remote_file/fetcher_spec.rb +75 -0
  665. data/spec/unit/provider/remote_file/ftp_spec.rb +224 -0
  666. data/spec/unit/provider/remote_file/http_spec.rb +319 -0
  667. data/spec/unit/provider/remote_file/local_file_spec.rb +60 -0
  668. data/spec/unit/provider/remote_file_spec.rb +33 -259
  669. data/spec/unit/provider/route_spec.rb +29 -12
  670. data/spec/unit/provider/ruby_block_spec.rb +8 -0
  671. data/spec/unit/provider/service/arch_service_spec.rb +5 -5
  672. data/spec/unit/provider/service/debian_service_spec.rb +1 -1
  673. data/spec/unit/provider/service/freebsd_service_spec.rb +5 -5
  674. data/spec/unit/provider/service/init_service_spec.rb +27 -4
  675. data/spec/unit/provider/service/insserv_service_spec.rb +1 -1
  676. data/spec/unit/provider/service/invokercd_service_spec.rb +4 -4
  677. data/spec/unit/provider/service/macosx_spec.rb +176 -207
  678. data/spec/unit/provider/service/redhat_spec.rb +1 -1
  679. data/spec/unit/provider/service/simple_service_spec.rb +3 -3
  680. data/spec/unit/provider/service/solaris_smf_service_spec.rb +21 -18
  681. data/spec/unit/provider/service/systemd_service_spec.rb +2 -2
  682. data/spec/unit/provider/service/upstart_service_spec.rb +11 -11
  683. data/spec/unit/provider/service_spec.rb +3 -3
  684. data/spec/unit/provider/subversion_spec.rb +1 -1
  685. data/spec/unit/provider/template/content_spec.rb +78 -0
  686. data/spec/unit/provider/template_spec.rb +52 -160
  687. data/spec/unit/provider/user/dscl_spec.rb +285 -681
  688. data/spec/unit/provider/user/solaris_spec.rb +39 -373
  689. data/spec/unit/provider/user/useradd_spec.rb +12 -379
  690. data/spec/unit/provider/user_spec.rb +1 -1
  691. data/spec/unit/recipe_spec.rb +10 -8
  692. data/spec/unit/registry_helper_spec.rb +376 -0
  693. data/spec/unit/resource/batch_spec.rb +48 -0
  694. data/spec/unit/resource/conditional_action_not_nothing_spec.rb +45 -0
  695. data/spec/unit/resource/execute_spec.rb +3 -101
  696. data/spec/unit/resource/file_spec.rb +0 -5
  697. data/spec/unit/resource/group_spec.rb +9 -0
  698. data/spec/unit/resource/ifconfig_spec.rb +60 -1
  699. data/spec/unit/resource/link_spec.rb +1 -0
  700. data/spec/unit/resource/mount_spec.rb +37 -11
  701. data/spec/unit/resource/powershell_spec.rb +48 -0
  702. data/spec/unit/resource/registry_key_spec.rb +171 -0
  703. data/spec/unit/resource/remote_file_spec.rb +63 -25
  704. data/spec/unit/resource/route_spec.rb +1 -1
  705. data/spec/unit/resource/ruby_block_spec.rb +7 -3
  706. data/spec/unit/resource/script_spec.rb +13 -36
  707. data/spec/unit/resource/service_spec.rb +11 -0
  708. data/spec/unit/resource/template_spec.rb +111 -8
  709. data/spec/unit/resource/user_spec.rb +7 -0
  710. data/spec/unit/resource_collection_spec.rb +61 -32
  711. data/spec/unit/resource_reporter_spec.rb +115 -102
  712. data/spec/unit/resource_spec.rb +197 -5
  713. data/spec/unit/rest/auth_credentials_spec.rb +4 -21
  714. data/spec/unit/rest_spec.rb +134 -284
  715. data/spec/unit/run_context/cookbook_compiler_spec.rb +190 -0
  716. data/spec/unit/run_context_spec.rb +18 -4
  717. data/spec/unit/run_list_spec.rb +0 -209
  718. data/spec/unit/run_lock_spec.rb +37 -0
  719. data/spec/unit/runner_spec.rb +102 -3
  720. data/spec/unit/scan_access_control_spec.rb +8 -6
  721. data/spec/unit/{shef → shell}/model_wrapper_spec.rb +5 -5
  722. data/spec/unit/{shef/shef_ext_spec.rb → shell/shell_ext_spec.rb} +21 -21
  723. data/spec/unit/{shef/shef_session_spec.rb → shell/shell_session_spec.rb} +16 -58
  724. data/spec/unit/shell_out_spec.rb +18 -0
  725. data/spec/unit/{shef_spec.rb → shell_spec.rb} +20 -20
  726. data/spec/unit/user_spec.rb +255 -0
  727. data/spec/unit/util/backup_spec.rb +149 -0
  728. data/spec/unit/util/diff_spec.rb +596 -0
  729. data/spec/unit/util/selinux_spec.rb +172 -0
  730. data/spec/unit/version/platform_spec.rb +61 -0
  731. data/spec/unit/version_constraint/platform_spec.rb +46 -0
  732. data/spec/unit/version_constraint_spec.rb +5 -0
  733. metadata +493 -264
  734. data/README.rdoc +0 -177
  735. data/distro/common/html/knife-recipe.1.html +0 -92
  736. data/lib/chef/certificate.rb +0 -161
  737. data/lib/chef/checksum.rb +0 -167
  738. data/lib/chef/checksum_cache.rb +0 -190
  739. data/lib/chef/cookbook_version_selector.rb +0 -168
  740. data/lib/chef/couchdb.rb +0 -246
  741. data/lib/chef/index_queue/amqp_client.rb +0 -116
  742. data/lib/chef/index_queue/consumer.rb +0 -76
  743. data/lib/chef/index_queue/indexable.rb +0 -109
  744. data/lib/chef/knife/bootstrap/ubuntu12.10-gems.erb +0 -60
  745. data/lib/chef/monkey_patches/dir.rb +0 -36
  746. data/lib/chef/monkey_patches/moneta.rb +0 -50
  747. data/lib/chef/monkey_patches/uri.rb +0 -70
  748. data/lib/chef/openid_registration.rb +0 -187
  749. data/lib/chef/solr_query.rb +0 -187
  750. data/lib/chef/solr_query/lucene.treetop +0 -150
  751. data/lib/chef/solr_query/lucene_nodes.rb +0 -285
  752. data/lib/chef/solr_query/query_transform.rb +0 -65
  753. data/lib/chef/solr_query/solr_http_request.rb +0 -132
  754. data/lib/chef/webui_user.rb +0 -231
  755. data/spec/data/mac_users/10.7-8.plist.xml +0 -559
  756. data/spec/data/mac_users/10.7-8.shadow.xml +0 -11
  757. data/spec/data/mac_users/10.7.plist.xml +0 -559
  758. data/spec/data/mac_users/10.7.shadow.xml +0 -11
  759. data/spec/data/mac_users/10.8.plist.xml +0 -559
  760. data/spec/data/mac_users/10.8.shadow.xml +0 -21
  761. data/spec/data/mac_users/10.9.plist.xml +0 -560
  762. data/spec/data/mac_users/10.9.shadow.xml +0 -21
  763. data/spec/functional/resource/base.rb +0 -40
  764. data/spec/functional/resource/group_spec.rb +0 -343
  765. data/spec/functional/resource/user/dscl_spec.rb +0 -199
  766. data/spec/unit/certificate_spec.rb +0 -76
  767. data/spec/unit/checksum_cache_spec.rb +0 -209
  768. data/spec/unit/checksum_spec.rb +0 -94
  769. data/spec/unit/couchdb_spec.rb +0 -274
  770. data/spec/unit/index_queue_spec.rb +0 -391
  771. data/spec/unit/mixin/language_spec.rb +0 -305
  772. data/spec/unit/openid_registration_spec.rb +0 -153
  773. data/spec/unit/provider/whyrun_safe_ruby_block_spec.rb +0 -47
  774. data/spec/unit/solr_query/query_transform_spec.rb +0 -454
  775. data/spec/unit/solr_query/solr_http_request_spec.rb +0 -244
  776. data/spec/unit/solr_query_spec.rb +0 -203
  777. data/spec/unit/webui_user_spec.rb +0 -238
@@ -0,0 +1,172 @@
1
+ #
2
+ # Author:: Serdar Sutay (<serdar@opscode.com>)
3
+ # Copyright:: Copyright (c) 2013 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+
20
+ require 'spec_helper'
21
+
22
+ describe Chef::Util::Selinux do
23
+ class TestClass
24
+ include Chef::Util::Selinux
25
+
26
+ def self.reset_state
27
+ @@selinux_enabled = nil
28
+ @@restorecon_path = nil
29
+ @@selinuxenabled_path = nil
30
+ end
31
+ end
32
+
33
+ before do
34
+ TestClass.reset_state
35
+ @test_instance = TestClass.new
36
+ end
37
+
38
+ after(:each) do
39
+ TestClass.reset_state
40
+ end
41
+
42
+ it "each part of ENV['PATH'] should be checked" do
43
+ expected_paths = ENV['PATH'].split(File::PATH_SEPARATOR) + [ '/bin', '/usr/bin', '/sbin', '/usr/sbin' ]
44
+
45
+ expected_paths.each do |bin_path|
46
+ selinux_path = File.join(bin_path, "selinuxenabled")
47
+ File.should_receive(:executable?).with(selinux_path).and_return(false)
48
+ end
49
+
50
+ @test_instance.selinux_enabled?.should be_false
51
+ end
52
+
53
+ describe "when selinuxenabled binary exists" do
54
+ before do
55
+ @selinux_enabled_path = File.join("/sbin", "selinuxenabled")
56
+ File.stub!(:executable?) do |file_path|
57
+ file_path.end_with?("selinuxenabled").should be_true
58
+ file_path == @selinux_enabled_path
59
+ end
60
+ end
61
+
62
+ describe "when selinux is enabled" do
63
+ before do
64
+ cmd_result = mock("Cmd Result", :exitstatus => 0)
65
+ @test_instance.should_receive(:shell_out!).once.with(@selinux_enabled_path, {:returns=>[0, 1]}).and_return(cmd_result)
66
+ end
67
+
68
+ it "should report selinux is enabled" do
69
+ @test_instance.selinux_enabled?.should be_true
70
+ # should check the file system only once for multiple calls
71
+ @test_instance.selinux_enabled?.should be_true
72
+ end
73
+ end
74
+
75
+ describe "when selinux is disabled" do
76
+ before do
77
+ cmd_result = mock("Cmd Result", :exitstatus => 1)
78
+ @test_instance.should_receive(:shell_out!).once.with(@selinux_enabled_path, {:returns=>[0, 1]}).and_return(cmd_result)
79
+ end
80
+
81
+ it "should report selinux is disabled" do
82
+ @test_instance.selinux_enabled?.should be_false
83
+ # should check the file system only once for multiple calls
84
+ @test_instance.selinux_enabled?.should be_false
85
+ end
86
+ end
87
+
88
+ describe "when selinux gives an unexpected status" do
89
+ before do
90
+ cmd_result = mock("Cmd Result", :exitstatus => 101)
91
+ @test_instance.should_receive(:shell_out!).once.with(@selinux_enabled_path, {:returns=>[0, 1]}).and_return(cmd_result)
92
+ end
93
+
94
+ it "should throw an error" do
95
+ lambda {@test_instance.selinux_enabled?}.should raise_error(RuntimeError)
96
+ end
97
+ end
98
+ end
99
+
100
+ describe "when selinuxenabled binary doesn't exist" do
101
+ before do
102
+ File.stub!(:executable?) do |file_path|
103
+ file_path.end_with?("selinuxenabled").should be_true
104
+ false
105
+ end
106
+ end
107
+
108
+ it "should report selinux is disabled" do
109
+ @test_instance.selinux_enabled?.should be_false
110
+ # should check the file system only once for multiple calls
111
+ File.should_not_receive(:executable?)
112
+ @test_instance.selinux_enabled?.should be_false
113
+ end
114
+ end
115
+
116
+ describe "when restorecon binary exists on the system" do
117
+ let (:path) { "/path/to/awesome" }
118
+
119
+ before do
120
+ @restorecon_enabled_path = File.join("/sbin", "restorecon")
121
+ File.stub!(:executable?) do |file_path|
122
+ file_path.end_with?("restorecon").should be_true
123
+ file_path == @restorecon_enabled_path
124
+ end
125
+ end
126
+
127
+ it "should call restorecon non-recursive by default" do
128
+ restorecon_command = "#{@restorecon_enabled_path} -R #{path}"
129
+ @test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
130
+ @test_instance.restore_security_context(path)
131
+ File.should_not_receive(:executable?)
132
+ @test_instance.restore_security_context(path)
133
+ end
134
+
135
+ it "should call restorecon recursive when recursive is set" do
136
+ restorecon_command = "#{@restorecon_enabled_path} -R -r #{path}"
137
+ @test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
138
+ @test_instance.restore_security_context(path, true)
139
+ File.should_not_receive(:executable?)
140
+ @test_instance.restore_security_context(path, true)
141
+ end
142
+
143
+ it "should call restorecon non-recursive when recursive is not set" do
144
+ restorecon_command = "#{@restorecon_enabled_path} -R #{path}"
145
+ @test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
146
+ @test_instance.restore_security_context(path)
147
+ File.should_not_receive(:executable?)
148
+ @test_instance.restore_security_context(path)
149
+ end
150
+
151
+ describe "when restorecon doesn't exist on the system" do
152
+ before do
153
+ File.stub!(:executable?) do |file_path|
154
+ file_path.end_with?("restorecon").should be_true
155
+ false
156
+ end
157
+ end
158
+
159
+ it "should log a warning message" do
160
+ log = [ ]
161
+ Chef::Log.stub(:warn) do |message|
162
+ log << message
163
+ end
164
+
165
+ @test_instance.restore_security_context(path)
166
+ log.should_not be_empty
167
+ File.should_not_receive(:executable?)
168
+ @test_instance.restore_security_context(path)
169
+ end
170
+ end
171
+ end
172
+ end
@@ -0,0 +1,61 @@
1
+ # Author:: Xabier de Zuazo (<xabier@onddo.com>)
2
+ # Copyright:: Copyright (c) 2013 Onddo Labs, SL.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require 'spec_helper'
18
+ require 'chef/version/platform'
19
+
20
+ describe Chef::Version::Platform do
21
+
22
+ it "is a subclass of Chef::Version" do
23
+ v = Chef::Version::Platform.new('1.1')
24
+ v.should be_an_instance_of(Chef::Version::Platform)
25
+ v.should be_a_kind_of(Chef::Version)
26
+ end
27
+
28
+ it "should transform 1 to 1.0.0" do
29
+ Chef::Version::Platform.new("1").to_s.should == "1.0.0"
30
+ end
31
+
32
+ describe "when creating valid Versions" do
33
+ good_versions = %w(1 1.2 1.2.3 1000.80.50000 0.300.25 001.02.00003)
34
+ good_versions.each do |v|
35
+ it "should accept '#{v}'" do
36
+ Chef::Version::Platform.new v
37
+ end
38
+ end
39
+ end
40
+
41
+ describe "when given bogus input" do
42
+ bad_versions = ["1.2.3.4", "1.2.a4", "a", "1.2 3", "1.2 a",
43
+ "1 2 3", "1-2-3", "1_2_3", "1.2_3", "1.2-3"]
44
+ the_error = Chef::Exceptions::InvalidPlatformVersion
45
+ bad_versions.each do |v|
46
+ it "should raise #{the_error} when given '#{v}'" do
47
+ lambda { Chef::Version::Platform.new v }.should raise_error(the_error)
48
+ end
49
+ end
50
+ end
51
+
52
+ describe "<=>" do
53
+
54
+ it "should equate versions 1 and 1.0.0" do
55
+ Chef::Version::Platform.new("1").should == Chef::Version::Platform.new("1.0.0")
56
+ end
57
+
58
+ end
59
+
60
+ end
61
+
@@ -0,0 +1,46 @@
1
+ # Author:: Xabier de Zuazo (<xabier@onddo.com>)
2
+ # Copyright:: Copyright (c) 2013 Onddo Labs, SL.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require 'spec_helper'
18
+ require 'chef/version_constraint/platform'
19
+
20
+ describe Chef::VersionConstraint::Platform do
21
+
22
+ it "is a subclass of Chef::VersionConstraint" do
23
+ v = Chef::VersionConstraint::Platform.new
24
+ v.should be_an_instance_of(Chef::VersionConstraint::Platform)
25
+ v.should be_a_kind_of(Chef::VersionConstraint)
26
+ end
27
+
28
+ it "should work with Chef::Version::Platform classes" do
29
+ vc = Chef::VersionConstraint::Platform.new("1.0")
30
+ vc.version.should be_an_instance_of(Chef::Version::Platform)
31
+ end
32
+
33
+ describe "include?" do
34
+
35
+ it "pessimistic ~> x" do
36
+ vc = Chef::VersionConstraint::Platform.new "~> 1"
37
+ vc.should include "1.3.3"
38
+ vc.should include "1.4"
39
+
40
+ vc.should_not include "2.2"
41
+ vc.should_not include "0.3.0"
42
+ end
43
+
44
+ end
45
+ end
46
+
@@ -59,6 +59,11 @@ describe Chef::VersionConstraint do
59
59
  Chef::VersionConstraint.new(nil).to_s.should == ">= 0.0.0"
60
60
  end
61
61
 
62
+ it "should work with Chef::Version classes" do
63
+ vc = Chef::VersionConstraint.new("1.0")
64
+ vc.version.should be_an_instance_of(Chef::Version)
65
+ end
66
+
62
67
  describe "include?" do
63
68
  describe "handles various input data types" do
64
69
  before do
metadata CHANGED
@@ -1,20 +1,20 @@
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.6.2
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: 2014-11-10 00:00:00.000000000 Z
11
+ date: 2013-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-config
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.1.2
20
20
  - - ~>
@@ -24,7 +24,7 @@ dependencies:
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ! '>='
27
+ - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.1.2
30
30
  - - ~>
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - ~>
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.3'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.3'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mixlib-log
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -78,19 +78,19 @@ dependencies:
78
78
  requirements:
79
79
  - - ~>
80
80
  - !ruby/object:Gem::Version
81
- version: '1.3'
81
+ version: '1.1'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ~>
87
87
  - !ruby/object:Gem::Version
88
- version: '1.3'
88
+ version: '1.1'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: ohai
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ! '>='
93
+ - - '>='
94
94
  - !ruby/object:Gem::Version
95
95
  version: 0.6.0
96
96
  - - <
@@ -100,7 +100,7 @@ dependencies:
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ! '>='
103
+ - - '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: 0.6.0
106
106
  - - <
@@ -110,7 +110,7 @@ dependencies:
110
110
  name: rest-client
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - ! '>='
113
+ - - '>='
114
114
  - !ruby/object:Gem::Version
115
115
  version: 1.0.4
116
116
  - - <
@@ -120,80 +120,32 @@ dependencies:
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ! '>='
123
+ - - '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: 1.0.4
126
126
  - - <
127
127
  - !ruby/object:Gem::Version
128
128
  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
129
  - !ruby/object:Gem::Dependency
178
130
  name: json
179
131
  requirement: !ruby/object:Gem::Requirement
180
132
  requirements:
181
- - - ! '>='
133
+ - - '>='
182
134
  - !ruby/object:Gem::Version
183
135
  version: 1.4.4
184
136
  - - <=
185
137
  - !ruby/object:Gem::Version
186
- version: 1.8.1
138
+ version: 1.7.7
187
139
  type: :runtime
188
140
  prerelease: false
189
141
  version_requirements: !ruby/object:Gem::Requirement
190
142
  requirements:
191
- - - ! '>='
143
+ - - '>='
192
144
  - !ruby/object:Gem::Version
193
145
  version: 1.4.4
194
146
  - - <=
195
147
  - !ruby/object:Gem::Version
196
- version: 1.8.1
148
+ version: 1.7.7
197
149
  - !ruby/object:Gem::Dependency
198
150
  name: yajl-ruby
199
151
  requirement: !ruby/object:Gem::Requirement
@@ -208,20 +160,6 @@ dependencies:
208
160
  - - ~>
209
161
  - !ruby/object:Gem::Version
210
162
  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
163
  - !ruby/object:Gem::Dependency
226
164
  name: net-ssh
227
165
  requirement: !ruby/object:Gem::Requirement
@@ -254,7 +192,7 @@ dependencies:
254
192
  name: highline
255
193
  requirement: !ruby/object:Gem::Requirement
256
194
  requirements:
257
- - - ! '>='
195
+ - - '>='
258
196
  - !ruby/object:Gem::Version
259
197
  version: 1.6.9
260
198
  - - ~>
@@ -264,126 +202,126 @@ dependencies:
264
202
  prerelease: false
265
203
  version_requirements: !ruby/object:Gem::Requirement
266
204
  requirements:
267
- - - ! '>='
205
+ - - '>='
268
206
  - !ruby/object:Gem::Version
269
207
  version: 1.6.9
270
208
  - - ~>
271
209
  - !ruby/object:Gem::Version
272
210
  version: '1.6'
273
211
  - !ruby/object:Gem::Dependency
274
- name: moneta
212
+ name: erubis
275
213
  requirement: !ruby/object:Gem::Requirement
276
214
  requirements:
277
- - - <
215
+ - - ~>
278
216
  - !ruby/object:Gem::Version
279
- version: 0.7.0
217
+ version: '2.7'
280
218
  type: :runtime
281
219
  prerelease: false
282
220
  version_requirements: !ruby/object:Gem::Requirement
283
221
  requirements:
284
- - - <
222
+ - - ~>
285
223
  - !ruby/object:Gem::Version
286
- version: 0.7.0
224
+ version: '2.7'
287
225
  - !ruby/object:Gem::Dependency
288
- name: erubis
226
+ name: rdoc
289
227
  requirement: !ruby/object:Gem::Requirement
290
228
  requirements:
291
- - - ! '>='
229
+ - - '>='
292
230
  - !ruby/object:Gem::Version
293
231
  version: '0'
294
- type: :runtime
232
+ type: :development
295
233
  prerelease: false
296
234
  version_requirements: !ruby/object:Gem::Requirement
297
235
  requirements:
298
- - - ! '>='
236
+ - - '>='
299
237
  - !ruby/object:Gem::Version
300
238
  version: '0'
301
239
  - !ruby/object:Gem::Dependency
302
- name: uuidtools
240
+ name: sdoc
303
241
  requirement: !ruby/object:Gem::Requirement
304
242
  requirements:
305
- - - ! '>='
243
+ - - '>='
306
244
  - !ruby/object:Gem::Version
307
245
  version: '0'
308
- type: :runtime
246
+ type: :development
309
247
  prerelease: false
310
248
  version_requirements: !ruby/object:Gem::Requirement
311
249
  requirements:
312
- - - ! '>='
250
+ - - '>='
313
251
  - !ruby/object:Gem::Version
314
252
  version: '0'
315
253
  - !ruby/object:Gem::Dependency
316
- name: sdoc
254
+ name: rake
317
255
  requirement: !ruby/object:Gem::Requirement
318
256
  requirements:
319
- - - ~>
257
+ - - '>='
320
258
  - !ruby/object:Gem::Version
321
- version: 0.3.0
259
+ version: '0'
322
260
  type: :development
323
261
  prerelease: false
324
262
  version_requirements: !ruby/object:Gem::Requirement
325
263
  requirements:
326
- - - ~>
264
+ - - '>='
327
265
  - !ruby/object:Gem::Version
328
- version: 0.3.0
266
+ version: '0'
329
267
  - !ruby/object:Gem::Dependency
330
- name: rdoc
268
+ name: rack
331
269
  requirement: !ruby/object:Gem::Requirement
332
270
  requirements:
333
- - - ! '>='
271
+ - - '>='
334
272
  - !ruby/object:Gem::Version
335
273
  version: '0'
336
274
  type: :development
337
275
  prerelease: false
338
276
  version_requirements: !ruby/object:Gem::Requirement
339
277
  requirements:
340
- - - ! '>='
278
+ - - '>='
341
279
  - !ruby/object:Gem::Version
342
280
  version: '0'
343
281
  - !ruby/object:Gem::Dependency
344
- name: rake
282
+ name: rspec_junit_formatter
345
283
  requirement: !ruby/object:Gem::Requirement
346
284
  requirements:
347
- - - ! '>='
285
+ - - '>='
348
286
  - !ruby/object:Gem::Version
349
287
  version: '0'
350
288
  type: :development
351
289
  prerelease: false
352
290
  version_requirements: !ruby/object:Gem::Requirement
353
291
  requirements:
354
- - - ! '>='
292
+ - - '>='
355
293
  - !ruby/object:Gem::Version
356
294
  version: '0'
357
295
  - !ruby/object:Gem::Dependency
358
- name: rack
296
+ name: rspec-core
359
297
  requirement: !ruby/object:Gem::Requirement
360
298
  requirements:
361
- - - ! '>='
299
+ - - ~>
362
300
  - !ruby/object:Gem::Version
363
- version: '0'
301
+ version: 2.12.0
364
302
  type: :development
365
303
  prerelease: false
366
304
  version_requirements: !ruby/object:Gem::Requirement
367
305
  requirements:
368
- - - ! '>='
306
+ - - ~>
369
307
  - !ruby/object:Gem::Version
370
- version: '0'
308
+ version: 2.12.0
371
309
  - !ruby/object:Gem::Dependency
372
- name: rspec_junit_formatter
310
+ name: rspec-expectations
373
311
  requirement: !ruby/object:Gem::Requirement
374
312
  requirements:
375
- - - ! '>='
313
+ - - ~>
376
314
  - !ruby/object:Gem::Version
377
- version: '0'
315
+ version: 2.12.0
378
316
  type: :development
379
317
  prerelease: false
380
318
  version_requirements: !ruby/object:Gem::Requirement
381
319
  requirements:
382
- - - ! '>='
320
+ - - ~>
383
321
  - !ruby/object:Gem::Version
384
- version: '0'
322
+ version: 2.12.0
385
323
  - !ruby/object:Gem::Dependency
386
- name: rspec-core
324
+ name: rspec-mocks
387
325
  requirement: !ruby/object:Gem::Requirement
388
326
  requirements:
389
327
  - - ~>
@@ -397,91 +335,103 @@ dependencies:
397
335
  - !ruby/object:Gem::Version
398
336
  version: 2.12.0
399
337
  - !ruby/object:Gem::Dependency
400
- name: rspec-expectations
338
+ name: chef-zero
401
339
  requirement: !ruby/object:Gem::Requirement
402
340
  requirements:
403
341
  - - ~>
404
342
  - !ruby/object:Gem::Version
405
- version: 2.12.0
343
+ version: '1.4'
406
344
  type: :development
407
345
  prerelease: false
408
346
  version_requirements: !ruby/object:Gem::Requirement
409
347
  requirements:
410
348
  - - ~>
411
349
  - !ruby/object:Gem::Version
412
- version: 2.12.0
350
+ version: '1.4'
413
351
  - !ruby/object:Gem::Dependency
414
- name: rspec-mocks
352
+ name: puma
415
353
  requirement: !ruby/object:Gem::Requirement
416
354
  requirements:
417
355
  - - ~>
418
356
  - !ruby/object:Gem::Version
419
- version: 2.12.0
357
+ version: '1.6'
420
358
  type: :development
421
359
  prerelease: false
422
360
  version_requirements: !ruby/object:Gem::Requirement
423
361
  requirements:
424
362
  - - ~>
425
363
  - !ruby/object:Gem::Version
426
- version: 2.12.0
364
+ version: '1.6'
365
+ - !ruby/object:Gem::Dependency
366
+ name: systemu
367
+ requirement: !ruby/object:Gem::Requirement
368
+ requirements:
369
+ - - '='
370
+ - !ruby/object:Gem::Version
371
+ version: 2.2.0
372
+ type: :runtime
373
+ prerelease: false
374
+ version_requirements: !ruby/object:Gem::Requirement
375
+ requirements:
376
+ - - '='
377
+ - !ruby/object:Gem::Version
378
+ version: 2.2.0
427
379
  - !ruby/object:Gem::Dependency
428
380
  name: ffi
429
381
  requirement: !ruby/object:Gem::Requirement
430
382
  requirements:
431
383
  - - '='
432
384
  - !ruby/object:Gem::Version
433
- version: 1.3.1
385
+ version: 1.0.9
434
386
  type: :runtime
435
387
  prerelease: false
436
388
  version_requirements: !ruby/object:Gem::Requirement
437
389
  requirements:
438
390
  - - '='
439
391
  - !ruby/object:Gem::Version
440
- version: 1.3.1
392
+ version: 1.0.9
441
393
  - !ruby/object:Gem::Dependency
442
394
  name: rdp-ruby-wmi
443
395
  requirement: !ruby/object:Gem::Requirement
444
396
  requirements:
445
397
  - - '='
446
398
  - !ruby/object:Gem::Version
447
- version: !binary |-
448
- MC4zLjE=
399
+ version: 0.3.1
449
400
  type: :runtime
450
401
  prerelease: false
451
402
  version_requirements: !ruby/object:Gem::Requirement
452
403
  requirements:
453
404
  - - '='
454
405
  - !ruby/object:Gem::Version
455
- version: !binary |-
456
- MC4zLjE=
406
+ version: 0.3.1
457
407
  - !ruby/object:Gem::Dependency
458
408
  name: windows-api
459
409
  requirement: !ruby/object:Gem::Requirement
460
410
  requirements:
461
411
  - - '='
462
412
  - !ruby/object:Gem::Version
463
- version: 0.4.2
413
+ version: 0.4.0
464
414
  type: :runtime
465
415
  prerelease: false
466
416
  version_requirements: !ruby/object:Gem::Requirement
467
417
  requirements:
468
418
  - - '='
469
419
  - !ruby/object:Gem::Version
470
- version: 0.4.2
420
+ version: 0.4.0
471
421
  - !ruby/object:Gem::Dependency
472
422
  name: windows-pr
473
423
  requirement: !ruby/object:Gem::Requirement
474
424
  requirements:
475
425
  - - '='
476
426
  - !ruby/object:Gem::Version
477
- version: 1.2.2
427
+ version: 1.2.1
478
428
  type: :runtime
479
429
  prerelease: false
480
430
  version_requirements: !ruby/object:Gem::Requirement
481
431
  requirements:
482
432
  - - '='
483
433
  - !ruby/object:Gem::Version
484
- version: 1.2.2
434
+ version: 1.2.1
485
435
  - !ruby/object:Gem::Dependency
486
436
  name: win32-api
487
437
  requirement: !ruby/object:Gem::Requirement
@@ -502,88 +452,70 @@ dependencies:
502
452
  requirements:
503
453
  - - '='
504
454
  - !ruby/object:Gem::Version
505
- version: 0.4.5
455
+ version: 0.3.7
506
456
  type: :runtime
507
457
  prerelease: false
508
458
  version_requirements: !ruby/object:Gem::Requirement
509
459
  requirements:
510
460
  - - '='
511
461
  - !ruby/object:Gem::Version
512
- version: 0.4.5
462
+ version: 0.3.7
513
463
  - !ruby/object:Gem::Dependency
514
464
  name: win32-event
515
465
  requirement: !ruby/object:Gem::Requirement
516
466
  requirements:
517
467
  - - '='
518
468
  - !ruby/object:Gem::Version
519
- version: 0.6.1
469
+ version: 0.5.2
520
470
  type: :runtime
521
471
  prerelease: false
522
472
  version_requirements: !ruby/object:Gem::Requirement
523
473
  requirements:
524
474
  - - '='
525
475
  - !ruby/object:Gem::Version
526
- version: 0.6.1
476
+ version: 0.5.2
527
477
  - !ruby/object:Gem::Dependency
528
478
  name: win32-mutex
529
479
  requirement: !ruby/object:Gem::Requirement
530
480
  requirements:
531
481
  - - '='
532
482
  - !ruby/object:Gem::Version
533
- version: 0.4.1
483
+ version: 0.3.1
534
484
  type: :runtime
535
485
  prerelease: false
536
486
  version_requirements: !ruby/object:Gem::Requirement
537
487
  requirements:
538
488
  - - '='
539
489
  - !ruby/object:Gem::Version
540
- version: 0.4.1
490
+ version: 0.3.1
541
491
  - !ruby/object:Gem::Dependency
542
492
  name: win32-process
543
493
  requirement: !ruby/object:Gem::Requirement
544
494
  requirements:
545
495
  - - '='
546
496
  - !ruby/object:Gem::Version
547
- version: !binary |-
548
- MC43LjM=
497
+ version: 0.6.5
549
498
  type: :runtime
550
499
  prerelease: false
551
500
  version_requirements: !ruby/object:Gem::Requirement
552
501
  requirements:
553
502
  - - '='
554
503
  - !ruby/object:Gem::Version
555
- version: !binary |-
556
- MC43LjM=
504
+ version: 0.6.5
557
505
  - !ruby/object:Gem::Dependency
558
506
  name: win32-service
559
507
  requirement: !ruby/object:Gem::Requirement
560
508
  requirements:
561
509
  - - '='
562
510
  - !ruby/object:Gem::Version
563
- version: !binary |-
564
- MC44LjI=
511
+ version: 0.7.2
565
512
  type: :runtime
566
513
  prerelease: false
567
514
  version_requirements: !ruby/object:Gem::Requirement
568
515
  requirements:
569
516
  - - '='
570
517
  - !ruby/object:Gem::Version
571
- version: !binary |-
572
- MC44LjI=
573
- - !ruby/object:Gem::Dependency
574
- name: win32-mmap
575
- requirement: !ruby/object:Gem::Requirement
576
- requirements:
577
- - - '='
578
- - !ruby/object:Gem::Version
579
- version: 0.4.0
580
- type: :runtime
581
- prerelease: false
582
- version_requirements: !ruby/object:Gem::Requirement
583
- requirements:
584
- - - '='
585
- - !ruby/object:Gem::Version
586
- version: 0.4.0
518
+ version: 0.7.2
587
519
  description: A systems integration framework, built to bring the benefits of configuration
588
520
  management to your entire infrastructure.
589
521
  email: adam@opscode.com
@@ -591,20 +523,20 @@ executables:
591
523
  - chef-client
592
524
  - chef-solo
593
525
  - knife
526
+ - chef-shell
594
527
  - shef
528
+ - chef-apply
529
+ - chef-service-manager
595
530
  extensions: []
596
531
  extra_rdoc_files:
597
- - README.rdoc
532
+ - README.md
533
+ - CONTRIBUTING.md
598
534
  - LICENSE
599
535
  files:
600
- - LICENSE
601
- - README.rdoc
602
536
  - Rakefile
603
- - bin/chef-client
604
- - bin/chef-solo
605
- - bin/knife
606
- - bin/shef
607
- - distro/README
537
+ - LICENSE
538
+ - README.md
539
+ - CONTRIBUTING.md
608
540
  - distro/arch/etc/conf.d/chef-client.conf
609
541
  - distro/arch/etc/conf.d/chef-expander.conf
610
542
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -620,6 +552,7 @@ files:
620
552
  - distro/common/html/chef-expanderctl.8.html
621
553
  - distro/common/html/chef-server-webui.8.html
622
554
  - distro/common/html/chef-server.8.html
555
+ - distro/common/html/chef-shell.1.html
623
556
  - distro/common/html/chef-solo.8.html
624
557
  - distro/common/html/chef-solr.8.html
625
558
  - distro/common/html/knife-bootstrap.1.html
@@ -632,14 +565,13 @@ files:
632
565
  - distro/common/html/knife-exec.1.html
633
566
  - distro/common/html/knife-index.1.html
634
567
  - distro/common/html/knife-node.1.html
635
- - distro/common/html/knife-recipe.1.html
636
568
  - distro/common/html/knife-role.1.html
637
569
  - distro/common/html/knife-search.1.html
638
570
  - distro/common/html/knife-ssh.1.html
639
571
  - distro/common/html/knife-status.1.html
640
572
  - distro/common/html/knife-tag.1.html
641
573
  - distro/common/html/knife.1.html
642
- - distro/common/html/shef.1.html
574
+ - distro/common/man/man1/chef-shell.1
643
575
  - distro/common/man/man1/knife-bootstrap.1
644
576
  - distro/common/man/man1/knife-client.1
645
577
  - distro/common/man/man1/knife-configure.1
@@ -656,7 +588,6 @@ files:
656
588
  - distro/common/man/man1/knife-status.1
657
589
  - distro/common/man/man1/knife-tag.1
658
590
  - distro/common/man/man1/knife.1
659
- - distro/common/man/man1/shef.1
660
591
  - distro/common/man/man8/chef-client.8
661
592
  - distro/common/man/man8/chef-expander.8
662
593
  - distro/common/man/man8/chef-expanderctl.8
@@ -664,7 +595,7 @@ files:
664
595
  - distro/common/man/man8/chef-server.8
665
596
  - distro/common/man/man8/chef-solo.8
666
597
  - distro/common/man/man8/chef-solr.8
667
- - distro/common/markdown/README
598
+ - distro/common/markdown/man1/chef-shell.mkd
668
599
  - distro/common/markdown/man1/knife-bootstrap.mkd
669
600
  - distro/common/markdown/man1/knife-client.mkd
670
601
  - distro/common/markdown/man1/knife-configure.mkd
@@ -681,7 +612,6 @@ files:
681
612
  - distro/common/markdown/man1/knife-status.mkd
682
613
  - distro/common/markdown/man1/knife-tag.mkd
683
614
  - distro/common/markdown/man1/knife.mkd
684
- - distro/common/markdown/man1/shef.mkd
685
615
  - distro/common/markdown/man8/chef-client.mkd
686
616
  - distro/common/markdown/man8/chef-expander.mkd
687
617
  - distro/common/markdown/man8/chef-expanderctl.mkd
@@ -689,21 +619,23 @@ files:
689
619
  - distro/common/markdown/man8/chef-server.mkd
690
620
  - distro/common/markdown/man8/chef-solo.mkd
691
621
  - distro/common/markdown/man8/chef-solr.mkd
622
+ - distro/common/markdown/README
692
623
  - distro/debian/etc/default/chef-client
693
624
  - distro/debian/etc/default/chef-expander
694
625
  - distro/debian/etc/default/chef-server
695
626
  - distro/debian/etc/default/chef-server-webui
696
627
  - distro/debian/etc/default/chef-solr
697
- - distro/debian/etc/init.d/chef-client
698
- - distro/debian/etc/init.d/chef-expander
699
- - distro/debian/etc/init.d/chef-server
700
- - distro/debian/etc/init.d/chef-server-webui
701
- - distro/debian/etc/init.d/chef-solr
702
628
  - distro/debian/etc/init/chef-client.conf
703
629
  - distro/debian/etc/init/chef-expander.conf
704
630
  - distro/debian/etc/init/chef-server-webui.conf
705
631
  - distro/debian/etc/init/chef-server.conf
706
632
  - distro/debian/etc/init/chef-solr.conf
633
+ - distro/debian/etc/init.d/chef-client
634
+ - distro/debian/etc/init.d/chef-expander
635
+ - distro/debian/etc/init.d/chef-server
636
+ - distro/debian/etc/init.d/chef-server-webui
637
+ - distro/debian/etc/init.d/chef-solr
638
+ - distro/README
707
639
  - distro/redhat/etc/init.d/chef-client
708
640
  - distro/redhat/etc/init.d/chef-expander
709
641
  - distro/redhat/etc/init.d/chef-server
@@ -720,20 +652,78 @@ files:
720
652
  - distro/redhat/etc/sysconfig/chef-server-webui
721
653
  - distro/redhat/etc/sysconfig/chef-solr
722
654
  - distro/windows/service_manager.rb
723
- - lib/chef.rb
655
+ - lib/chef/api_client/registration.rb
724
656
  - lib/chef/api_client.rb
725
- - lib/chef/application.rb
726
657
  - lib/chef/application/agent.rb
658
+ - lib/chef/application/apply.rb
727
659
  - lib/chef/application/client.rb
728
660
  - lib/chef/application/knife.rb
729
661
  - lib/chef/application/solo.rb
730
662
  - lib/chef/application/windows_service.rb
663
+ - lib/chef/application/windows_service_manager.rb
664
+ - lib/chef/application.rb
731
665
  - lib/chef/applications.rb
732
- - lib/chef/certificate.rb
733
- - lib/chef/checksum.rb
734
- - lib/chef/checksum/storage.rb
735
666
  - lib/chef/checksum/storage/filesystem.rb
736
- - lib/chef/checksum_cache.rb
667
+ - lib/chef/checksum/storage.rb
668
+ - lib/chef/chef_fs/chef_fs_data_store.rb
669
+ - lib/chef/chef_fs/command_line.rb
670
+ - lib/chef/chef_fs/config.rb
671
+ - lib/chef/chef_fs/data_handler/acl_data_handler.rb
672
+ - lib/chef/chef_fs/data_handler/client_data_handler.rb
673
+ - lib/chef/chef_fs/data_handler/container_data_handler.rb
674
+ - lib/chef/chef_fs/data_handler/cookbook_data_handler.rb
675
+ - lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb
676
+ - lib/chef/chef_fs/data_handler/data_handler_base.rb
677
+ - lib/chef/chef_fs/data_handler/environment_data_handler.rb
678
+ - lib/chef/chef_fs/data_handler/group_data_handler.rb
679
+ - lib/chef/chef_fs/data_handler/node_data_handler.rb
680
+ - lib/chef/chef_fs/data_handler/role_data_handler.rb
681
+ - lib/chef/chef_fs/data_handler/user_data_handler.rb
682
+ - lib/chef/chef_fs/file_pattern.rb
683
+ - lib/chef/chef_fs/file_system/acl_dir.rb
684
+ - lib/chef/chef_fs/file_system/acl_entry.rb
685
+ - lib/chef/chef_fs/file_system/acls_dir.rb
686
+ - lib/chef/chef_fs/file_system/already_exists_error.rb
687
+ - lib/chef/chef_fs/file_system/base_fs_dir.rb
688
+ - lib/chef/chef_fs/file_system/base_fs_object.rb
689
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_cookbook_dir.rb
690
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_cookbook_entry.rb
691
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_cookbooks_dir.rb
692
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_data_bags_dir.rb
693
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_entry.rb
694
+ - lib/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb
695
+ - lib/chef/chef_fs/file_system/chef_server_root_dir.rb
696
+ - lib/chef/chef_fs/file_system/cookbook_dir.rb
697
+ - lib/chef/chef_fs/file_system/cookbook_file.rb
698
+ - lib/chef/chef_fs/file_system/cookbook_frozen_error.rb
699
+ - lib/chef/chef_fs/file_system/cookbook_subdir.rb
700
+ - lib/chef/chef_fs/file_system/cookbooks_acl_dir.rb
701
+ - lib/chef/chef_fs/file_system/cookbooks_dir.rb
702
+ - lib/chef/chef_fs/file_system/data_bag_dir.rb
703
+ - lib/chef/chef_fs/file_system/data_bags_dir.rb
704
+ - lib/chef/chef_fs/file_system/default_environment_cannot_be_modified_error.rb
705
+ - lib/chef/chef_fs/file_system/environments_dir.rb
706
+ - lib/chef/chef_fs/file_system/file_system_entry.rb
707
+ - lib/chef/chef_fs/file_system/file_system_error.rb
708
+ - lib/chef/chef_fs/file_system/file_system_root_dir.rb
709
+ - lib/chef/chef_fs/file_system/memory_dir.rb
710
+ - lib/chef/chef_fs/file_system/memory_file.rb
711
+ - lib/chef/chef_fs/file_system/memory_root.rb
712
+ - lib/chef/chef_fs/file_system/multiplexed_dir.rb
713
+ - lib/chef/chef_fs/file_system/must_delete_recursively_error.rb
714
+ - lib/chef/chef_fs/file_system/nodes_dir.rb
715
+ - lib/chef/chef_fs/file_system/nonexistent_fs_object.rb
716
+ - lib/chef/chef_fs/file_system/not_found_error.rb
717
+ - lib/chef/chef_fs/file_system/operation_failed_error.rb
718
+ - lib/chef/chef_fs/file_system/operation_not_allowed_error.rb
719
+ - lib/chef/chef_fs/file_system/rest_list_dir.rb
720
+ - lib/chef/chef_fs/file_system/rest_list_entry.rb
721
+ - lib/chef/chef_fs/file_system.rb
722
+ - lib/chef/chef_fs/knife.rb
723
+ - lib/chef/chef_fs/parallelizer.rb
724
+ - lib/chef/chef_fs/path_utils.rb
725
+ - lib/chef/chef_fs/raw_request.rb
726
+ - lib/chef/chef_fs.rb
737
727
  - lib/chef/client.rb
738
728
  - lib/chef/config.rb
739
729
  - lib/chef/cookbook/chefignore.rb
@@ -749,24 +739,41 @@ files:
749
739
  - lib/chef/cookbook_site_streaming_uploader.rb
750
740
  - lib/chef/cookbook_uploader.rb
751
741
  - lib/chef/cookbook_version.rb
752
- - lib/chef/cookbook_version_selector.rb
753
- - lib/chef/couchdb.rb
754
742
  - lib/chef/daemon.rb
755
743
  - lib/chef/data_bag.rb
756
744
  - lib/chef/data_bag_item.rb
745
+ - lib/chef/deprecation/mixin/template.rb
746
+ - lib/chef/deprecation/provider/cookbook_file.rb
747
+ - lib/chef/deprecation/provider/file.rb
748
+ - lib/chef/deprecation/provider/remote_file.rb
749
+ - lib/chef/deprecation/provider/template.rb
750
+ - lib/chef/deprecation/warnings.rb
751
+ - lib/chef/digester.rb
752
+ - lib/chef/dsl/data_query.rb
753
+ - lib/chef/dsl/include_attribute.rb
754
+ - lib/chef/dsl/include_recipe.rb
755
+ - lib/chef/dsl/platform_introspection.rb
756
+ - lib/chef/dsl/recipe.rb
757
+ - lib/chef/dsl/registry_helper.rb
758
+ - lib/chef/dsl.rb
757
759
  - lib/chef/encrypted_data_bag_item.rb
758
760
  - lib/chef/environment.rb
759
761
  - lib/chef/event_dispatch/base.rb
760
762
  - lib/chef/event_dispatch/dispatcher.rb
761
763
  - lib/chef/exceptions.rb
762
- - lib/chef/file_access_control.rb
763
764
  - lib/chef/file_access_control/unix.rb
764
765
  - lib/chef/file_access_control/windows.rb
766
+ - lib/chef/file_access_control.rb
765
767
  - lib/chef/file_cache.rb
768
+ - lib/chef/file_content_management/content_base.rb
769
+ - lib/chef/file_content_management/deploy/cp.rb
770
+ - lib/chef/file_content_management/deploy/mv_unix.rb
771
+ - lib/chef/file_content_management/deploy/mv_windows.rb
772
+ - lib/chef/file_content_management/deploy.rb
773
+ - lib/chef/file_content_management/tempfile.rb
766
774
  - lib/chef/formatters/base.rb
767
775
  - lib/chef/formatters/doc.rb
768
776
  - lib/chef/formatters/error_descriptor.rb
769
- - lib/chef/formatters/error_inspectors.rb
770
777
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
771
778
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
772
779
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -775,18 +782,13 @@ files:
775
782
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
776
783
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
777
784
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
785
+ - lib/chef/formatters/error_inspectors.rb
778
786
  - lib/chef/formatters/error_mapper.rb
779
787
  - lib/chef/formatters/minimal.rb
780
- - lib/chef/handler.rb
781
788
  - lib/chef/handler/error_report.rb
782
789
  - lib/chef/handler/json_file.rb
783
- - lib/chef/index_queue.rb
784
- - lib/chef/index_queue/amqp_client.rb
785
- - lib/chef/index_queue/consumer.rb
786
- - lib/chef/index_queue/indexable.rb
790
+ - lib/chef/handler.rb
787
791
  - lib/chef/json_compat.rb
788
- - lib/chef/knife.rb
789
- - lib/chef/knife/bootstrap.rb
790
792
  - lib/chef/knife/bootstrap/archlinux-gems.erb
791
793
  - lib/chef/knife/bootstrap/centos5-gems.erb
792
794
  - lib/chef/knife/bootstrap/chef-full.erb
@@ -794,7 +796,7 @@ files:
794
796
  - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
795
797
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
796
798
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
797
- - lib/chef/knife/bootstrap/ubuntu12.10-gems.erb
799
+ - lib/chef/knife/bootstrap.rb
798
800
  - lib/chef/knife/client_bulk_delete.rb
799
801
  - lib/chef/knife/client_create.rb
800
802
  - lib/chef/knife/client_delete.rb
@@ -837,6 +839,11 @@ files:
837
839
  - lib/chef/knife/data_bag_from_file.rb
838
840
  - lib/chef/knife/data_bag_list.rb
839
841
  - lib/chef/knife/data_bag_show.rb
842
+ - lib/chef/knife/delete.rb
843
+ - lib/chef/knife/deps.rb
844
+ - lib/chef/knife/diff.rb
845
+ - lib/chef/knife/download.rb
846
+ - lib/chef/knife/edit.rb
840
847
  - lib/chef/knife/environment_create.rb
841
848
  - lib/chef/knife/environment_delete.rb
842
849
  - lib/chef/knife/environment_edit.rb
@@ -847,6 +854,7 @@ files:
847
854
  - lib/chef/knife/help.rb
848
855
  - lib/chef/knife/help_topics.rb
849
856
  - lib/chef/knife/index_rebuild.rb
857
+ - lib/chef/knife/list.rb
850
858
  - lib/chef/knife/node_bulk_delete.rb
851
859
  - lib/chef/knife/node_create.rb
852
860
  - lib/chef/knife/node_delete.rb
@@ -855,7 +863,9 @@ files:
855
863
  - lib/chef/knife/node_list.rb
856
864
  - lib/chef/knife/node_run_list_add.rb
857
865
  - lib/chef/knife/node_run_list_remove.rb
866
+ - lib/chef/knife/node_run_list_set.rb
858
867
  - lib/chef/knife/node_show.rb
868
+ - lib/chef/knife/raw.rb
859
869
  - lib/chef/knife/recipe_list.rb
860
870
  - lib/chef/knife/role_bulk_delete.rb
861
871
  - lib/chef/knife/role_create.rb
@@ -865,18 +875,27 @@ files:
865
875
  - lib/chef/knife/role_list.rb
866
876
  - lib/chef/knife/role_show.rb
867
877
  - lib/chef/knife/search.rb
878
+ - lib/chef/knife/show.rb
868
879
  - lib/chef/knife/ssh.rb
869
880
  - lib/chef/knife/status.rb
870
881
  - lib/chef/knife/tag_create.rb
871
882
  - lib/chef/knife/tag_delete.rb
872
883
  - lib/chef/knife/tag_list.rb
884
+ - lib/chef/knife/upload.rb
885
+ - lib/chef/knife/user_create.rb
886
+ - lib/chef/knife/user_delete.rb
887
+ - lib/chef/knife/user_edit.rb
888
+ - lib/chef/knife/user_list.rb
889
+ - lib/chef/knife/user_reregister.rb
890
+ - lib/chef/knife/user_show.rb
891
+ - lib/chef/knife/xargs.rb
892
+ - lib/chef/knife.rb
873
893
  - lib/chef/log.rb
874
894
  - lib/chef/mash.rb
875
- - lib/chef/mixin/check_helper.rb
876
895
  - lib/chef/mixin/checksum.rb
877
- - lib/chef/mixin/command.rb
878
896
  - lib/chef/mixin/command/unix.rb
879
897
  - lib/chef/mixin/command/windows.rb
898
+ - lib/chef/mixin/command.rb
880
899
  - lib/chef/mixin/convert_to_class_name.rb
881
900
  - lib/chef/mixin/create_path.rb
882
901
  - lib/chef/mixin/deep_merge.rb
@@ -895,39 +914,45 @@ files:
895
914
  - lib/chef/mixin/shell_out.rb
896
915
  - lib/chef/mixin/template.rb
897
916
  - lib/chef/mixin/why_run.rb
917
+ - lib/chef/mixin/windows_architecture_helper.rb
898
918
  - lib/chef/mixin/xml_escape.rb
899
919
  - lib/chef/mixins.rb
900
- - lib/chef/monkey_patches/dir.rb
920
+ - lib/chef/monkey_patches/file.rb
901
921
  - lib/chef/monkey_patches/fileutils.rb
902
- - lib/chef/monkey_patches/moneta.rb
922
+ - lib/chef/monkey_patches/net-ssh-multi.rb
903
923
  - lib/chef/monkey_patches/net_http.rb
904
924
  - lib/chef/monkey_patches/numeric.rb
905
925
  - lib/chef/monkey_patches/object.rb
906
926
  - lib/chef/monkey_patches/regexp.rb
927
+ - lib/chef/monkey_patches/securerandom.rb
907
928
  - lib/chef/monkey_patches/string.rb
908
929
  - lib/chef/monkey_patches/tempfile.rb
909
- - lib/chef/monkey_patches/uri.rb
930
+ - lib/chef/monologger.rb
910
931
  - lib/chef/nil_argument.rb
911
- - lib/chef/node.rb
912
932
  - lib/chef/node/attribute.rb
913
- - lib/chef/openid_registration.rb
933
+ - lib/chef/node/attribute_collections.rb
934
+ - lib/chef/node/immutable_collections.rb
935
+ - lib/chef/node.rb
936
+ - lib/chef/platform/provider_mapping.rb
937
+ - lib/chef/platform/query_helpers.rb
914
938
  - lib/chef/platform.rb
915
- - lib/chef/provider.rb
939
+ - lib/chef/provider/batch.rb
916
940
  - lib/chef/provider/breakpoint.rb
941
+ - lib/chef/provider/cookbook_file/content.rb
917
942
  - lib/chef/provider/cookbook_file.rb
918
- - lib/chef/provider/cron.rb
919
943
  - lib/chef/provider/cron/solaris.rb
920
- - lib/chef/provider/deploy.rb
944
+ - lib/chef/provider/cron.rb
921
945
  - lib/chef/provider/deploy/revision.rb
922
946
  - lib/chef/provider/deploy/timestamped.rb
947
+ - lib/chef/provider/deploy.rb
923
948
  - lib/chef/provider/directory.rb
924
- - lib/chef/provider/env.rb
925
949
  - lib/chef/provider/env/windows.rb
950
+ - lib/chef/provider/env.rb
926
951
  - lib/chef/provider/erl_call.rb
927
952
  - lib/chef/provider/execute.rb
953
+ - lib/chef/provider/file/content.rb
928
954
  - lib/chef/provider/file.rb
929
955
  - lib/chef/provider/git.rb
930
- - lib/chef/provider/group.rb
931
956
  - lib/chef/provider/group/aix.rb
932
957
  - lib/chef/provider/group/dscl.rb
933
958
  - lib/chef/provider/group/gpasswd.rb
@@ -937,16 +962,19 @@ files:
937
962
  - lib/chef/provider/group/suse.rb
938
963
  - lib/chef/provider/group/usermod.rb
939
964
  - lib/chef/provider/group/windows.rb
965
+ - lib/chef/provider/group.rb
940
966
  - lib/chef/provider/http_request.rb
967
+ - lib/chef/provider/ifconfig/debian.rb
968
+ - lib/chef/provider/ifconfig/redhat.rb
941
969
  - lib/chef/provider/ifconfig.rb
942
970
  - lib/chef/provider/link.rb
943
971
  - lib/chef/provider/log.rb
972
+ - lib/chef/provider/lwrp_base.rb
944
973
  - lib/chef/provider/mdadm.rb
945
- - lib/chef/provider/mount.rb
946
974
  - lib/chef/provider/mount/mount.rb
947
975
  - lib/chef/provider/mount/windows.rb
976
+ - lib/chef/provider/mount.rb
948
977
  - lib/chef/provider/ohai.rb
949
- - lib/chef/provider/package.rb
950
978
  - lib/chef/provider/package/apt.rb
951
979
  - lib/chef/provider/package/dpkg.rb
952
980
  - lib/chef/provider/package/easy_install.rb
@@ -962,13 +990,21 @@ files:
962
990
  - lib/chef/provider/package/yum-dump.py
963
991
  - lib/chef/provider/package/yum.rb
964
992
  - lib/chef/provider/package/zypper.rb
993
+ - lib/chef/provider/package.rb
994
+ - lib/chef/provider/powershell_script.rb
995
+ - lib/chef/provider/registry_key.rb
965
996
  - lib/chef/provider/remote_directory.rb
997
+ - lib/chef/provider/remote_file/cache_control_data.rb
998
+ - lib/chef/provider/remote_file/content.rb
999
+ - lib/chef/provider/remote_file/fetcher.rb
1000
+ - lib/chef/provider/remote_file/ftp.rb
1001
+ - lib/chef/provider/remote_file/http.rb
1002
+ - lib/chef/provider/remote_file/local_file.rb
966
1003
  - lib/chef/provider/remote_file.rb
967
1004
  - lib/chef/provider/resource_update.rb
968
1005
  - lib/chef/provider/route.rb
969
1006
  - lib/chef/provider/ruby_block.rb
970
1007
  - lib/chef/provider/script.rb
971
- - lib/chef/provider/service.rb
972
1008
  - lib/chef/provider/service/arch.rb
973
1009
  - lib/chef/provider/service/debian.rb
974
1010
  - lib/chef/provider/service/freebsd.rb
@@ -983,24 +1019,29 @@ files:
983
1019
  - lib/chef/provider/service/systemd.rb
984
1020
  - lib/chef/provider/service/upstart.rb
985
1021
  - lib/chef/provider/service/windows.rb
1022
+ - lib/chef/provider/service.rb
986
1023
  - lib/chef/provider/subversion.rb
1024
+ - lib/chef/provider/template/content.rb
987
1025
  - lib/chef/provider/template.rb
988
- - lib/chef/provider/user.rb
1026
+ - lib/chef/provider/template_finder.rb
989
1027
  - lib/chef/provider/user/dscl.rb
990
1028
  - lib/chef/provider/user/pw.rb
991
1029
  - lib/chef/provider/user/solaris.rb
992
1030
  - lib/chef/provider/user/useradd.rb
993
1031
  - lib/chef/provider/user/windows.rb
994
- - lib/chef/provider/whyrun_safe_ruby_block.rb
1032
+ - lib/chef/provider/user.rb
1033
+ - lib/chef/provider/windows_script.rb
1034
+ - lib/chef/provider.rb
995
1035
  - lib/chef/providers.rb
996
1036
  - lib/chef/recipe.rb
997
1037
  - lib/chef/reserved_names.rb
998
- - lib/chef/resource.rb
999
1038
  - lib/chef/resource/apt_package.rb
1000
1039
  - lib/chef/resource/bash.rb
1040
+ - lib/chef/resource/batch.rb
1001
1041
  - lib/chef/resource/breakpoint.rb
1002
1042
  - lib/chef/resource/chef_gem.rb
1003
1043
  - lib/chef/resource/conditional.rb
1044
+ - lib/chef/resource/conditional_action_not_nothing.rb
1004
1045
  - lib/chef/resource/cookbook_file.rb
1005
1046
  - lib/chef/resource/cron.rb
1006
1047
  - lib/chef/resource/csh.rb
@@ -1022,6 +1063,7 @@ files:
1022
1063
  - lib/chef/resource/ips_package.rb
1023
1064
  - lib/chef/resource/link.rb
1024
1065
  - lib/chef/resource/log.rb
1066
+ - lib/chef/resource/lwrp_base.rb
1025
1067
  - lib/chef/resource/macports_package.rb
1026
1068
  - lib/chef/resource/mdadm.rb
1027
1069
  - lib/chef/resource/mount.rb
@@ -1030,7 +1072,9 @@ files:
1030
1072
  - lib/chef/resource/pacman_package.rb
1031
1073
  - lib/chef/resource/perl.rb
1032
1074
  - lib/chef/resource/portage_package.rb
1075
+ - lib/chef/resource/powershell_script.rb
1033
1076
  - lib/chef/resource/python.rb
1077
+ - lib/chef/resource/registry_key.rb
1034
1078
  - lib/chef/resource/remote_directory.rb
1035
1079
  - lib/chef/resource/remote_file.rb
1036
1080
  - lib/chef/resource/route.rb
@@ -1046,54 +1090,57 @@ files:
1046
1090
  - lib/chef/resource/template.rb
1047
1091
  - lib/chef/resource/timestamped_deploy.rb
1048
1092
  - lib/chef/resource/user.rb
1049
- - lib/chef/resource/whyrun_safe_ruby_block.rb
1093
+ - lib/chef/resource/windows_script.rb
1050
1094
  - lib/chef/resource/yum_package.rb
1051
- - lib/chef/resource_collection.rb
1095
+ - lib/chef/resource.rb
1052
1096
  - lib/chef/resource_collection/stepable_iterator.rb
1097
+ - lib/chef/resource_collection.rb
1053
1098
  - lib/chef/resource_definition.rb
1054
1099
  - lib/chef/resource_definition_list.rb
1055
1100
  - lib/chef/resource_platform_map.rb
1056
1101
  - lib/chef/resource_reporter.rb
1057
1102
  - lib/chef/resources.rb
1058
- - lib/chef/rest.rb
1059
1103
  - lib/chef/rest/auth_credentials.rb
1060
1104
  - lib/chef/rest/cookie_jar.rb
1061
1105
  - lib/chef/rest/rest_request.rb
1106
+ - lib/chef/rest.rb
1062
1107
  - lib/chef/role.rb
1108
+ - lib/chef/run_context/cookbook_compiler.rb
1063
1109
  - lib/chef/run_context.rb
1064
- - lib/chef/run_list.rb
1065
1110
  - lib/chef/run_list/run_list_expansion.rb
1066
1111
  - lib/chef/run_list/run_list_item.rb
1067
1112
  - lib/chef/run_list/versioned_recipe_list.rb
1113
+ - lib/chef/run_list.rb
1114
+ - lib/chef/run_lock.rb
1068
1115
  - lib/chef/run_status.rb
1069
1116
  - lib/chef/runner.rb
1070
1117
  - lib/chef/sandbox.rb
1071
1118
  - lib/chef/scan_access_control.rb
1072
1119
  - lib/chef/search/query.rb
1073
- - lib/chef/shef.rb
1074
1120
  - lib/chef/shef/ext.rb
1075
- - lib/chef/shef/model_wrapper.rb
1076
- - lib/chef/shef/shef_rest.rb
1077
- - lib/chef/shef/shef_session.rb
1121
+ - lib/chef/shell/ext.rb
1122
+ - lib/chef/shell/model_wrapper.rb
1123
+ - lib/chef/shell/shell_rest.rb
1124
+ - lib/chef/shell/shell_session.rb
1125
+ - lib/chef/shell.rb
1078
1126
  - lib/chef/shell_out.rb
1079
- - lib/chef/solr_query.rb
1080
- - lib/chef/solr_query/lucene.treetop
1081
- - lib/chef/solr_query/lucene_nodes.rb
1082
- - lib/chef/solr_query/query_transform.rb
1083
- - lib/chef/solr_query/solr_http_request.rb
1084
1127
  - lib/chef/streaming_cookbook_uploader.rb
1085
1128
  - lib/chef/tasks/chef_repo.rake
1129
+ - lib/chef/user.rb
1130
+ - lib/chef/util/backup.rb
1131
+ - lib/chef/util/diff.rb
1086
1132
  - lib/chef/util/file_edit.rb
1087
- - lib/chef/util/windows.rb
1133
+ - lib/chef/util/selinux.rb
1088
1134
  - lib/chef/util/windows/net_group.rb
1089
1135
  - lib/chef/util/windows/net_use.rb
1090
1136
  - lib/chef/util/windows/net_user.rb
1091
1137
  - lib/chef/util/windows/volume.rb
1138
+ - lib/chef/util/windows.rb
1139
+ - lib/chef/version/platform.rb
1092
1140
  - lib/chef/version.rb
1093
1141
  - lib/chef/version_class.rb
1142
+ - lib/chef/version_constraint/platform.rb
1094
1143
  - lib/chef/version_constraint.rb
1095
- - lib/chef/webui_user.rb
1096
- - lib/chef/win32/api.rb
1097
1144
  - lib/chef/win32/api/error.rb
1098
1145
  - lib/chef/win32/api/file.rb
1099
1146
  - lib/chef/win32/api/memory.rb
@@ -1102,32 +1149,74 @@ files:
1102
1149
  - lib/chef/win32/api/security.rb
1103
1150
  - lib/chef/win32/api/system.rb
1104
1151
  - lib/chef/win32/api/unicode.rb
1152
+ - lib/chef/win32/api.rb
1105
1153
  - lib/chef/win32/error.rb
1106
- - lib/chef/win32/file.rb
1107
1154
  - lib/chef/win32/file/info.rb
1155
+ - lib/chef/win32/file.rb
1108
1156
  - lib/chef/win32/handle.rb
1109
1157
  - lib/chef/win32/memory.rb
1110
1158
  - lib/chef/win32/process.rb
1111
- - lib/chef/win32/security.rb
1159
+ - lib/chef/win32/registry.rb
1112
1160
  - lib/chef/win32/security/ace.rb
1113
1161
  - lib/chef/win32/security/acl.rb
1114
1162
  - lib/chef/win32/security/securable_object.rb
1115
1163
  - lib/chef/win32/security/security_descriptor.rb
1116
1164
  - lib/chef/win32/security/sid.rb
1117
1165
  - lib/chef/win32/security/token.rb
1166
+ - lib/chef/win32/security.rb
1118
1167
  - lib/chef/win32/unicode.rb
1119
1168
  - lib/chef/win32/version.rb
1169
+ - lib/chef.rb
1170
+ - tasks/rspec.rb
1171
+ - spec/data/apt/chef-integration-test-1.0/debian/changelog
1172
+ - spec/data/apt/chef-integration-test-1.0/debian/compat
1173
+ - spec/data/apt/chef-integration-test-1.0/debian/control
1174
+ - spec/data/apt/chef-integration-test-1.0/debian/copyright
1175
+ - spec/data/apt/chef-integration-test-1.0/debian/files
1176
+ - spec/data/apt/chef-integration-test-1.0/debian/rules
1177
+ - spec/data/apt/chef-integration-test-1.0/debian/source/format
1178
+ - spec/data/apt/chef-integration-test-1.1/debian/changelog
1179
+ - spec/data/apt/chef-integration-test-1.1/debian/compat
1180
+ - spec/data/apt/chef-integration-test-1.1/debian/control
1181
+ - spec/data/apt/chef-integration-test-1.1/debian/copyright
1182
+ - spec/data/apt/chef-integration-test-1.1/debian/files
1183
+ - spec/data/apt/chef-integration-test-1.1/debian/rules
1184
+ - spec/data/apt/chef-integration-test-1.1/debian/source/format
1185
+ - spec/data/apt/chef-integration-test_1.0-1_amd64.changes
1186
+ - spec/data/apt/chef-integration-test_1.0-1_amd64.deb
1187
+ - spec/data/apt/chef-integration-test_1.0.orig.tar.gz
1188
+ - spec/data/apt/chef-integration-test_1.1-1_amd64.changes
1189
+ - spec/data/apt/chef-integration-test_1.1-1_amd64.deb
1190
+ - spec/data/apt/chef-integration-test_1.1.orig.tar.gz
1191
+ - spec/data/apt/var/www/apt/conf/distributions
1192
+ - spec/data/apt/var/www/apt/conf/incoming
1193
+ - spec/data/apt/var/www/apt/conf/pulls
1194
+ - spec/data/apt/var/www/apt/db/checksums.db
1195
+ - spec/data/apt/var/www/apt/db/contents.cache.db
1196
+ - spec/data/apt/var/www/apt/db/packages.db
1197
+ - spec/data/apt/var/www/apt/db/references.db
1198
+ - spec/data/apt/var/www/apt/db/release.caches.db
1199
+ - spec/data/apt/var/www/apt/db/version
1200
+ - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1201
+ - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1202
+ - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1203
+ - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1204
+ - spec/data/apt/var/www/apt/dists/sid/Release
1205
+ - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1206
+ - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1120
1207
  - spec/data/bad-config.rb
1121
1208
  - spec/data/big_json.json
1122
1209
  - spec/data/big_json_plus_one.json
1210
+ - spec/data/bootstrap/encrypted_data_bag_secret
1211
+ - spec/data/bootstrap/secret.erb
1123
1212
  - spec/data/bootstrap/test-hints.erb
1124
1213
  - spec/data/bootstrap/test.erb
1125
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1126
1214
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1127
1215
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1128
1216
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1129
1217
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1130
1218
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1219
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1131
1220
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1132
1221
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1133
1222
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1156,6 +1245,8 @@ files:
1156
1245
  - spec/data/cookbooks/borken/recipes/default.rb
1157
1246
  - spec/data/cookbooks/borken/templates/default/borken.erb
1158
1247
  - spec/data/cookbooks/chefignore
1248
+ - spec/data/cookbooks/ignorken/recipes/default.rb
1249
+ - spec/data/cookbooks/ignorken/recipes/ignoreme.rb
1159
1250
  - spec/data/cookbooks/java/files/default/java.response
1160
1251
  - spec/data/cookbooks/openldap/attributes/default.rb
1161
1252
  - spec/data/cookbooks/openldap/attributes/smokey.rb
@@ -1173,14 +1264,23 @@ files:
1173
1264
  - spec/data/cookbooks/openldap/recipes/default.rb
1174
1265
  - spec/data/cookbooks/openldap/recipes/gigantor.rb
1175
1266
  - spec/data/cookbooks/openldap/recipes/one.rb
1267
+ - spec/data/cookbooks/openldap/templates/default/all_windows_line_endings.erb
1268
+ - spec/data/cookbooks/openldap/templates/default/helper_test.erb
1269
+ - spec/data/cookbooks/openldap/templates/default/helpers_via_partial_test.erb
1270
+ - spec/data/cookbooks/openldap/templates/default/no_windows_line_endings.erb
1176
1271
  - spec/data/cookbooks/openldap/templates/default/openldap_stuff.conf.erb
1177
1272
  - spec/data/cookbooks/openldap/templates/default/openldap_variable_stuff.conf.erb
1273
+ - spec/data/cookbooks/openldap/templates/default/some_windows_line_endings.erb
1178
1274
  - spec/data/cookbooks/openldap/templates/default/test.erb
1275
+ - spec/data/cookbooks/preseed/files/default/preseed-file.seed
1276
+ - spec/data/cookbooks/preseed/templates/default/preseed-template.seed
1179
1277
  - spec/data/definitions/test.rb
1180
1278
  - spec/data/environment-config.rb
1279
+ - spec/data/file-providers-method-snapshot-chef-11-4.json
1181
1280
  - spec/data/fileedit/blank
1182
1281
  - spec/data/fileedit/hosts
1183
1282
  - spec/data/gems/chef-integration-test-0.1.0.gem
1283
+ - spec/data/git_bundles/example-repo.gitbundle
1184
1284
  - spec/data/git_bundles/sinatra-test-app-with-callback-files.gitbundle
1185
1285
  - spec/data/git_bundles/sinatra-test-app-with-symlinks.gitbundle
1186
1286
  - spec/data/git_bundles/sinatra-test-app.gitbundle
@@ -1200,6 +1300,7 @@ files:
1200
1300
  - spec/data/lwrp/providers/buck_passer.rb
1201
1301
  - spec/data/lwrp/providers/buck_passer_2.rb
1202
1302
  - spec/data/lwrp/providers/embedded_resource_accesses_providers_scope.rb
1303
+ - spec/data/lwrp/providers/inline_compiler.rb
1203
1304
  - spec/data/lwrp/providers/monkey_name_printer.rb
1204
1305
  - spec/data/lwrp/providers/paint_drying_watcher.rb
1205
1306
  - spec/data/lwrp/providers/thumb_twiddler.rb
@@ -1209,18 +1310,11 @@ files:
1209
1310
  - spec/data/lwrp_const_scoping/resources/conflict.rb
1210
1311
  - spec/data/lwrp_override/providers/buck_passer.rb
1211
1312
  - spec/data/lwrp_override/resources/foo.rb
1212
- - spec/data/mac_users/10.7-8.plist.xml
1213
- - spec/data/mac_users/10.7-8.shadow.xml
1214
- - spec/data/mac_users/10.7.plist.xml
1215
- - spec/data/mac_users/10.7.shadow.xml
1216
- - spec/data/mac_users/10.8.plist.xml
1217
- - spec/data/mac_users/10.8.shadow.xml
1218
- - spec/data/mac_users/10.9.plist.xml
1219
- - spec/data/mac_users/10.9.shadow.xml
1220
1313
  - spec/data/metadata/quick_start/metadata.rb
1221
1314
  - spec/data/nodes/default.rb
1222
1315
  - spec/data/nodes/test.example.com.rb
1223
1316
  - spec/data/nodes/test.rb
1317
+ - spec/data/null_config.rb
1224
1318
  - spec/data/object_loader/environments/test.json
1225
1319
  - spec/data/object_loader/environments/test.rb
1226
1320
  - spec/data/object_loader/environments/test_json_class.json
@@ -1232,18 +1326,73 @@ files:
1232
1326
  - spec/data/object_loader/roles/test_json_class.json
1233
1327
  - spec/data/old_home_dir/my-dot-emacs
1234
1328
  - spec/data/old_home_dir/my-dot-vim
1329
+ - spec/data/partial_one.erb
1235
1330
  - spec/data/recipes/test.rb
1236
1331
  - spec/data/remote_directory_data/remote_dir_file.txt
1237
1332
  - spec/data/remote_directory_data/remote_subdirectory/remote_subdir_file.txt
1238
1333
  - spec/data/remote_file/nyan_cat.png
1334
+ - spec/data/remote_file/nyan_cat.png.gz
1335
+ - spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb
1336
+ - spec/data/run_context/cookbooks/circular-dep1/definitions/circular_dep1_res.rb
1337
+ - spec/data/run_context/cookbooks/circular-dep1/libraries/lib.rb
1338
+ - spec/data/run_context/cookbooks/circular-dep1/metadata.rb
1339
+ - spec/data/run_context/cookbooks/circular-dep1/providers/provider.rb
1340
+ - spec/data/run_context/cookbooks/circular-dep1/recipes/default.rb
1341
+ - spec/data/run_context/cookbooks/circular-dep1/resources/resource.rb
1342
+ - spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb
1343
+ - spec/data/run_context/cookbooks/circular-dep2/definitions/circular_dep2_res.rb
1344
+ - spec/data/run_context/cookbooks/circular-dep2/libraries/lib.rb
1345
+ - spec/data/run_context/cookbooks/circular-dep2/metadata.rb
1346
+ - spec/data/run_context/cookbooks/circular-dep2/providers/provider.rb
1347
+ - spec/data/run_context/cookbooks/circular-dep2/recipes/default.rb
1348
+ - spec/data/run_context/cookbooks/circular-dep2/resources/resource.rb
1349
+ - spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb
1350
+ - spec/data/run_context/cookbooks/dependency1/attributes/default.rb
1351
+ - spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb
1352
+ - spec/data/run_context/cookbooks/dependency1/definitions/dependency1_res.rb
1353
+ - spec/data/run_context/cookbooks/dependency1/libraries/lib.rb
1354
+ - spec/data/run_context/cookbooks/dependency1/providers/provider.rb
1355
+ - spec/data/run_context/cookbooks/dependency1/recipes/default.rb
1356
+ - spec/data/run_context/cookbooks/dependency1/resources/resource.rb
1357
+ - spec/data/run_context/cookbooks/dependency2/attributes/default.rb
1358
+ - spec/data/run_context/cookbooks/dependency2/definitions/dependency2_res.rb
1359
+ - spec/data/run_context/cookbooks/dependency2/libraries/lib.rb
1360
+ - spec/data/run_context/cookbooks/dependency2/providers/provider.rb
1361
+ - spec/data/run_context/cookbooks/dependency2/recipes/default.rb
1362
+ - spec/data/run_context/cookbooks/dependency2/resources/resource.rb
1363
+ - spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb
1364
+ - spec/data/run_context/cookbooks/no-default-attr/definitions/no_default-attr_res.rb
1365
+ - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1366
+ - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1367
+ - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1368
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1239
1369
  - spec/data/run_context/cookbooks/test/attributes/george.rb
1240
1370
  - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1241
1371
  - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1372
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1373
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1242
1374
  - spec/data/run_context/cookbooks/test/recipes/default.rb
1243
1375
  - spec/data/run_context/cookbooks/test/recipes/one.rb
1244
1376
  - spec/data/run_context/cookbooks/test/recipes/two.rb
1377
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1378
+ - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1379
+ - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1380
+ - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
1381
+ - spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb
1382
+ - spec/data/run_context/cookbooks/test-with-circular-deps/providers/provider.rb
1383
+ - spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb
1384
+ - spec/data/run_context/cookbooks/test-with-circular-deps/resources/resource.rb
1385
+ - spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb
1386
+ - spec/data/run_context/cookbooks/test-with-deps/definitions/test_with-deps_res.rb
1387
+ - spec/data/run_context/cookbooks/test-with-deps/libraries/lib.rb
1388
+ - spec/data/run_context/cookbooks/test-with-deps/metadata.rb
1389
+ - spec/data/run_context/cookbooks/test-with-deps/providers/provider.rb
1390
+ - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1391
+ - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1392
+ - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1245
1393
  - spec/data/run_context/nodes/run_context.rb
1246
1394
  - spec/data/search_queries_to_transform.txt
1395
+ - spec/data/shef-config.rb
1247
1396
  - spec/data/ssl/5e707473.0
1248
1397
  - spec/data/ssl/chef-rspec.cert
1249
1398
  - spec/data/ssl/chef-rspec.key
@@ -1251,21 +1400,47 @@ files:
1251
1400
  - spec/data/ssl/private_key.pem
1252
1401
  - spec/data/ssl/private_key_with_whitespace.pem
1253
1402
  - spec/data/templates/seattle.txt
1403
+ - spec/functional/dsl/registry_helper_spec.rb
1404
+ - spec/functional/file_content_management/deploy_strategies_spec.rb
1254
1405
  - spec/functional/knife/cookbook_delete_spec.rb
1255
1406
  - spec/functional/knife/exec_spec.rb
1407
+ - spec/functional/knife/smoke_test.rb
1256
1408
  - spec/functional/knife/ssh_spec.rb
1257
- - spec/functional/resource/base.rb
1409
+ - spec/functional/provider/remote_file/cache_control_data_spec.rb
1410
+ - spec/functional/resource/batch_spec.rb
1258
1411
  - spec/functional/resource/cookbook_file_spec.rb
1259
1412
  - spec/functional/resource/deploy_revision_spec.rb
1260
1413
  - spec/functional/resource/directory_spec.rb
1261
1414
  - spec/functional/resource/file_spec.rb
1262
- - spec/functional/resource/group_spec.rb
1415
+ - spec/functional/resource/git_spec.rb
1263
1416
  - spec/functional/resource/link_spec.rb
1417
+ - spec/functional/resource/package_spec.rb
1418
+ - spec/functional/resource/powershell_spec.rb
1419
+ - spec/functional/resource/registry_spec.rb
1264
1420
  - spec/functional/resource/remote_directory_spec.rb
1265
1421
  - spec/functional/resource/remote_file_spec.rb
1266
1422
  - spec/functional/resource/template_spec.rb
1267
- - spec/functional/resource/user/dscl_spec.rb
1423
+ - spec/functional/resource/user_spec.rb
1424
+ - spec/functional/run_lock_spec.rb
1425
+ - spec/functional/shell_spec.rb
1268
1426
  - spec/functional/tiny_server_spec.rb
1427
+ - spec/functional/win32/registry_helper_spec.rb
1428
+ - spec/functional/win32/security_spec.rb
1429
+ - spec/functional/win32/service_manager_spec.rb
1430
+ - spec/functional/win32/versions_spec.rb
1431
+ - spec/integration/knife/chef_repo_path_spec.rb
1432
+ - spec/integration/knife/chef_repository_file_system_spec.rb
1433
+ - spec/integration/knife/chefignore_spec.rb
1434
+ - spec/integration/knife/delete_spec.rb
1435
+ - spec/integration/knife/deps_spec.rb
1436
+ - spec/integration/knife/diff_spec.rb
1437
+ - spec/integration/knife/download_spec.rb
1438
+ - spec/integration/knife/list_spec.rb
1439
+ - spec/integration/knife/raw_spec.rb
1440
+ - spec/integration/knife/redirection_spec.rb
1441
+ - spec/integration/knife/show_spec.rb
1442
+ - spec/integration/knife/upload_spec.rb
1443
+ - spec/integration/solo/solo_spec.rb
1269
1444
  - spec/rcov.opts
1270
1445
  - spec/spec_helper.rb
1271
1446
  - spec/stress/win32/file_spec.rb
@@ -1283,23 +1458,37 @@ files:
1283
1458
  - spec/support/platform_helpers.rb
1284
1459
  - spec/support/platforms/prof/gc.rb
1285
1460
  - spec/support/platforms/prof/win32.rb
1461
+ - spec/support/platforms/win32/spec_service.rb
1462
+ - spec/support/shared/functional/diff_disabled.rb
1286
1463
  - spec/support/shared/functional/directory_resource.rb
1287
1464
  - spec/support/shared/functional/file_resource.rb
1288
1465
  - spec/support/shared/functional/knife.rb
1289
1466
  - spec/support/shared/functional/securable_resource.rb
1467
+ - spec/support/shared/functional/securable_resource_with_reporting.rb
1468
+ - spec/support/shared/integration/integration_helper.rb
1469
+ - spec/support/shared/integration/knife_support.rb
1290
1470
  - spec/support/shared/unit/api_error_inspector.rb
1471
+ - spec/support/shared/unit/execute_resource.rb
1472
+ - spec/support/shared/unit/file_system_support.rb
1473
+ - spec/support/shared/unit/platform_introspector.rb
1474
+ - spec/support/shared/unit/provider/file.rb
1475
+ - spec/support/shared/unit/provider/useradd_based_user_provider.rb
1476
+ - spec/support/shared/unit/script_resource.rb
1477
+ - spec/support/shared/unit/windows_script_resource.rb
1291
1478
  - spec/tiny_server.rb
1479
+ - spec/unit/api_client/registration_spec.rb
1292
1480
  - spec/unit/api_client_spec.rb
1293
1481
  - spec/unit/application/agent_spec.rb
1482
+ - spec/unit/application/apply.rb
1294
1483
  - spec/unit/application/client_spec.rb
1295
1484
  - spec/unit/application/knife_spec.rb
1296
1485
  - spec/unit/application/server_spec.rb
1297
1486
  - spec/unit/application/solo_spec.rb
1298
1487
  - spec/unit/application_spec.rb
1299
- - spec/unit/certificate_spec.rb
1300
1488
  - spec/unit/checksum/storage/filesystem_spec.rb
1301
- - spec/unit/checksum_cache_spec.rb
1302
- - spec/unit/checksum_spec.rb
1489
+ - spec/unit/chef_fs/diff_spec.rb
1490
+ - spec/unit/chef_fs/file_pattern_spec.rb
1491
+ - spec/unit/chef_fs/file_system_spec.rb
1303
1492
  - spec/unit/chef_spec.rb
1304
1493
  - spec/unit/client_spec.rb
1305
1494
  - spec/unit/config_spec.rb
@@ -1311,15 +1500,22 @@ files:
1311
1500
  - spec/unit/cookbook_manifest_spec.rb
1312
1501
  - spec/unit/cookbook_spec.rb
1313
1502
  - spec/unit/cookbook_version_spec.rb
1314
- - spec/unit/couchdb_spec.rb
1315
1503
  - spec/unit/daemon_spec.rb
1316
1504
  - spec/unit/data_bag_item_spec.rb
1317
1505
  - spec/unit/data_bag_spec.rb
1506
+ - spec/unit/deprecation_spec.rb
1507
+ - spec/unit/digester_spec.rb
1508
+ - spec/unit/dsl/data_query_spec.rb
1509
+ - spec/unit/dsl/platform_introspection_spec.rb
1510
+ - spec/unit/dsl/regsitry_helper_spec.rb
1318
1511
  - spec/unit/encrypted_data_bag_item_spec.rb
1319
1512
  - spec/unit/environment_spec.rb
1320
1513
  - spec/unit/exceptions_spec.rb
1321
1514
  - spec/unit/file_access_control_spec.rb
1322
1515
  - spec/unit/file_cache_spec.rb
1516
+ - spec/unit/file_content_management/deploy/cp_spec.rb
1517
+ - spec/unit/file_content_management/deploy/mv_unix_spec.rb
1518
+ - spec/unit/file_content_management/deploy/mv_windows_spec.rb
1323
1519
  - spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb
1324
1520
  - spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb
1325
1521
  - spec/unit/formatters/error_inspectors/cookbook_sync_error_inspector_spec.rb
@@ -1329,7 +1525,6 @@ files:
1329
1525
  - spec/unit/formatters/error_inspectors/run_list_expansion_error_inspector_spec.rb
1330
1526
  - spec/unit/handler/json_file_spec.rb
1331
1527
  - spec/unit/handler_spec.rb
1332
- - spec/unit/index_queue_spec.rb
1333
1528
  - spec/unit/json_compat_spec.rb
1334
1529
  - spec/unit/knife/bootstrap_spec.rb
1335
1530
  - spec/unit/knife/client_bulk_delete_spec.rb
@@ -1380,6 +1575,7 @@ files:
1380
1575
  - spec/unit/knife/node_list_spec.rb
1381
1576
  - spec/unit/knife/node_run_list_add_spec.rb
1382
1577
  - spec/unit/knife/node_run_list_remove_spec.rb
1578
+ - spec/unit/knife/node_run_list_set_spec.rb
1383
1579
  - spec/unit/knife/node_show_spec.rb
1384
1580
  - spec/unit/knife/role_bulk_delete_spec.rb
1385
1581
  - spec/unit/knife/role_create_spec.rb
@@ -1392,6 +1588,12 @@ files:
1392
1588
  - spec/unit/knife/tag_create_spec.rb
1393
1589
  - spec/unit/knife/tag_delete_spec.rb
1394
1590
  - spec/unit/knife/tag_list_spec.rb
1591
+ - spec/unit/knife/user_create_spec.rb
1592
+ - spec/unit/knife/user_delete_spec.rb
1593
+ - spec/unit/knife/user_edit_spec.rb
1594
+ - spec/unit/knife/user_list_spec.rb
1595
+ - spec/unit/knife/user_reregister_spec.rb
1596
+ - spec/unit/knife/user_show_spec.rb
1395
1597
  - spec/unit/knife_spec.rb
1396
1598
  - spec/unit/log_spec.rb
1397
1599
  - spec/unit/lwrp_spec.rb
@@ -1402,20 +1604,20 @@ files:
1402
1604
  - spec/unit/mixin/deep_merge_spec.rb
1403
1605
  - spec/unit/mixin/deprecation_spec.rb
1404
1606
  - spec/unit/mixin/enforce_ownership_and_permissions_spec.rb
1405
- - spec/unit/mixin/language_spec.rb
1406
1607
  - spec/unit/mixin/params_validate_spec.rb
1407
1608
  - spec/unit/mixin/path_sanity_spec.rb
1408
1609
  - spec/unit/mixin/securable_spec.rb
1409
1610
  - spec/unit/mixin/shell_out_spec.rb
1410
1611
  - spec/unit/mixin/template_spec.rb
1612
+ - spec/unit/mixin/windows_architecture_helper_spec.rb
1411
1613
  - spec/unit/mixin/xml_escape_spec.rb
1412
1614
  - spec/unit/monkey_patches/string_spec.rb
1413
- - spec/unit/monkey_patches/uri_spec.rb
1414
1615
  - spec/unit/node/attribute_spec.rb
1616
+ - spec/unit/node/immutable_collections_spec.rb
1415
1617
  - spec/unit/node_spec.rb
1416
- - spec/unit/openid_registration_spec.rb
1417
1618
  - spec/unit/platform_spec.rb
1418
1619
  - spec/unit/provider/breakpoint_spec.rb
1620
+ - spec/unit/provider/cookbook_file/content_spec.rb
1419
1621
  - spec/unit/provider/cookbook_file_spec.rb
1420
1622
  - spec/unit/provider/cron/solaris_spec.rb
1421
1623
  - spec/unit/provider/cron_spec.rb
@@ -1426,6 +1628,7 @@ files:
1426
1628
  - spec/unit/provider/env_spec.rb
1427
1629
  - spec/unit/provider/erl_call_spec.rb
1428
1630
  - spec/unit/provider/execute_spec.rb
1631
+ - spec/unit/provider/file/content_spec.rb
1429
1632
  - spec/unit/provider/file_spec.rb
1430
1633
  - spec/unit/provider/git_spec.rb
1431
1634
  - spec/unit/provider/group/dscl_spec.rb
@@ -1437,6 +1640,8 @@ files:
1437
1640
  - spec/unit/provider/group/windows_spec.rb
1438
1641
  - spec/unit/provider/group_spec.rb
1439
1642
  - spec/unit/provider/http_request_spec.rb
1643
+ - spec/unit/provider/ifconfig/debian_spec.rb
1644
+ - spec/unit/provider/ifconfig/redhat_spec.rb
1440
1645
  - spec/unit/provider/ifconfig_spec.rb
1441
1646
  - spec/unit/provider/link_spec.rb
1442
1647
  - spec/unit/provider/log_spec.rb
@@ -1460,7 +1665,15 @@ files:
1460
1665
  - spec/unit/provider/package/yum_spec.rb
1461
1666
  - spec/unit/provider/package/zypper_spec.rb
1462
1667
  - spec/unit/provider/package_spec.rb
1668
+ - spec/unit/provider/powershell_spec.rb
1669
+ - spec/unit/provider/registry_key_spec.rb
1463
1670
  - spec/unit/provider/remote_directory_spec.rb
1671
+ - spec/unit/provider/remote_file/cache_control_data_spec.rb
1672
+ - spec/unit/provider/remote_file/content_spec.rb
1673
+ - spec/unit/provider/remote_file/fetcher_spec.rb
1674
+ - spec/unit/provider/remote_file/ftp_spec.rb
1675
+ - spec/unit/provider/remote_file/http_spec.rb
1676
+ - spec/unit/provider/remote_file/local_file_spec.rb
1464
1677
  - spec/unit/provider/remote_file_spec.rb
1465
1678
  - spec/unit/provider/route_spec.rb
1466
1679
  - spec/unit/provider/ruby_block_spec.rb
@@ -1481,6 +1694,7 @@ files:
1481
1694
  - spec/unit/provider/service/windows_spec.rb
1482
1695
  - spec/unit/provider/service_spec.rb
1483
1696
  - spec/unit/provider/subversion_spec.rb
1697
+ - spec/unit/provider/template/content_spec.rb
1484
1698
  - spec/unit/provider/template_spec.rb
1485
1699
  - spec/unit/provider/user/dscl_spec.rb
1486
1700
  - spec/unit/provider/user/pw_spec.rb
@@ -1488,13 +1702,15 @@ files:
1488
1702
  - spec/unit/provider/user/useradd_spec.rb
1489
1703
  - spec/unit/provider/user/windows_spec.rb
1490
1704
  - spec/unit/provider/user_spec.rb
1491
- - spec/unit/provider/whyrun_safe_ruby_block_spec.rb
1492
1705
  - spec/unit/provider_spec.rb
1493
1706
  - spec/unit/recipe_spec.rb
1707
+ - spec/unit/registry_helper_spec.rb
1494
1708
  - spec/unit/resource/apt_package_spec.rb
1495
1709
  - spec/unit/resource/bash_spec.rb
1710
+ - spec/unit/resource/batch_spec.rb
1496
1711
  - spec/unit/resource/breakpoint_spec.rb
1497
1712
  - spec/unit/resource/chef_gem_spec.rb
1713
+ - spec/unit/resource/conditional_action_not_nothing_spec.rb
1498
1714
  - spec/unit/resource/conditional_spec.rb
1499
1715
  - spec/unit/resource/cookbook_file_spec.rb
1500
1716
  - spec/unit/resource/cron_spec.rb
@@ -1525,7 +1741,9 @@ files:
1525
1741
  - spec/unit/resource/pacman_package_spec.rb
1526
1742
  - spec/unit/resource/perl_spec.rb
1527
1743
  - spec/unit/resource/portage_package_spec.rb
1744
+ - spec/unit/resource/powershell_spec.rb
1528
1745
  - spec/unit/resource/python_spec.rb
1746
+ - spec/unit/resource/registry_key_spec.rb
1529
1747
  - spec/unit/resource/remote_directory_spec.rb
1530
1748
  - spec/unit/resource/remote_file_spec.rb
1531
1749
  - spec/unit/resource/route_spec.rb
@@ -1550,27 +1768,38 @@ files:
1550
1768
  - spec/unit/rest/auth_credentials_spec.rb
1551
1769
  - spec/unit/rest_spec.rb
1552
1770
  - spec/unit/role_spec.rb
1771
+ - spec/unit/run_context/cookbook_compiler_spec.rb
1553
1772
  - spec/unit/run_context_spec.rb
1554
1773
  - spec/unit/run_list/run_list_expansion_spec.rb
1555
1774
  - spec/unit/run_list/run_list_item_spec.rb
1556
1775
  - spec/unit/run_list/versioned_recipe_list_spec.rb
1557
1776
  - spec/unit/run_list_spec.rb
1777
+ - spec/unit/run_lock_spec.rb
1558
1778
  - spec/unit/run_status_spec.rb
1559
1779
  - spec/unit/runner_spec.rb
1560
1780
  - spec/unit/scan_access_control_spec.rb
1561
1781
  - spec/unit/search/query_spec.rb
1562
- - spec/unit/shef/model_wrapper_spec.rb
1563
- - spec/unit/shef/shef_ext_spec.rb
1564
- - spec/unit/shef/shef_session_spec.rb
1565
- - spec/unit/shef_spec.rb
1566
- - spec/unit/solr_query/query_transform_spec.rb
1567
- - spec/unit/solr_query/solr_http_request_spec.rb
1568
- - spec/unit/solr_query_spec.rb
1782
+ - spec/unit/shell/model_wrapper_spec.rb
1783
+ - spec/unit/shell/shell_ext_spec.rb
1784
+ - spec/unit/shell/shell_session_spec.rb
1785
+ - spec/unit/shell_out_spec.rb
1786
+ - spec/unit/shell_spec.rb
1787
+ - spec/unit/user_spec.rb
1788
+ - spec/unit/util/backup_spec.rb
1789
+ - spec/unit/util/diff_spec.rb
1569
1790
  - spec/unit/util/file_edit_spec.rb
1791
+ - spec/unit/util/selinux_spec.rb
1792
+ - spec/unit/version/platform_spec.rb
1570
1793
  - spec/unit/version_class_spec.rb
1794
+ - spec/unit/version_constraint/platform_spec.rb
1571
1795
  - spec/unit/version_constraint_spec.rb
1572
- - spec/unit/webui_user_spec.rb
1573
- - tasks/rspec.rb
1796
+ - bin/chef-client
1797
+ - bin/chef-solo
1798
+ - bin/knife
1799
+ - bin/chef-shell
1800
+ - bin/shef
1801
+ - bin/chef-apply
1802
+ - bin/chef-service-manager
1574
1803
  homepage: http://wiki.opscode.com/display/chef
1575
1804
  licenses: []
1576
1805
  metadata: {}
@@ -1580,17 +1809,17 @@ require_paths:
1580
1809
  - lib
1581
1810
  required_ruby_version: !ruby/object:Gem::Requirement
1582
1811
  requirements:
1583
- - - ! '>='
1812
+ - - '>='
1584
1813
  - !ruby/object:Gem::Version
1585
1814
  version: '0'
1586
1815
  required_rubygems_version: !ruby/object:Gem::Requirement
1587
1816
  requirements:
1588
- - - ! '>='
1817
+ - - '>='
1589
1818
  - !ruby/object:Gem::Version
1590
1819
  version: '0'
1591
1820
  requirements: []
1592
1821
  rubyforge_project:
1593
- rubygems_version: 2.4.1
1822
+ rubygems_version: 2.1.5
1594
1823
  signing_key:
1595
1824
  specification_version: 4
1596
1825
  summary: A systems integration framework, built to bring the benefits of configuration