chef 12.0.0.alpha.2-x86-mingw32 → 12.0.0.rc.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (628) hide show
  1. data/CONTRIBUTING.md +9 -0
  2. data/README.md +1 -1
  3. data/Rakefile +12 -0
  4. data/bin/chef-service-manager +1 -1
  5. data/bin/chef-windows-service +35 -0
  6. data/distro/common/html/_sources/ctl_chef_server.txt +307 -10
  7. data/distro/common/html/ctl_chef_client.html +3 -7
  8. data/distro/common/html/ctl_chef_server.html +609 -41
  9. data/distro/common/html/ctl_chef_shell.html +2 -2
  10. data/distro/common/html/ctl_chef_solo.html +1 -1
  11. data/distro/common/html/index.html +13 -13
  12. data/distro/common/html/knife.html +10 -10
  13. data/distro/common/html/knife_bootstrap.html +8 -8
  14. data/distro/common/html/knife_client.html +12 -12
  15. data/distro/common/html/knife_common_options.html +7 -7
  16. data/distro/common/html/knife_configure.html +3 -3
  17. data/distro/common/html/knife_cookbook.html +19 -19
  18. data/distro/common/html/knife_cookbook_site.html +28 -28
  19. data/distro/common/html/knife_data_bag.html +28 -13
  20. data/distro/common/html/knife_delete.html +2 -2
  21. data/distro/common/html/knife_deps.html +3 -3
  22. data/distro/common/html/knife_diff.html +4 -4
  23. data/distro/common/html/knife_download.html +3 -3
  24. data/distro/common/html/knife_edit.html +2 -2
  25. data/distro/common/html/knife_environment.html +14 -14
  26. data/distro/common/html/knife_exec.html +11 -11
  27. data/distro/common/html/knife_index_rebuild.html +2 -2
  28. data/distro/common/html/knife_list.html +3 -3
  29. data/distro/common/html/knife_node.html +23 -23
  30. data/distro/common/html/knife_raw.html +4 -4
  31. data/distro/common/html/knife_recipe_list.html +3 -3
  32. data/distro/common/html/knife_role.html +11 -11
  33. data/distro/common/html/knife_search.html +4 -4
  34. data/distro/common/html/knife_serve.html +3 -3
  35. data/distro/common/html/knife_show.html +3 -3
  36. data/distro/common/html/knife_ssh.html +7 -7
  37. data/distro/common/html/knife_ssl_check.html +7 -7
  38. data/distro/common/html/knife_ssl_fetch.html +9 -9
  39. data/distro/common/html/knife_status.html +3 -3
  40. data/distro/common/html/knife_tag.html +9 -9
  41. data/distro/common/html/knife_upload.html +3 -3
  42. data/distro/common/html/knife_user.html +9 -9
  43. data/distro/common/html/knife_using.html +11 -11
  44. data/distro/common/html/knife_xargs.html +14 -5
  45. data/distro/common/html/search.html +2 -2
  46. data/distro/common/html/searchindex.js +1 -1
  47. data/distro/common/man/man1/chef-shell.1 +2 -2
  48. data/distro/common/man/man1/knife-bootstrap.1 +7 -7
  49. data/distro/common/man/man1/knife-client.1 +10 -10
  50. data/distro/common/man/man1/knife-configure.1 +5 -5
  51. data/distro/common/man/man1/knife-cookbook-site.1 +24 -24
  52. data/distro/common/man/man1/knife-cookbook.1 +12 -12
  53. data/distro/common/man/man1/knife-data-bag.1 +34 -10
  54. data/distro/common/man/man1/knife-delete.1 +5 -5
  55. data/distro/common/man/man1/knife-deps.1 +5 -5
  56. data/distro/common/man/man1/knife-diff.1 +7 -7
  57. data/distro/common/man/man1/knife-download.1 +5 -5
  58. data/distro/common/man/man1/knife-edit.1 +5 -5
  59. data/distro/common/man/man1/knife-environment.1 +11 -11
  60. data/distro/common/man/man1/knife-exec.1 +11 -11
  61. data/distro/common/man/man1/knife-index-rebuild.1 +1 -1
  62. data/distro/common/man/man1/knife-list.1 +5 -5
  63. data/distro/common/man/man1/knife-node.1 +16 -16
  64. data/distro/common/man/man1/knife-raw.1 +6 -6
  65. data/distro/common/man/man1/knife-recipe-list.1 +1 -1
  66. data/distro/common/man/man1/knife-role.1 +7 -7
  67. data/distro/common/man/man1/knife-search.1 +6 -6
  68. data/distro/common/man/man1/knife-serve.1 +6 -6
  69. data/distro/common/man/man1/knife-show.1 +5 -5
  70. data/distro/common/man/man1/knife-ssh.1 +9 -9
  71. data/distro/common/man/man1/knife-ssl-check.1 +7 -7
  72. data/distro/common/man/man1/knife-ssl-fetch.1 +9 -9
  73. data/distro/common/man/man1/knife-status.1 +5 -5
  74. data/distro/common/man/man1/knife-tag.1 +8 -8
  75. data/distro/common/man/man1/knife-upload.1 +5 -5
  76. data/distro/common/man/man1/knife-user.1 +8 -8
  77. data/distro/common/man/man1/knife-xargs.1 +36 -10
  78. data/distro/common/man/man1/knife.1 +14 -14
  79. data/distro/common/man/man8/chef-client.8 +3 -10
  80. data/distro/common/man/man8/chef-solo.8 +1 -1
  81. data/ext/win32-eventlog/Rakefile +50 -0
  82. data/ext/win32-eventlog/chef-log.man +26 -0
  83. data/lib/chef/application.rb +313 -241
  84. data/lib/chef/application/apply.rb +10 -8
  85. data/lib/chef/application/client.rb +58 -33
  86. data/lib/chef/application/solo.rb +33 -12
  87. data/lib/chef/chef_fs/chef_fs_data_store.rb +1 -1
  88. data/lib/chef/chef_fs/command_line.rb +1 -1
  89. data/lib/chef/chef_fs/file_system/organization_invites_entry.rb +2 -1
  90. data/lib/chef/chef_fs/file_system/organization_members_entry.rb +2 -1
  91. data/lib/chef/chef_fs/file_system/rest_list_entry.rb +2 -1
  92. data/lib/chef/client.rb +18 -48
  93. data/lib/chef/config.rb +43 -11
  94. data/lib/chef/cookbook/cookbook_version_loader.rb +14 -7
  95. data/lib/chef/cookbook/metadata.rb +81 -38
  96. data/lib/chef/cookbook/syntax_check.rb +18 -52
  97. data/lib/chef/cookbook_loader.rb +1 -1
  98. data/lib/chef/cookbook_version.rb +58 -39
  99. data/lib/chef/data_bag.rb +2 -2
  100. data/lib/chef/deprecation/provider/file.rb +2 -1
  101. data/lib/chef/dsl/data_query.rb +2 -29
  102. data/lib/chef/dsl/recipe.rb +8 -22
  103. data/lib/chef/encrypted_data_bag_item/assertions.rb +1 -1
  104. data/lib/chef/encrypted_data_bag_item/check_encrypted.rb +56 -0
  105. data/lib/chef/encrypted_data_bag_item/encrypted_data_bag_item_assertions.rb +1 -1
  106. data/lib/chef/event_loggers/base.rb +62 -0
  107. data/lib/chef/event_loggers/windows_eventlog.rb +104 -0
  108. data/lib/chef/exceptions.rb +18 -1
  109. data/lib/chef/file_cache.rb +3 -2
  110. data/lib/chef/guard_interpreter/resource_guard_interpreter.rb +15 -6
  111. data/lib/chef/http.rb +20 -13
  112. data/lib/chef/http/ssl_policies.rb +2 -1
  113. data/lib/chef/json_compat.rb +9 -3
  114. data/lib/chef/knife.rb +2 -1
  115. data/lib/chef/knife/bootstrap.rb +12 -18
  116. data/lib/chef/knife/bootstrap/archlinux-gems.erb +2 -2
  117. data/lib/chef/knife/bootstrap/chef-aix.erb +2 -2
  118. data/lib/chef/knife/bootstrap/chef-full.erb +2 -2
  119. data/lib/chef/knife/cookbook_create.rb +1 -1
  120. data/lib/chef/knife/cookbook_site_share.rb +43 -8
  121. data/lib/chef/knife/core/bootstrap_context.rb +6 -11
  122. data/lib/chef/knife/core/object_loader.rb +5 -5
  123. data/lib/chef/knife/core/status_presenter.rb +156 -0
  124. data/lib/chef/knife/core/subcommand_loader.rb +6 -5
  125. data/lib/chef/knife/core/ui.rb +4 -4
  126. data/lib/chef/knife/data_bag_create.rb +7 -32
  127. data/lib/chef/knife/data_bag_edit.rb +24 -43
  128. data/lib/chef/knife/data_bag_from_file.rb +6 -31
  129. data/lib/chef/knife/data_bag_secret_options.rb +142 -0
  130. data/lib/chef/knife/data_bag_show.rb +19 -33
  131. data/lib/chef/knife/node_from_file.rb +9 -8
  132. data/lib/chef/knife/ssh.rb +0 -7
  133. data/lib/chef/knife/ssl_check.rb +70 -6
  134. data/lib/chef/knife/status.rb +11 -58
  135. data/lib/chef/mixin/command/unix.rb +2 -2
  136. data/lib/chef/mixin/convert_to_class_name.rb +54 -0
  137. data/lib/chef/mixin/descendants_tracker.rb +82 -0
  138. data/lib/chef/mixin/homebrew_user.rb +68 -0
  139. data/lib/chef/mixin/shell_out.rb +0 -4
  140. data/lib/chef/mixin/windows_architecture_helper.rb +16 -0
  141. data/lib/chef/mixin/windows_env_helper.rb +56 -0
  142. data/lib/chef/node.rb +2 -2
  143. data/lib/chef/node_map.rb +146 -0
  144. data/lib/chef/platform/provider_mapping.rb +11 -39
  145. data/lib/chef/platform/provider_priority_map.rb +80 -0
  146. data/lib/chef/platform/query_helpers.rb +5 -1
  147. data/lib/chef/platform/service_helpers.rb +113 -0
  148. data/lib/chef/provider.rb +24 -0
  149. data/lib/chef/provider/breakpoint.rb +2 -0
  150. data/lib/chef/provider/cookbook_file.rb +2 -0
  151. data/lib/chef/provider/cron.rb +1 -1
  152. data/lib/chef/provider/cron/unix.rb +13 -9
  153. data/lib/chef/provider/deploy.rb +3 -2
  154. data/lib/chef/provider/deploy/revision.rb +4 -2
  155. data/lib/chef/provider/deploy/timestamped.rb +2 -0
  156. data/lib/chef/provider/directory.rb +2 -0
  157. data/lib/chef/provider/dsc_script.rb +179 -0
  158. data/lib/chef/provider/env.rb +25 -10
  159. data/lib/chef/provider/env/windows.rb +9 -16
  160. data/lib/chef/provider/erl_call.rb +2 -0
  161. data/lib/chef/provider/execute.rb +5 -2
  162. data/lib/chef/provider/file.rb +2 -0
  163. data/lib/chef/provider/git.rb +51 -23
  164. data/lib/chef/provider/group/dscl.rb +2 -2
  165. data/lib/chef/provider/group/pw.rb +9 -13
  166. data/lib/chef/provider/http_request.rb +2 -0
  167. data/lib/chef/provider/link.rb +3 -0
  168. data/lib/chef/provider/log.rb +2 -0
  169. data/lib/chef/provider/lwrp_base.rb +11 -9
  170. data/lib/chef/provider/mount/mount.rb +1 -1
  171. data/lib/chef/provider/package/aix.rb +2 -0
  172. data/lib/chef/provider/package/apt.rb +2 -0
  173. data/lib/chef/provider/package/dpkg.rb +2 -0
  174. data/lib/chef/provider/package/easy_install.rb +2 -0
  175. data/lib/chef/provider/package/freebsd/pkg.rb +2 -1
  176. data/lib/chef/provider/package/freebsd/pkgng.rb +1 -1
  177. data/lib/chef/provider/package/freebsd/port.rb +1 -9
  178. data/lib/chef/provider/package/homebrew.rb +127 -0
  179. data/lib/chef/provider/package/ips.rb +2 -0
  180. data/lib/chef/provider/package/macports.rb +3 -0
  181. data/lib/chef/provider/package/pacman.rb +5 -4
  182. data/lib/chef/provider/package/paludis.rb +4 -2
  183. data/lib/chef/provider/package/portage.rb +4 -1
  184. data/lib/chef/provider/package/rpm.rb +2 -0
  185. data/lib/chef/provider/package/rubygems.rb +4 -0
  186. data/lib/chef/provider/package/smartos.rb +2 -0
  187. data/lib/chef/provider/package/solaris.rb +2 -0
  188. data/lib/chef/provider/package/windows.rb +5 -2
  189. data/lib/chef/provider/package/yum.rb +2 -0
  190. data/lib/chef/provider/powershell_script.rb +3 -1
  191. data/lib/chef/provider/remote_directory.rb +25 -10
  192. data/lib/chef/provider/route.rb +2 -0
  193. data/lib/chef/provider/ruby_block.rb +2 -0
  194. data/lib/chef/provider/script.rb +6 -0
  195. data/lib/chef/provider/service/aix.rb +128 -0
  196. data/lib/chef/provider/service/aixinit.rb +117 -0
  197. data/lib/chef/provider/service/arch.rb +6 -0
  198. data/lib/chef/provider/service/debian.rb +35 -29
  199. data/lib/chef/provider/service/freebsd.rb +7 -1
  200. data/lib/chef/provider/service/gentoo.rb +5 -1
  201. data/lib/chef/provider/service/init.rb +2 -0
  202. data/lib/chef/provider/service/insserv.rb +15 -8
  203. data/lib/chef/provider/service/invokercd.rb +6 -0
  204. data/lib/chef/provider/service/macosx.rb +4 -1
  205. data/lib/chef/provider/service/redhat.rb +9 -3
  206. data/lib/chef/provider/service/simple.rb +2 -0
  207. data/lib/chef/provider/service/solaris.rb +2 -0
  208. data/lib/chef/provider/service/systemd.rb +7 -0
  209. data/lib/chef/provider/service/upstart.rb +7 -0
  210. data/lib/chef/provider/service/windows.rb +5 -0
  211. data/lib/chef/provider/subversion.rb +2 -0
  212. data/lib/chef/provider/template.rb +1 -0
  213. data/lib/chef/provider/user/dscl.rb +3 -2
  214. data/lib/chef/provider/whyrun_safe_ruby_block.rb +2 -0
  215. data/lib/chef/provider_resolver.rb +103 -0
  216. data/lib/chef/providers.rb +6 -2
  217. data/lib/chef/recipe.rb +2 -0
  218. data/lib/chef/resource.rb +69 -78
  219. data/lib/chef/resource/apt_package.rb +3 -1
  220. data/lib/chef/resource/bash.rb +1 -0
  221. data/lib/chef/resource/bff_package.rb +0 -1
  222. data/lib/chef/resource/breakpoint.rb +1 -1
  223. data/lib/chef/resource/chef_gem.rb +1 -2
  224. data/lib/chef/resource/conditional.rb +26 -6
  225. data/lib/chef/resource/cookbook_file.rb +2 -3
  226. data/lib/chef/resource/csh.rb +1 -0
  227. data/lib/chef/resource/deploy.rb +0 -1
  228. data/lib/chef/resource/deploy_revision.rb +6 -1
  229. data/lib/chef/resource/directory.rb +1 -2
  230. data/lib/chef/resource/dpkg_package.rb +2 -1
  231. data/lib/chef/resource/dsc_script.rb +125 -0
  232. data/lib/chef/resource/easy_install_package.rb +2 -1
  233. data/lib/chef/resource/erl_call.rb +1 -0
  234. data/lib/chef/resource/execute.rb +26 -9
  235. data/lib/chef/resource/file.rb +1 -3
  236. data/lib/chef/resource/freebsd_package.rb +10 -23
  237. data/lib/chef/resource/gem_package.rb +2 -1
  238. data/lib/chef/resource/git.rb +2 -1
  239. data/lib/chef/resource/homebrew_package.rb +46 -0
  240. data/lib/chef/resource/http_request.rb +1 -0
  241. data/lib/chef/resource/ips_package.rb +3 -1
  242. data/lib/chef/resource/link.rb +1 -2
  243. data/lib/chef/resource/log.rb +4 -0
  244. data/lib/chef/resource/lwrp_base.rb +24 -15
  245. data/lib/chef/resource/macports_package.rb +3 -1
  246. data/lib/chef/resource/pacman_package.rb +2 -1
  247. data/lib/chef/resource/paludis_package.rb +3 -1
  248. data/lib/chef/resource/perl.rb +1 -0
  249. data/lib/chef/resource/powershell_script.rb +0 -2
  250. data/lib/chef/resource/python.rb +1 -1
  251. data/lib/chef/resource/remote_directory.rb +1 -2
  252. data/lib/chef/resource/remote_file.rb +1 -1
  253. data/lib/chef/resource/rpm_package.rb +2 -1
  254. data/lib/chef/resource/ruby.rb +1 -0
  255. data/lib/chef/resource/ruby_block.rb +3 -0
  256. data/lib/chef/resource/script.rb +2 -25
  257. data/lib/chef/resource/service.rb +0 -4
  258. data/lib/chef/resource/smartos_package.rb +3 -4
  259. data/lib/chef/resource/solaris_package.rb +7 -1
  260. data/lib/chef/resource/subversion.rb +0 -1
  261. data/lib/chef/resource/template.rb +2 -3
  262. data/lib/chef/resource/timestamped_deploy.rb +1 -2
  263. data/lib/chef/resource/whyrun_safe_ruby_block.rb +0 -1
  264. data/lib/chef/resource/windows_package.rb +3 -4
  265. data/lib/chef/resource/windows_script.rb +3 -0
  266. data/lib/chef/resource/windows_service.rb +2 -2
  267. data/lib/chef/resource/yum_package.rb +3 -1
  268. data/lib/chef/resource_collection.rb +50 -227
  269. data/lib/chef/resource_collection/resource_collection_serialization.rb +59 -0
  270. data/lib/chef/resource_collection/resource_list.rb +89 -0
  271. data/lib/chef/resource_collection/resource_set.rb +170 -0
  272. data/lib/chef/resources.rb +2 -0
  273. data/lib/chef/role.rb +1 -1
  274. data/lib/chef/run_context.rb +5 -1
  275. data/lib/chef/shell/ext.rb +1 -1
  276. data/lib/chef/util/backup.rb +3 -2
  277. data/lib/chef/util/dsc/configuration_generator.rb +115 -0
  278. data/lib/chef/util/dsc/lcm_output_parser.rb +133 -0
  279. data/lib/chef/util/dsc/local_configuration_manager.rb +141 -0
  280. data/lib/chef/util/dsc/resource_info.rb +26 -0
  281. data/lib/chef/util/path_helper.rb +12 -0
  282. data/lib/chef/util/powershell/cmdlet.rb +136 -0
  283. data/lib/chef/util/powershell/cmdlet_result.rb +46 -0
  284. data/lib/chef/version.rb +1 -1
  285. data/lib/chef/win32/api/system.rb +9 -0
  286. data/lib/chef/win32/version.rb +2 -0
  287. data/spec/.DS_Store +0 -0
  288. data/spec/data/.DS_Store +0 -0
  289. data/spec/data/bootstrap/test-hints.erb +1 -1
  290. data/spec/data/bootstrap/test.erb +1 -1
  291. data/spec/data/cb_version_cookbooks/cookbook2/files/test.txt +0 -0
  292. data/spec/data/cb_version_cookbooks/cookbook2/templates/test.erb +0 -0
  293. data/spec/data/cookbooks/ignorken/files/default/not_me.rb +2 -0
  294. data/spec/data/cookbooks/ignorken/templates/ubuntu-12.10/not_me.rb +2 -0
  295. data/spec/data/cookbooks/openldap/libraries/openldap.rb +4 -0
  296. data/spec/data/cookbooks/openldap/libraries/openldap/version.rb +3 -0
  297. data/spec/data/lwrp/.DS_Store +0 -0
  298. data/spec/data/lwrp/providers/.DS_Store +0 -0
  299. data/spec/data/lwrp/providers/buck_passer.rb +9 -2
  300. data/spec/data/lwrp/resources/.DS_Store +0 -0
  301. data/spec/data/lwrp/resources/foo.rb +3 -2
  302. data/spec/data/lwrp_override/.DS_Store +0 -0
  303. data/spec/data/lwrp_override/providers/.DS_Store +0 -0
  304. data/spec/data/lwrp_override/providers/buck_passer.rb +5 -10
  305. data/spec/data/lwrp_override/resources/.DS_Store +0 -0
  306. data/spec/data/lwrp_override/resources/foo.rb +4 -3
  307. data/spec/functional/assets/chefinittest +34 -0
  308. data/spec/functional/assets/testchefsubsys +11 -0
  309. data/spec/functional/dsl/reboot_pending_spec.rb +19 -16
  310. data/spec/functional/event_loggers/windows_eventlog_spec.rb +82 -0
  311. data/spec/functional/knife/cookbook_delete_spec.rb +3 -3
  312. data/spec/functional/knife/exec_spec.rb +1 -1
  313. data/spec/functional/resource/aix_service_spec.rb +136 -0
  314. data/spec/functional/resource/aixinit_service_spec.rb +211 -0
  315. data/spec/functional/resource/base.rb +1 -0
  316. data/spec/functional/resource/batch_spec.rb +4 -11
  317. data/spec/functional/resource/cron_spec.rb +7 -1
  318. data/spec/functional/resource/dsc_script_spec.rb +382 -0
  319. data/spec/functional/resource/env_spec.rb +54 -0
  320. data/spec/functional/resource/execute_spec.rb +113 -0
  321. data/spec/functional/resource/file_spec.rb +2 -0
  322. data/spec/functional/resource/group_spec.rb +7 -4
  323. data/spec/functional/resource/powershell_spec.rb +198 -185
  324. data/spec/functional/resource/rpm_spec.rb +5 -4
  325. data/spec/functional/resource/user/dscl_spec.rb +2 -1
  326. data/spec/functional/util/path_helper_spec.rb +37 -0
  327. data/spec/functional/util/powershell/cmdlet_spec.rb +114 -0
  328. data/spec/integration/client/client_spec.rb +1 -1
  329. data/spec/integration/client/ipv6_spec.rb +1 -1
  330. data/spec/integration/knife/chef_fs_data_store_spec.rb +1 -1
  331. data/spec/integration/knife/chef_repo_path_spec.rb +1 -1
  332. data/spec/integration/knife/chef_repository_file_system_spec.rb +1 -1
  333. data/spec/integration/knife/chefignore_spec.rb +1 -1
  334. data/spec/integration/knife/common_options_spec.rb +1 -1
  335. data/spec/integration/knife/cookbook_api_ipv6_spec.rb +2 -2
  336. data/spec/integration/knife/delete_spec.rb +1 -1
  337. data/spec/integration/knife/deps_spec.rb +1 -1
  338. data/spec/integration/knife/diff_spec.rb +1 -1
  339. data/spec/integration/knife/download_spec.rb +1 -1
  340. data/spec/integration/knife/list_spec.rb +1 -1
  341. data/spec/integration/knife/raw_spec.rb +1 -1
  342. data/spec/integration/knife/redirection_spec.rb +1 -1
  343. data/spec/integration/knife/serve_spec.rb +1 -1
  344. data/spec/integration/knife/show_spec.rb +1 -1
  345. data/spec/integration/knife/upload_spec.rb +4 -3
  346. data/spec/integration/recipes/lwrp_inline_resources_spec.rb +1 -1
  347. data/spec/spec_helper.rb +15 -0
  348. data/spec/support/chef_helpers.rb +1 -0
  349. data/spec/support/lib/chef/provider/snakeoil.rb +1 -0
  350. data/spec/support/lib/chef/resource/zen_follower.rb +1 -7
  351. data/spec/support/platform_helpers.rb +28 -0
  352. data/spec/support/shared/functional/file_resource.rb +6 -0
  353. data/spec/support/shared/functional/windows_script.rb +118 -0
  354. data/spec/support/shared/integration/integration_helper.rb +5 -2
  355. data/spec/support/shared/matchers/exit_with_code.rb +28 -0
  356. data/spec/support/shared/matchers/match_environment_variable.rb +17 -0
  357. data/spec/support/shared/shared_examples.rb +14 -0
  358. data/spec/support/shared/unit/execute_resource.rb +0 -7
  359. data/spec/support/shared/unit/resource/static_provider_resolution.rb +71 -0
  360. data/spec/support/shared/unit/script_resource.rb +1 -1
  361. data/spec/support/shared/unit/windows_script_resource.rb +35 -2
  362. data/spec/tiny_server.rb +1 -2
  363. data/spec/unit/api_client_spec.rb +5 -1
  364. data/spec/unit/application/{apply.rb → apply_spec.rb} +13 -5
  365. data/spec/unit/application/client_spec.rb +106 -13
  366. data/spec/unit/application/solo_spec.rb +25 -1
  367. data/spec/unit/client_spec.rb +1 -26
  368. data/spec/unit/config_fetcher_spec.rb +2 -1
  369. data/spec/unit/config_spec.rb +91 -2
  370. data/spec/unit/cookbook/cookbook_version_loader_spec.rb +8 -0
  371. data/spec/unit/cookbook/metadata_spec.rb +43 -6
  372. data/spec/unit/cookbook/syntax_check_spec.rb +8 -2
  373. data/spec/unit/cookbook_loader_spec.rb +4 -2
  374. data/spec/unit/cookbook_version_spec.rb +83 -2
  375. data/spec/unit/data_bag_item_spec.rb +5 -1
  376. data/spec/unit/data_bag_spec.rb +6 -1
  377. data/spec/unit/dsl/data_query_spec.rb +8 -110
  378. data/spec/unit/encrypted_data_bag_item/check_encrypted_spec.rb +95 -0
  379. data/spec/unit/encrypted_data_bag_item_spec.rb +16 -23
  380. data/spec/unit/environment_spec.rb +6 -2
  381. data/spec/unit/exceptions_spec.rb +6 -0
  382. data/spec/unit/guard_interpreter/resource_guard_interpreter_spec.rb +16 -15
  383. data/spec/unit/json_compat_spec.rb +12 -2
  384. data/spec/unit/knife/bootstrap_spec.rb +16 -63
  385. data/spec/unit/knife/cookbook_site_share_spec.rb +59 -6
  386. data/spec/unit/knife/core/bootstrap_context_spec.rb +8 -37
  387. data/spec/unit/knife/core/subcommand_loader_spec.rb +1 -1
  388. data/spec/unit/knife/core/ui_spec.rb +28 -0
  389. data/spec/unit/knife/data_bag_create_spec.rb +63 -71
  390. data/spec/unit/knife/data_bag_edit_spec.rb +83 -49
  391. data/spec/unit/knife/data_bag_from_file_spec.rb +104 -126
  392. data/spec/unit/knife/data_bag_secret_options_spec.rb +165 -0
  393. data/spec/unit/knife/data_bag_show_spec.rb +74 -72
  394. data/spec/unit/knife/environment_from_file_spec.rb +3 -2
  395. data/spec/unit/knife/ssl_check_spec.rb +46 -1
  396. data/spec/unit/knife/status_spec.rb +1 -2
  397. data/spec/unit/knife_spec.rb +18 -1
  398. data/spec/unit/lwrp_spec.rb +29 -8
  399. data/spec/unit/mixin/homebrew_user_spec.rb +100 -0
  400. data/spec/unit/node_map_spec.rb +155 -0
  401. data/spec/unit/node_spec.rb +11 -0
  402. data/spec/unit/platform/query_helpers_spec.rb +23 -0
  403. data/spec/unit/platform_spec.rb +23 -0
  404. data/spec/unit/provider/breakpoint_spec.rb +9 -9
  405. data/spec/unit/provider/cookbook_file/content_spec.rb +3 -3
  406. data/spec/unit/provider/cookbook_file_spec.rb +1 -1
  407. data/spec/unit/provider/cron/unix_spec.rb +78 -60
  408. data/spec/unit/provider/cron_spec.rb +175 -175
  409. data/spec/unit/provider/deploy/revision_spec.rb +22 -21
  410. data/spec/unit/provider/deploy/timestamped_spec.rb +3 -3
  411. data/spec/unit/provider/deploy_spec.rb +231 -230
  412. data/spec/unit/provider/directory_spec.rb +55 -55
  413. data/spec/unit/provider/dsc_script_spec.rb +174 -0
  414. data/spec/unit/provider/env/windows_spec.rb +70 -34
  415. data/spec/unit/provider/env_spec.rb +95 -49
  416. data/spec/unit/provider/erl_call_spec.rb +9 -9
  417. data/spec/unit/provider/execute_spec.rb +43 -27
  418. data/spec/unit/provider/file/content_spec.rb +9 -9
  419. data/spec/unit/provider/file_spec.rb +1 -1
  420. data/spec/unit/provider/git_spec.rb +221 -159
  421. data/spec/unit/provider/group/dscl_spec.rb +64 -63
  422. data/spec/unit/provider/group/gpasswd_spec.rb +14 -14
  423. data/spec/unit/provider/group/groupadd_spec.rb +33 -33
  424. data/spec/unit/provider/group/groupmod_spec.rb +23 -23
  425. data/spec/unit/provider/group/pw_spec.rb +21 -21
  426. data/spec/unit/provider/group/usermod_spec.rb +20 -20
  427. data/spec/unit/provider/group/windows_spec.rb +15 -15
  428. data/spec/unit/provider/group_spec.rb +76 -76
  429. data/spec/unit/provider/http_request_spec.rb +30 -30
  430. data/spec/unit/provider/ifconfig/aix_spec.rb +20 -20
  431. data/spec/unit/provider/ifconfig/debian_spec.rb +25 -9
  432. data/spec/unit/provider/ifconfig/redhat_spec.rb +13 -13
  433. data/spec/unit/provider/ifconfig_spec.rb +43 -43
  434. data/spec/unit/provider/link_spec.rb +60 -60
  435. data/spec/unit/provider/log_spec.rb +0 -4
  436. data/spec/unit/provider/mdadm_spec.rb +23 -23
  437. data/spec/unit/provider/mount/aix_spec.rb +17 -17
  438. data/spec/unit/provider/mount/mount_spec.rb +115 -119
  439. data/spec/unit/provider/mount/solaris_spec.rb +72 -72
  440. data/spec/unit/provider/mount/windows_spec.rb +24 -24
  441. data/spec/unit/provider/ohai_spec.rb +11 -11
  442. data/spec/unit/provider/package/aix_spec.rb +34 -34
  443. data/spec/unit/provider/package/apt_spec.rb +36 -36
  444. data/spec/unit/provider/package/dpkg_spec.rb +27 -27
  445. data/spec/unit/provider/package/easy_install_spec.rb +16 -16
  446. data/spec/unit/provider/package/freebsd/pkg_spec.rb +53 -53
  447. data/spec/unit/provider/package/freebsd/pkgng_spec.rb +24 -24
  448. data/spec/unit/provider/package/freebsd/port_spec.rb +45 -35
  449. data/spec/unit/provider/package/homebrew_spec.rb +266 -0
  450. data/spec/unit/provider/package/ips_spec.rb +34 -34
  451. data/spec/unit/provider/package/macports_spec.rb +49 -49
  452. data/spec/unit/provider/package/pacman_spec.rb +35 -39
  453. data/spec/unit/provider/package/paludis_spec.rb +20 -20
  454. data/spec/unit/provider/package/portage_spec.rb +38 -38
  455. data/spec/unit/provider/package/rpm_spec.rb +29 -29
  456. data/spec/unit/provider/package/rubygems_spec.rb +284 -270
  457. data/spec/unit/provider/package/smartos_spec.rb +15 -15
  458. data/spec/unit/provider/package/solaris_spec.rb +35 -35
  459. data/spec/unit/provider/package/windows/msi_spec.rb +3 -3
  460. data/spec/unit/provider/package/windows_spec.rb +6 -6
  461. data/spec/unit/provider/package/yum_spec.rb +416 -416
  462. data/spec/unit/provider/package/zypper_spec.rb +47 -47
  463. data/spec/unit/provider/package_spec.rb +107 -107
  464. data/spec/unit/provider/powershell_spec.rb +1 -1
  465. data/spec/unit/provider/registry_key_spec.rb +61 -61
  466. data/spec/unit/provider/remote_directory_spec.rb +36 -36
  467. data/spec/unit/provider/remote_file/cache_control_data_spec.rb +24 -24
  468. data/spec/unit/provider/remote_file/content_spec.rb +45 -45
  469. data/spec/unit/provider/remote_file/fetcher_spec.rb +9 -9
  470. data/spec/unit/provider/remote_file/ftp_spec.rb +32 -32
  471. data/spec/unit/provider/remote_file/http_spec.rb +44 -44
  472. data/spec/unit/provider/remote_file/local_file_spec.rb +9 -9
  473. data/spec/unit/provider/remote_file_spec.rb +3 -3
  474. data/spec/unit/provider/route_spec.rb +63 -63
  475. data/spec/unit/provider/ruby_block_spec.rb +4 -4
  476. data/spec/unit/provider/script_spec.rb +12 -12
  477. data/spec/unit/provider/service/aix_service_spec.rb +181 -0
  478. data/spec/unit/provider/service/aixinit_service_spec.rb +269 -0
  479. data/spec/unit/provider/service/arch_service_spec.rb +48 -48
  480. data/spec/unit/provider/service/debian_service_spec.rb +40 -40
  481. data/spec/unit/provider/service/gentoo_service_spec.rb +28 -28
  482. data/spec/unit/provider/service/init_service_spec.rb +39 -39
  483. data/spec/unit/provider/service/insserv_service_spec.rb +8 -8
  484. data/spec/unit/provider/service/invokercd_service_spec.rb +35 -35
  485. data/spec/unit/provider/service/macosx_spec.rb +49 -49
  486. data/spec/unit/provider/service/redhat_spec.rb +27 -27
  487. data/spec/unit/provider/service/simple_service_spec.rb +28 -28
  488. data/spec/unit/provider/service/solaris_smf_service_spec.rb +43 -46
  489. data/spec/unit/provider/service/systemd_service_spec.rb +63 -63
  490. data/spec/unit/provider/service/upstart_service_spec.rb +78 -78
  491. data/spec/unit/provider/service/windows_spec.rb +92 -92
  492. data/spec/unit/provider/service_spec.rb +40 -40
  493. data/spec/unit/provider/subversion_spec.rb +80 -80
  494. data/spec/unit/provider/template/content_spec.rb +9 -9
  495. data/spec/unit/provider/template_spec.rb +6 -6
  496. data/spec/unit/provider/user/dscl_spec.rb +170 -167
  497. data/spec/unit/provider/user/pw_spec.rb +48 -48
  498. data/spec/unit/provider/user/solaris_spec.rb +8 -8
  499. data/spec/unit/provider/user/useradd_spec.rb +1 -1
  500. data/spec/unit/provider/user/windows_spec.rb +26 -26
  501. data/spec/unit/provider/user_spec.rb +72 -72
  502. data/spec/unit/provider/whyrun_safe_ruby_block_spec.rb +4 -4
  503. data/spec/unit/provider_resolver_spec.rb +387 -0
  504. data/spec/unit/recipe_spec.rb +33 -12
  505. data/spec/unit/resource/apt_package_spec.rb +10 -13
  506. data/spec/unit/resource/bash_spec.rb +4 -4
  507. data/spec/unit/resource/batch_spec.rb +1 -1
  508. data/spec/unit/resource/breakpoint_spec.rb +11 -7
  509. data/spec/unit/resource/chef_gem_spec.rb +8 -15
  510. data/spec/unit/resource/conditional_action_not_nothing_spec.rb +2 -2
  511. data/spec/unit/resource/conditional_spec.rb +35 -16
  512. data/spec/unit/resource/cookbook_file_spec.rb +13 -13
  513. data/spec/unit/resource/cron_spec.rb +37 -37
  514. data/spec/unit/resource/csh_spec.rb +4 -4
  515. data/spec/unit/resource/deploy_revision_spec.rb +13 -18
  516. data/spec/unit/resource/deploy_spec.rb +60 -55
  517. data/spec/unit/resource/directory_spec.rb +18 -18
  518. data/spec/unit/resource/dpkg_package_spec.rb +8 -14
  519. data/spec/unit/resource/dsc_script_spec.rb +98 -0
  520. data/spec/unit/resource/easy_install_package_spec.rb +9 -18
  521. data/spec/unit/resource/env_spec.rb +12 -12
  522. data/spec/unit/resource/erl_call_spec.rb +11 -11
  523. data/spec/unit/resource/execute_spec.rb +5 -0
  524. data/spec/unit/resource/file_spec.rb +29 -29
  525. data/spec/unit/resource/freebsd_package_spec.rb +11 -12
  526. data/spec/unit/resource/gem_package_spec.rb +8 -15
  527. data/spec/unit/resource/git_spec.rb +12 -8
  528. data/spec/unit/resource/group_spec.rb +27 -27
  529. data/spec/unit/resource/homebrew_package_spec.rb +50 -0
  530. data/spec/unit/resource/http_request_spec.rb +6 -6
  531. data/spec/unit/resource/ifconfig_spec.rb +8 -8
  532. data/spec/unit/resource/ips_package_spec.rb +10 -13
  533. data/spec/unit/resource/link_spec.rb +25 -25
  534. data/spec/unit/resource/log_spec.rb +9 -9
  535. data/spec/unit/resource/macports_package_spec.rb +8 -13
  536. data/spec/unit/resource/mdadm_spec.rb +18 -18
  537. data/spec/unit/resource/mount_spec.rb +45 -45
  538. data/spec/unit/resource/ohai_spec.rb +7 -7
  539. data/spec/unit/resource/package_spec.rb +12 -12
  540. data/spec/unit/resource/pacman_package_spec.rb +8 -14
  541. data/spec/unit/resource/perl_spec.rb +4 -4
  542. data/spec/unit/resource/portage_package_spec.rb +3 -3
  543. data/spec/unit/resource/powershell_spec.rb +7 -7
  544. data/spec/unit/resource/python_spec.rb +4 -4
  545. data/spec/unit/resource/registry_key_spec.rb +32 -32
  546. data/spec/unit/resource/remote_directory_spec.rb +17 -17
  547. data/spec/unit/resource/remote_file_spec.rb +41 -41
  548. data/spec/unit/resource/route_spec.rb +19 -19
  549. data/spec/unit/resource/rpm_package_spec.rb +9 -13
  550. data/spec/unit/resource/ruby_block_spec.rb +8 -8
  551. data/spec/unit/resource/ruby_spec.rb +4 -4
  552. data/spec/unit/resource/scm_spec.rb +40 -40
  553. data/spec/unit/resource/script_spec.rb +2 -2
  554. data/spec/unit/resource/service_spec.rb +37 -47
  555. data/spec/unit/resource/smartos_package_spec.rb +10 -15
  556. data/spec/unit/resource/solaris_package_spec.rb +13 -28
  557. data/spec/unit/resource/subversion_spec.rb +16 -12
  558. data/spec/unit/resource/template_spec.rb +35 -35
  559. data/spec/unit/resource/timestamped_deploy_spec.rb +30 -4
  560. data/spec/unit/resource/user_spec.rb +23 -23
  561. data/spec/unit/resource/windows_package_spec.rb +17 -10
  562. data/spec/unit/resource/windows_service_spec.rb +9 -6
  563. data/spec/unit/resource/yum_package_spec.rb +16 -21
  564. data/spec/unit/resource_collection/resource_list_spec.rb +137 -0
  565. data/spec/unit/resource_collection/resource_set_spec.rb +199 -0
  566. data/spec/unit/resource_collection_spec.rb +73 -92
  567. data/spec/unit/resource_definition_spec.rb +38 -40
  568. data/spec/unit/resource_reporter_spec.rb +3 -3
  569. data/spec/unit/resource_spec.rb +68 -33
  570. data/spec/unit/rest_spec.rb +83 -76
  571. data/spec/unit/role_spec.rb +5 -0
  572. data/spec/unit/run_list_spec.rb +5 -1
  573. data/spec/unit/runner_spec.rb +245 -238
  574. data/spec/unit/shell/shell_ext_spec.rb +1 -1
  575. data/spec/unit/user_spec.rb +5 -1
  576. data/spec/unit/util/dsc/configuration_generator_spec.rb +171 -0
  577. data/spec/unit/util/dsc/lcm_output_parser_spec.rb +169 -0
  578. data/spec/unit/util/dsc/local_configuration_manager_spec.rb +139 -0
  579. data/spec/unit/util/path_helper_spec.rb +23 -1
  580. data/spec/unit/util/powershell/cmdlet_spec.rb +106 -0
  581. data/spec/unit/workstation_config_loader_spec.rb +1 -1
  582. metadata +303 -196
  583. checksums.yaml +0 -7
  584. data/distro/README +0 -2
  585. data/distro/arch/etc/conf.d/chef-client.conf +0 -5
  586. data/distro/arch/etc/conf.d/chef-expander.conf +0 -8
  587. data/distro/arch/etc/conf.d/chef-server-webui.conf +0 -10
  588. data/distro/arch/etc/conf.d/chef-server.conf +0 -10
  589. data/distro/arch/etc/conf.d/chef-solr.conf +0 -8
  590. data/distro/arch/etc/rc.d/chef-client +0 -90
  591. data/distro/arch/etc/rc.d/chef-expander +0 -78
  592. data/distro/arch/etc/rc.d/chef-server +0 -78
  593. data/distro/arch/etc/rc.d/chef-server-webui +0 -78
  594. data/distro/arch/etc/rc.d/chef-solr +0 -78
  595. data/distro/debian/etc/default/chef-client +0 -4
  596. data/distro/debian/etc/default/chef-expander +0 -8
  597. data/distro/debian/etc/default/chef-server +0 -9
  598. data/distro/debian/etc/default/chef-server-webui +0 -9
  599. data/distro/debian/etc/default/chef-solr +0 -8
  600. data/distro/debian/etc/init.d/chef-client +0 -212
  601. data/distro/debian/etc/init.d/chef-expander +0 -176
  602. data/distro/debian/etc/init.d/chef-server +0 -122
  603. data/distro/debian/etc/init.d/chef-server-webui +0 -123
  604. data/distro/debian/etc/init.d/chef-solr +0 -176
  605. data/distro/debian/etc/init/chef-client.conf +0 -17
  606. data/distro/debian/etc/init/chef-expander.conf +0 -17
  607. data/distro/debian/etc/init/chef-server-webui.conf +0 -17
  608. data/distro/debian/etc/init/chef-server.conf +0 -17
  609. data/distro/debian/etc/init/chef-solr.conf +0 -17
  610. data/distro/redhat/etc/init.d/chef-client +0 -121
  611. data/distro/redhat/etc/init.d/chef-expander +0 -104
  612. data/distro/redhat/etc/init.d/chef-server +0 -112
  613. data/distro/redhat/etc/init.d/chef-server-webui +0 -112
  614. data/distro/redhat/etc/init.d/chef-solr +0 -104
  615. data/distro/redhat/etc/logrotate.d/chef-client +0 -8
  616. data/distro/redhat/etc/logrotate.d/chef-expander +0 -8
  617. data/distro/redhat/etc/logrotate.d/chef-server +0 -8
  618. data/distro/redhat/etc/logrotate.d/chef-server-webui +0 -8
  619. data/distro/redhat/etc/logrotate.d/chef-solr +0 -8
  620. data/distro/redhat/etc/sysconfig/chef-client +0 -15
  621. data/distro/redhat/etc/sysconfig/chef-expander +0 -7
  622. data/distro/redhat/etc/sysconfig/chef-server +0 -14
  623. data/distro/redhat/etc/sysconfig/chef-server-webui +0 -14
  624. data/distro/redhat/etc/sysconfig/chef-solr +0 -8
  625. data/distro/windows/service_manager.rb +0 -20
  626. data/lib/chef/resource_platform_map.rb +0 -151
  627. data/spec/support/shared/matchers.rb +0 -17
  628. data/spec/unit/resource_platform_map_spec.rb +0 -164
@@ -214,6 +214,28 @@ describe Chef::Util::PathHelper do
214
214
  PathHelper.stub(:canonical_path).with("bandit").and_return("c:/Bo/Bandit")
215
215
  PathHelper.stub(:canonical_path).with("../bandit/bandit").and_return("c:/bandit/bandit")
216
216
  expect(PathHelper.paths_eql?("bandit", "../bandit/bandit")).to be_false
217
- end
217
+ end
218
+ end
219
+
220
+ describe "escape_glob" do
221
+ it "escapes characters reserved by glob" do
222
+ path = "C:\\this\\*path\\[needs]\\escaping?"
223
+ escaped_path = "C:\\\\this\\\\\\*path\\\\\\[needs\\]\\\\escaping\\?"
224
+ expect(PathHelper.escape_glob(path)).to eq(escaped_path)
225
+ end
226
+
227
+ context "when given more than one argument" do
228
+ it "joins, cleanpaths, and escapes characters reserved by glob" do
229
+ args = ["this/*path", "[needs]", "escaping?"]
230
+ escaped_path = if windows?
231
+ "this\\\\\\*path\\\\\\[needs\\]\\\\escaping\\?"
232
+ else
233
+ "this/\\*path/\\[needs\\]/escaping\\?"
234
+ end
235
+ expect(PathHelper).to receive(:join).with(*args).and_call_original
236
+ expect(PathHelper).to receive(:cleanpath).and_call_original
237
+ expect(PathHelper.escape_glob(*args)).to eq(escaped_path)
238
+ end
239
+ end
218
240
  end
219
241
  end
@@ -0,0 +1,106 @@
1
+ #
2
+ # Author:: Jay Mundrawala <jdm@getchef.com>
3
+ # Copyright:: Copyright (c) 2014 Chef Software, 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
+ require 'chef'
20
+ require 'chef/util/powershell/cmdlet'
21
+
22
+ describe Chef::Util::Powershell::Cmdlet do
23
+ before (:all) do
24
+ @node = Chef::Node.new
25
+ @cmdlet = Chef::Util::Powershell::Cmdlet.new(@node, 'Some-Commandlet')
26
+ end
27
+
28
+ describe '#validate_switch_name!' do
29
+ it 'should not raise an error if a name contains all upper case letters' do
30
+ @cmdlet.send(:validate_switch_name!, "HELLO")
31
+ end
32
+
33
+ it 'should not raise an error if the name contains all lower case letters' do
34
+ @cmdlet.send(:validate_switch_name!, "hello")
35
+ end
36
+
37
+ it 'should not raise an error if no special characters are used except _' do
38
+ @cmdlet.send(:validate_switch_name!, "hello_world")
39
+ end
40
+
41
+ %w{! @ # $ % ^ & * & * ( ) - = + \{ \} . ? < > \\ /}.each do |sym|
42
+ it "raises an Argument error if it configuration name contains #{sym}" do
43
+ expect {
44
+ @cmdlet.send(:validate_switch_name!, "Hello#{sym}")
45
+ }.to raise_error(ArgumentError)
46
+ end
47
+ end
48
+ end
49
+
50
+ describe '#escape_parameter_value' do
51
+ # Is this list really complete?
52
+ %w{` " # '}.each do |c|
53
+ it "escapse #{c}" do
54
+ @cmdlet.send(:escape_parameter_value, "stuff #{c}").should eql("stuff `#{c}")
55
+ end
56
+ end
57
+
58
+ it 'does not do anything to a string without special characters' do
59
+ @cmdlet.send(:escape_parameter_value, 'stuff').should eql('stuff')
60
+ end
61
+ end
62
+
63
+ describe '#escape_string_parameter_value' do
64
+ it "surrounds a string with ''" do
65
+ @cmdlet.send(:escape_string_parameter_value, 'stuff').should eql("'stuff'")
66
+ end
67
+ end
68
+
69
+ describe '#command_switches_string' do
70
+ it 'raises an ArgumentError if the key is not a symbol' do
71
+ expect {
72
+ @cmdlet.send(:command_switches_string, {'foo' => 'bar'})
73
+ }.to raise_error(ArgumentError)
74
+ end
75
+
76
+ it 'does not allow invalid switch names' do
77
+ expect {
78
+ @cmdlet.send(:command_switches_string, {:foo! => 'bar'})
79
+ }.to raise_error(ArgumentError)
80
+ end
81
+
82
+ it 'ignores switches with a false value' do
83
+ @cmdlet.send(:command_switches_string, {foo: false}).should eql('')
84
+ end
85
+
86
+ it 'should correctly handle a value type of string' do
87
+ @cmdlet.send(:command_switches_string, {foo: 'bar'}).should eql("-foo 'bar'")
88
+ end
89
+
90
+ it 'should correctly handle a value type of string even when it is 0 length' do
91
+ @cmdlet.send(:command_switches_string, {foo: ''}).should eql("-foo ''")
92
+ end
93
+
94
+ it 'should not quote integers' do
95
+ @cmdlet.send(:command_switches_string, {foo: 1}).should eql("-foo 1")
96
+ end
97
+
98
+ it 'should not quote floats' do
99
+ @cmdlet.send(:command_switches_string, {foo: 1.0}).should eql("-foo 1.0")
100
+ end
101
+
102
+ it 'has just the switch when the value is true' do
103
+ @cmdlet.send(:command_switches_string, {foo: true}).should eql("-foo")
104
+ end
105
+ end
106
+ end
@@ -241,7 +241,7 @@ describe Chef::WorkstationConfigLoader do
241
241
  t.path
242
242
  end
243
243
 
244
- after { File.unlink(explicit_config_location) }
244
+ after { File.unlink(explicit_config_location) if File.exists?(explicit_config_location) }
245
245
 
246
246
  context "and is valid" do
247
247
 
metadata CHANGED
@@ -1,350 +1,390 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.0.alpha.2
4
+ version: 12.0.0.rc.0
5
+ prerelease: 7
5
6
  platform: x86-mingw32
6
7
  authors:
7
8
  - Adam Jacob
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-09-15 00:00:00.000000000 Z
12
+ date: 2014-11-04 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: mixlib-config
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '2.0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: '2.0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: mixlib-cli
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '1.4'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '1.4'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: mixlib-log
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
53
  version: '1.3'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
61
  version: '1.3'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: mixlib-authentication
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
69
  version: '1.3'
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
77
  version: '1.3'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: mixlib-shellout
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - ">="
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
- version: 2.0.0.rc.0
76
- - - "<"
85
+ version: 2.0.0.rc.1
86
+ - - <
77
87
  - !ruby/object:Gem::Version
78
88
  version: '3.0'
79
89
  type: :runtime
80
90
  prerelease: false
81
91
  version_requirements: !ruby/object:Gem::Requirement
92
+ none: false
82
93
  requirements:
83
- - - ">="
94
+ - - ! '>='
84
95
  - !ruby/object:Gem::Version
85
- version: 2.0.0.rc.0
86
- - - "<"
96
+ version: 2.0.0.rc.1
97
+ - - <
87
98
  - !ruby/object:Gem::Version
88
99
  version: '3.0'
89
100
  - !ruby/object:Gem::Dependency
90
101
  name: ohai
91
102
  requirement: !ruby/object:Gem::Requirement
103
+ none: false
92
104
  requirements:
93
- - - ">="
105
+ - - ! '>='
94
106
  - !ruby/object:Gem::Version
95
- version: 7.6.0.rc.0
107
+ version: 7.6.0.rc.1
96
108
  type: :runtime
97
109
  prerelease: false
98
110
  version_requirements: !ruby/object:Gem::Requirement
111
+ none: false
99
112
  requirements:
100
- - - ">="
113
+ - - ! '>='
101
114
  - !ruby/object:Gem::Version
102
- version: 7.6.0.rc.0
115
+ version: 7.6.0.rc.1
103
116
  - !ruby/object:Gem::Dependency
104
117
  name: ffi-yajl
105
118
  requirement: !ruby/object:Gem::Requirement
119
+ none: false
106
120
  requirements:
107
- - - "~>"
121
+ - - ~>
108
122
  - !ruby/object:Gem::Version
109
- version: '1.0'
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.0.2
123
+ version: '1.2'
113
124
  type: :runtime
114
125
  prerelease: false
115
126
  version_requirements: !ruby/object:Gem::Requirement
127
+ none: false
116
128
  requirements:
117
- - - "~>"
129
+ - - ~>
118
130
  - !ruby/object:Gem::Version
119
- version: '1.0'
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: 1.0.2
131
+ version: '1.2'
123
132
  - !ruby/object:Gem::Dependency
124
133
  name: net-ssh
125
134
  requirement: !ruby/object:Gem::Requirement
135
+ none: false
126
136
  requirements:
127
- - - "~>"
137
+ - - ~>
128
138
  - !ruby/object:Gem::Version
129
139
  version: '2.6'
130
140
  type: :runtime
131
141
  prerelease: false
132
142
  version_requirements: !ruby/object:Gem::Requirement
143
+ none: false
133
144
  requirements:
134
- - - "~>"
145
+ - - ~>
135
146
  - !ruby/object:Gem::Version
136
147
  version: '2.6'
137
148
  - !ruby/object:Gem::Dependency
138
149
  name: net-ssh-multi
139
150
  requirement: !ruby/object:Gem::Requirement
151
+ none: false
140
152
  requirements:
141
- - - "~>"
153
+ - - ~>
142
154
  - !ruby/object:Gem::Version
143
155
  version: '1.1'
144
156
  type: :runtime
145
157
  prerelease: false
146
158
  version_requirements: !ruby/object:Gem::Requirement
159
+ none: false
147
160
  requirements:
148
- - - "~>"
161
+ - - ~>
149
162
  - !ruby/object:Gem::Version
150
163
  version: '1.1'
151
164
  - !ruby/object:Gem::Dependency
152
165
  name: highline
153
166
  requirement: !ruby/object:Gem::Requirement
167
+ none: false
154
168
  requirements:
155
- - - "~>"
169
+ - - ~>
156
170
  - !ruby/object:Gem::Version
157
171
  version: '1.6'
158
- - - ">="
172
+ - - ! '>='
159
173
  - !ruby/object:Gem::Version
160
174
  version: 1.6.9
161
175
  type: :runtime
162
176
  prerelease: false
163
177
  version_requirements: !ruby/object:Gem::Requirement
178
+ none: false
164
179
  requirements:
165
- - - "~>"
180
+ - - ~>
166
181
  - !ruby/object:Gem::Version
167
182
  version: '1.6'
168
- - - ">="
183
+ - - ! '>='
169
184
  - !ruby/object:Gem::Version
170
185
  version: 1.6.9
171
186
  - !ruby/object:Gem::Dependency
172
187
  name: erubis
173
188
  requirement: !ruby/object:Gem::Requirement
189
+ none: false
174
190
  requirements:
175
- - - "~>"
191
+ - - ~>
176
192
  - !ruby/object:Gem::Version
177
193
  version: '2.7'
178
194
  type: :runtime
179
195
  prerelease: false
180
196
  version_requirements: !ruby/object:Gem::Requirement
197
+ none: false
181
198
  requirements:
182
- - - "~>"
199
+ - - ~>
183
200
  - !ruby/object:Gem::Version
184
201
  version: '2.7'
185
202
  - !ruby/object:Gem::Dependency
186
203
  name: diff-lcs
187
204
  requirement: !ruby/object:Gem::Requirement
205
+ none: false
188
206
  requirements:
189
- - - "~>"
207
+ - - ~>
190
208
  - !ruby/object:Gem::Version
191
209
  version: '1.2'
192
- - - ">="
210
+ - - ! '>='
193
211
  - !ruby/object:Gem::Version
194
212
  version: 1.2.4
195
213
  type: :runtime
196
214
  prerelease: false
197
215
  version_requirements: !ruby/object:Gem::Requirement
216
+ none: false
198
217
  requirements:
199
- - - "~>"
218
+ - - ~>
200
219
  - !ruby/object:Gem::Version
201
220
  version: '1.2'
202
- - - ">="
221
+ - - ! '>='
203
222
  - !ruby/object:Gem::Version
204
223
  version: 1.2.4
205
224
  - !ruby/object:Gem::Dependency
206
225
  name: chef-zero
207
226
  requirement: !ruby/object:Gem::Requirement
227
+ none: false
208
228
  requirements:
209
- - - "~>"
229
+ - - ~>
210
230
  - !ruby/object:Gem::Version
211
- version: '3.1'
231
+ version: '3.2'
212
232
  type: :runtime
213
233
  prerelease: false
214
234
  version_requirements: !ruby/object:Gem::Requirement
235
+ none: false
215
236
  requirements:
216
- - - "~>"
237
+ - - ~>
217
238
  - !ruby/object:Gem::Version
218
- version: '3.1'
239
+ version: '3.2'
219
240
  - !ruby/object:Gem::Dependency
220
241
  name: pry
221
242
  requirement: !ruby/object:Gem::Requirement
243
+ none: false
222
244
  requirements:
223
- - - "~>"
245
+ - - ~>
224
246
  - !ruby/object:Gem::Version
225
247
  version: '0.9'
226
248
  type: :runtime
227
249
  prerelease: false
228
250
  version_requirements: !ruby/object:Gem::Requirement
251
+ none: false
229
252
  requirements:
230
- - - "~>"
253
+ - - ~>
231
254
  - !ruby/object:Gem::Version
232
255
  version: '0.9'
233
256
  - !ruby/object:Gem::Dependency
234
257
  name: plist
235
258
  requirement: !ruby/object:Gem::Requirement
259
+ none: false
236
260
  requirements:
237
- - - "~>"
261
+ - - ~>
238
262
  - !ruby/object:Gem::Version
239
263
  version: 3.1.0
240
264
  type: :runtime
241
265
  prerelease: false
242
266
  version_requirements: !ruby/object:Gem::Requirement
267
+ none: false
243
268
  requirements:
244
- - - "~>"
269
+ - - ~>
245
270
  - !ruby/object:Gem::Version
246
271
  version: 3.1.0
247
272
  - !ruby/object:Gem::Dependency
248
273
  name: rack
249
274
  requirement: !ruby/object:Gem::Requirement
275
+ none: false
250
276
  requirements:
251
- - - ">="
277
+ - - ! '>='
252
278
  - !ruby/object:Gem::Version
253
279
  version: '0'
254
280
  type: :development
255
281
  prerelease: false
256
282
  version_requirements: !ruby/object:Gem::Requirement
283
+ none: false
257
284
  requirements:
258
- - - ">="
285
+ - - ! '>='
259
286
  - !ruby/object:Gem::Version
260
287
  version: '0'
261
288
  - !ruby/object:Gem::Dependency
262
289
  name: rake
263
290
  requirement: !ruby/object:Gem::Requirement
291
+ none: false
264
292
  requirements:
265
- - - "~>"
293
+ - - ~>
266
294
  - !ruby/object:Gem::Version
267
295
  version: 10.1.0
268
296
  type: :development
269
297
  prerelease: false
270
298
  version_requirements: !ruby/object:Gem::Requirement
299
+ none: false
271
300
  requirements:
272
- - - "~>"
301
+ - - ~>
273
302
  - !ruby/object:Gem::Version
274
303
  version: 10.1.0
275
304
  - !ruby/object:Gem::Dependency
276
305
  name: rspec_junit_formatter
277
306
  requirement: !ruby/object:Gem::Requirement
307
+ none: false
278
308
  requirements:
279
- - - "~>"
309
+ - - ~>
280
310
  - !ruby/object:Gem::Version
281
311
  version: 0.1.0
282
312
  type: :development
283
313
  prerelease: false
284
314
  version_requirements: !ruby/object:Gem::Requirement
315
+ none: false
285
316
  requirements:
286
- - - "~>"
317
+ - - ~>
287
318
  - !ruby/object:Gem::Version
288
319
  version: 0.1.0
289
320
  - !ruby/object:Gem::Dependency
290
321
  name: rspec-core
291
322
  requirement: !ruby/object:Gem::Requirement
323
+ none: false
292
324
  requirements:
293
- - - "~>"
325
+ - - ~>
294
326
  - !ruby/object:Gem::Version
295
327
  version: 2.14.0
296
328
  type: :development
297
329
  prerelease: false
298
330
  version_requirements: !ruby/object:Gem::Requirement
331
+ none: false
299
332
  requirements:
300
- - - "~>"
333
+ - - ~>
301
334
  - !ruby/object:Gem::Version
302
335
  version: 2.14.0
303
336
  - !ruby/object:Gem::Dependency
304
337
  name: rspec-expectations
305
338
  requirement: !ruby/object:Gem::Requirement
339
+ none: false
306
340
  requirements:
307
- - - "~>"
341
+ - - ~>
308
342
  - !ruby/object:Gem::Version
309
343
  version: 2.14.0
310
344
  type: :development
311
345
  prerelease: false
312
346
  version_requirements: !ruby/object:Gem::Requirement
347
+ none: false
313
348
  requirements:
314
- - - "~>"
349
+ - - ~>
315
350
  - !ruby/object:Gem::Version
316
351
  version: 2.14.0
317
352
  - !ruby/object:Gem::Dependency
318
353
  name: rspec-mocks
319
354
  requirement: !ruby/object:Gem::Requirement
355
+ none: false
320
356
  requirements:
321
- - - "~>"
357
+ - - ~>
322
358
  - !ruby/object:Gem::Version
323
359
  version: 2.14.0
324
360
  type: :development
325
361
  prerelease: false
326
362
  version_requirements: !ruby/object:Gem::Requirement
363
+ none: false
327
364
  requirements:
328
- - - "~>"
365
+ - - ~>
329
366
  - !ruby/object:Gem::Version
330
367
  version: 2.14.0
331
368
  - !ruby/object:Gem::Dependency
332
369
  name: ffi
333
370
  requirement: !ruby/object:Gem::Requirement
371
+ none: false
334
372
  requirements:
335
- - - "~>"
373
+ - - ~>
336
374
  - !ruby/object:Gem::Version
337
375
  version: '1.9'
338
376
  type: :runtime
339
377
  prerelease: false
340
378
  version_requirements: !ruby/object:Gem::Requirement
379
+ none: false
341
380
  requirements:
342
- - - "~>"
381
+ - - ~>
343
382
  - !ruby/object:Gem::Version
344
383
  version: '1.9'
345
384
  - !ruby/object:Gem::Dependency
346
385
  name: windows-api
347
386
  requirement: !ruby/object:Gem::Requirement
387
+ none: false
348
388
  requirements:
349
389
  - - '='
350
390
  - !ruby/object:Gem::Version
@@ -352,6 +392,7 @@ dependencies:
352
392
  type: :runtime
353
393
  prerelease: false
354
394
  version_requirements: !ruby/object:Gem::Requirement
395
+ none: false
355
396
  requirements:
356
397
  - - '='
357
398
  - !ruby/object:Gem::Version
@@ -359,6 +400,7 @@ dependencies:
359
400
  - !ruby/object:Gem::Dependency
360
401
  name: windows-pr
361
402
  requirement: !ruby/object:Gem::Requirement
403
+ none: false
362
404
  requirements:
363
405
  - - '='
364
406
  - !ruby/object:Gem::Version
@@ -366,6 +408,7 @@ dependencies:
366
408
  type: :runtime
367
409
  prerelease: false
368
410
  version_requirements: !ruby/object:Gem::Requirement
411
+ none: false
369
412
  requirements:
370
413
  - - '='
371
414
  - !ruby/object:Gem::Version
@@ -373,6 +416,7 @@ dependencies:
373
416
  - !ruby/object:Gem::Dependency
374
417
  name: win32-api
375
418
  requirement: !ruby/object:Gem::Requirement
419
+ none: false
376
420
  requirements:
377
421
  - - '='
378
422
  - !ruby/object:Gem::Version
@@ -380,6 +424,7 @@ dependencies:
380
424
  type: :runtime
381
425
  prerelease: false
382
426
  version_requirements: !ruby/object:Gem::Requirement
427
+ none: false
383
428
  requirements:
384
429
  - - '='
385
430
  - !ruby/object:Gem::Version
@@ -387,6 +432,7 @@ dependencies:
387
432
  - !ruby/object:Gem::Dependency
388
433
  name: win32-dir
389
434
  requirement: !ruby/object:Gem::Requirement
435
+ none: false
390
436
  requirements:
391
437
  - - '='
392
438
  - !ruby/object:Gem::Version
@@ -394,6 +440,7 @@ dependencies:
394
440
  type: :runtime
395
441
  prerelease: false
396
442
  version_requirements: !ruby/object:Gem::Requirement
443
+ none: false
397
444
  requirements:
398
445
  - - '='
399
446
  - !ruby/object:Gem::Version
@@ -401,6 +448,7 @@ dependencies:
401
448
  - !ruby/object:Gem::Dependency
402
449
  name: win32-event
403
450
  requirement: !ruby/object:Gem::Requirement
451
+ none: false
404
452
  requirements:
405
453
  - - '='
406
454
  - !ruby/object:Gem::Version
@@ -408,6 +456,7 @@ dependencies:
408
456
  type: :runtime
409
457
  prerelease: false
410
458
  version_requirements: !ruby/object:Gem::Requirement
459
+ none: false
411
460
  requirements:
412
461
  - - '='
413
462
  - !ruby/object:Gem::Version
@@ -415,6 +464,7 @@ dependencies:
415
464
  - !ruby/object:Gem::Dependency
416
465
  name: win32-mutex
417
466
  requirement: !ruby/object:Gem::Requirement
467
+ none: false
418
468
  requirements:
419
469
  - - '='
420
470
  - !ruby/object:Gem::Version
@@ -422,6 +472,7 @@ dependencies:
422
472
  type: :runtime
423
473
  prerelease: false
424
474
  version_requirements: !ruby/object:Gem::Requirement
475
+ none: false
425
476
  requirements:
426
477
  - - '='
427
478
  - !ruby/object:Gem::Version
@@ -429,6 +480,7 @@ dependencies:
429
480
  - !ruby/object:Gem::Dependency
430
481
  name: win32-process
431
482
  requirement: !ruby/object:Gem::Requirement
483
+ none: false
432
484
  requirements:
433
485
  - - '='
434
486
  - !ruby/object:Gem::Version
@@ -436,6 +488,7 @@ dependencies:
436
488
  type: :runtime
437
489
  prerelease: false
438
490
  version_requirements: !ruby/object:Gem::Requirement
491
+ none: false
439
492
  requirements:
440
493
  - - '='
441
494
  - !ruby/object:Gem::Version
@@ -443,6 +496,7 @@ dependencies:
443
496
  - !ruby/object:Gem::Dependency
444
497
  name: win32-service
445
498
  requirement: !ruby/object:Gem::Requirement
499
+ none: false
446
500
  requirements:
447
501
  - - '='
448
502
  - !ruby/object:Gem::Version
@@ -450,6 +504,7 @@ dependencies:
450
504
  type: :runtime
451
505
  prerelease: false
452
506
  version_requirements: !ruby/object:Gem::Requirement
507
+ none: false
453
508
  requirements:
454
509
  - - '='
455
510
  - !ruby/object:Gem::Version
@@ -457,6 +512,7 @@ dependencies:
457
512
  - !ruby/object:Gem::Dependency
458
513
  name: win32-mmap
459
514
  requirement: !ruby/object:Gem::Requirement
515
+ none: false
460
516
  requirements:
461
517
  - - '='
462
518
  - !ruby/object:Gem::Version
@@ -464,6 +520,7 @@ dependencies:
464
520
  type: :runtime
465
521
  prerelease: false
466
522
  version_requirements: !ruby/object:Gem::Requirement
523
+ none: false
467
524
  requirements:
468
525
  - - '='
469
526
  - !ruby/object:Gem::Version
@@ -471,17 +528,35 @@ dependencies:
471
528
  - !ruby/object:Gem::Dependency
472
529
  name: wmi-lite
473
530
  requirement: !ruby/object:Gem::Requirement
531
+ none: false
474
532
  requirements:
475
- - - "~>"
533
+ - - ~>
476
534
  - !ruby/object:Gem::Version
477
535
  version: '1.0'
478
536
  type: :runtime
479
537
  prerelease: false
480
538
  version_requirements: !ruby/object:Gem::Requirement
539
+ none: false
481
540
  requirements:
482
- - - "~>"
541
+ - - ~>
483
542
  - !ruby/object:Gem::Version
484
543
  version: '1.0'
544
+ - !ruby/object:Gem::Dependency
545
+ name: win32-eventlog
546
+ requirement: !ruby/object:Gem::Requirement
547
+ none: false
548
+ requirements:
549
+ - - '='
550
+ - !ruby/object:Gem::Version
551
+ version: 0.6.1
552
+ type: :runtime
553
+ prerelease: false
554
+ version_requirements: !ruby/object:Gem::Requirement
555
+ none: false
556
+ requirements:
557
+ - - '='
558
+ - !ruby/object:Gem::Version
559
+ version: 0.6.1
485
560
  description: A systems integration framework, built to bring the benefits of configuration
486
561
  management to your entire infrastructure.
487
562
  email: adam@getchef.com
@@ -493,34 +568,18 @@ executables:
493
568
  - shef
494
569
  - chef-apply
495
570
  - chef-service-manager
496
- extensions: []
571
+ - chef-windows-service
572
+ extensions:
573
+ - ext/win32-eventlog/Rakefile
497
574
  extra_rdoc_files:
498
575
  - README.md
499
576
  - CONTRIBUTING.md
500
577
  - LICENSE
501
578
  files:
502
- - CONTRIBUTING.md
579
+ - Rakefile
503
580
  - LICENSE
504
581
  - README.md
505
- - Rakefile
506
- - bin/chef-apply
507
- - bin/chef-client
508
- - bin/chef-service-manager
509
- - bin/chef-shell
510
- - bin/chef-solo
511
- - bin/knife
512
- - bin/shef
513
- - distro/README
514
- - distro/arch/etc/conf.d/chef-client.conf
515
- - distro/arch/etc/conf.d/chef-expander.conf
516
- - distro/arch/etc/conf.d/chef-server-webui.conf
517
- - distro/arch/etc/conf.d/chef-server.conf
518
- - distro/arch/etc/conf.d/chef-solr.conf
519
- - distro/arch/etc/rc.d/chef-client
520
- - distro/arch/etc/rc.d/chef-expander
521
- - distro/arch/etc/rc.d/chef-server
522
- - distro/arch/etc/rc.d/chef-server-webui
523
- - distro/arch/etc/rc.d/chef-solr
582
+ - CONTRIBUTING.md
524
583
  - distro/common/html/_sources/ctl_chef_client.txt
525
584
  - distro/common/html/_sources/ctl_chef_server.txt
526
585
  - distro/common/html/_sources/ctl_chef_shell.txt
@@ -623,7 +682,6 @@ files:
623
682
  - distro/common/html/objects.inv
624
683
  - distro/common/html/search.html
625
684
  - distro/common/html/searchindex.js
626
- - distro/common/man/man1/README.md
627
685
  - distro/common/man/man1/chef-shell.1
628
686
  - distro/common/man/man1/knife-bootstrap.1
629
687
  - distro/common/man/man1/knife-client.1
@@ -656,9 +714,9 @@ files:
656
714
  - distro/common/man/man1/knife-user.1
657
715
  - distro/common/man/man1/knife-xargs.1
658
716
  - distro/common/man/man1/knife.1
717
+ - distro/common/man/man1/README.md
659
718
  - distro/common/man/man8/chef-client.8
660
719
  - distro/common/man/man8/chef-solo.8
661
- - distro/common/markdown/README
662
720
  - distro/common/markdown/man1/chef-shell.mkd
663
721
  - distro/common/markdown/man1/knife-bootstrap.mkd
664
722
  - distro/common/markdown/man1/knife-client.mkd
@@ -683,41 +741,9 @@ files:
683
741
  - distro/common/markdown/man8/chef-server.mkd
684
742
  - distro/common/markdown/man8/chef-solo.mkd
685
743
  - distro/common/markdown/man8/chef-solr.mkd
686
- - distro/debian/etc/default/chef-client
687
- - distro/debian/etc/default/chef-expander
688
- - distro/debian/etc/default/chef-server
689
- - distro/debian/etc/default/chef-server-webui
690
- - distro/debian/etc/default/chef-solr
691
- - distro/debian/etc/init.d/chef-client
692
- - distro/debian/etc/init.d/chef-expander
693
- - distro/debian/etc/init.d/chef-server
694
- - distro/debian/etc/init.d/chef-server-webui
695
- - distro/debian/etc/init.d/chef-solr
696
- - distro/debian/etc/init/chef-client.conf
697
- - distro/debian/etc/init/chef-expander.conf
698
- - distro/debian/etc/init/chef-server-webui.conf
699
- - distro/debian/etc/init/chef-server.conf
700
- - distro/debian/etc/init/chef-solr.conf
701
- - distro/redhat/etc/init.d/chef-client
702
- - distro/redhat/etc/init.d/chef-expander
703
- - distro/redhat/etc/init.d/chef-server
704
- - distro/redhat/etc/init.d/chef-server-webui
705
- - distro/redhat/etc/init.d/chef-solr
706
- - distro/redhat/etc/logrotate.d/chef-client
707
- - distro/redhat/etc/logrotate.d/chef-expander
708
- - distro/redhat/etc/logrotate.d/chef-server
709
- - distro/redhat/etc/logrotate.d/chef-server-webui
710
- - distro/redhat/etc/logrotate.d/chef-solr
711
- - distro/redhat/etc/sysconfig/chef-client
712
- - distro/redhat/etc/sysconfig/chef-expander
713
- - distro/redhat/etc/sysconfig/chef-server
714
- - distro/redhat/etc/sysconfig/chef-server-webui
715
- - distro/redhat/etc/sysconfig/chef-solr
716
- - distro/windows/service_manager.rb
717
- - lib/chef.rb
718
- - lib/chef/api_client.rb
744
+ - distro/common/markdown/README
719
745
  - lib/chef/api_client/registration.rb
720
- - lib/chef/application.rb
746
+ - lib/chef/api_client.rb
721
747
  - lib/chef/application/agent.rb
722
748
  - lib/chef/application/apply.rb
723
749
  - lib/chef/application/client.rb
@@ -725,8 +751,8 @@ files:
725
751
  - lib/chef/application/solo.rb
726
752
  - lib/chef/application/windows_service.rb
727
753
  - lib/chef/application/windows_service_manager.rb
754
+ - lib/chef/application.rb
728
755
  - lib/chef/applications.rb
729
- - lib/chef/chef_fs.rb
730
756
  - lib/chef/chef_fs/chef_fs_data_store.rb
731
757
  - lib/chef/chef_fs/command_line.rb
732
758
  - lib/chef/chef_fs/config.rb
@@ -745,7 +771,6 @@ files:
745
771
  - lib/chef/chef_fs/data_handler/role_data_handler.rb
746
772
  - lib/chef/chef_fs/data_handler/user_data_handler.rb
747
773
  - lib/chef/chef_fs/file_pattern.rb
748
- - lib/chef/chef_fs/file_system.rb
749
774
  - lib/chef/chef_fs/file_system/acl_dir.rb
750
775
  - lib/chef/chef_fs/file_system/acl_entry.rb
751
776
  - lib/chef/chef_fs/file_system/acls_dir.rb
@@ -788,11 +813,13 @@ files:
788
813
  - lib/chef/chef_fs/file_system/organization_members_entry.rb
789
814
  - lib/chef/chef_fs/file_system/rest_list_dir.rb
790
815
  - lib/chef/chef_fs/file_system/rest_list_entry.rb
816
+ - lib/chef/chef_fs/file_system.rb
791
817
  - lib/chef/chef_fs/knife.rb
792
- - lib/chef/chef_fs/parallelizer.rb
793
818
  - lib/chef/chef_fs/parallelizer/flatten_enumerable.rb
794
819
  - lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
820
+ - lib/chef/chef_fs/parallelizer.rb
795
821
  - lib/chef/chef_fs/path_utils.rb
822
+ - lib/chef/chef_fs.rb
796
823
  - lib/chef/client.rb
797
824
  - lib/chef/config.rb
798
825
  - lib/chef/config_fetcher.rb
@@ -819,7 +846,6 @@ files:
819
846
  - lib/chef/deprecation/provider/template.rb
820
847
  - lib/chef/deprecation/warnings.rb
821
848
  - lib/chef/digester.rb
822
- - lib/chef/dsl.rb
823
849
  - lib/chef/dsl/data_query.rb
824
850
  - lib/chef/dsl/include_attribute.rb
825
851
  - lib/chef/dsl/include_recipe.rb
@@ -827,8 +853,9 @@ files:
827
853
  - lib/chef/dsl/reboot_pending.rb
828
854
  - lib/chef/dsl/recipe.rb
829
855
  - lib/chef/dsl/registry_helper.rb
830
- - lib/chef/encrypted_data_bag_item.rb
856
+ - lib/chef/dsl.rb
831
857
  - lib/chef/encrypted_data_bag_item/assertions.rb
858
+ - lib/chef/encrypted_data_bag_item/check_encrypted.rb
832
859
  - lib/chef/encrypted_data_bag_item/decryption_failure.rb
833
860
  - lib/chef/encrypted_data_bag_item/decryptor.rb
834
861
  - lib/chef/encrypted_data_bag_item/encrypted_data_bag_item_assertions.rb
@@ -837,25 +864,27 @@ files:
837
864
  - lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
838
865
  - lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
839
866
  - lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
867
+ - lib/chef/encrypted_data_bag_item.rb
840
868
  - lib/chef/environment.rb
841
869
  - lib/chef/event_dispatch/base.rb
842
870
  - lib/chef/event_dispatch/dispatcher.rb
843
871
  - lib/chef/event_dispatch/events_output_stream.rb
872
+ - lib/chef/event_loggers/base.rb
873
+ - lib/chef/event_loggers/windows_eventlog.rb
844
874
  - lib/chef/exceptions.rb
845
- - lib/chef/file_access_control.rb
846
875
  - lib/chef/file_access_control/unix.rb
847
876
  - lib/chef/file_access_control/windows.rb
877
+ - lib/chef/file_access_control.rb
848
878
  - lib/chef/file_cache.rb
849
879
  - lib/chef/file_content_management/content_base.rb
850
- - lib/chef/file_content_management/deploy.rb
851
880
  - lib/chef/file_content_management/deploy/cp.rb
852
881
  - lib/chef/file_content_management/deploy/mv_unix.rb
853
882
  - lib/chef/file_content_management/deploy/mv_windows.rb
883
+ - lib/chef/file_content_management/deploy.rb
854
884
  - lib/chef/file_content_management/tempfile.rb
855
885
  - lib/chef/formatters/base.rb
856
886
  - lib/chef/formatters/doc.rb
857
887
  - lib/chef/formatters/error_descriptor.rb
858
- - lib/chef/formatters/error_inspectors.rb
859
888
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
860
889
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
861
890
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -864,15 +893,15 @@ files:
864
893
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
865
894
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
866
895
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
896
+ - lib/chef/formatters/error_inspectors.rb
867
897
  - lib/chef/formatters/error_mapper.rb
868
898
  - lib/chef/formatters/indentable_output_stream.rb
869
899
  - lib/chef/formatters/minimal.rb
870
900
  - lib/chef/guard_interpreter/default_guard_interpreter.rb
871
901
  - lib/chef/guard_interpreter/resource_guard_interpreter.rb
872
- - lib/chef/handler.rb
873
902
  - lib/chef/handler/error_report.rb
874
903
  - lib/chef/handler/json_file.rb
875
- - lib/chef/http.rb
904
+ - lib/chef/handler.rb
876
905
  - lib/chef/http/auth_credentials.rb
877
906
  - lib/chef/http/authenticator.rb
878
907
  - lib/chef/http/basic_client.rb
@@ -887,13 +916,13 @@ files:
887
916
  - lib/chef/http/simple.rb
888
917
  - lib/chef/http/ssl_policies.rb
889
918
  - lib/chef/http/validate_content_length.rb
919
+ - lib/chef/http.rb
890
920
  - lib/chef/json_compat.rb
891
- - lib/chef/knife.rb
892
- - lib/chef/knife/bootstrap.rb
893
- - lib/chef/knife/bootstrap/README.md
894
921
  - lib/chef/knife/bootstrap/archlinux-gems.erb
895
922
  - lib/chef/knife/bootstrap/chef-aix.erb
896
923
  - lib/chef/knife/bootstrap/chef-full.erb
924
+ - lib/chef/knife/bootstrap/README.md
925
+ - lib/chef/knife/bootstrap.rb
897
926
  - lib/chef/knife/client_bulk_delete.rb
898
927
  - lib/chef/knife/client_create.rb
899
928
  - lib/chef/knife/client_delete.rb
@@ -927,6 +956,7 @@ files:
927
956
  - lib/chef/knife/core/node_editor.rb
928
957
  - lib/chef/knife/core/node_presenter.rb
929
958
  - lib/chef/knife/core/object_loader.rb
959
+ - lib/chef/knife/core/status_presenter.rb
930
960
  - lib/chef/knife/core/subcommand_loader.rb
931
961
  - lib/chef/knife/core/text_formatter.rb
932
962
  - lib/chef/knife/core/ui.rb
@@ -935,6 +965,7 @@ files:
935
965
  - lib/chef/knife/data_bag_edit.rb
936
966
  - lib/chef/knife/data_bag_from_file.rb
937
967
  - lib/chef/knife/data_bag_list.rb
968
+ - lib/chef/knife/data_bag_secret_options.rb
938
969
  - lib/chef/knife/data_bag_show.rb
939
970
  - lib/chef/knife/delete.rb
940
971
  - lib/chef/knife/deps.rb
@@ -991,21 +1022,24 @@ files:
991
1022
  - lib/chef/knife/user_reregister.rb
992
1023
  - lib/chef/knife/user_show.rb
993
1024
  - lib/chef/knife/xargs.rb
1025
+ - lib/chef/knife.rb
994
1026
  - lib/chef/local_mode.rb
995
1027
  - lib/chef/log.rb
996
1028
  - lib/chef/mash.rb
997
1029
  - lib/chef/mixin/checksum.rb
998
- - lib/chef/mixin/command.rb
999
1030
  - lib/chef/mixin/command/unix.rb
1000
1031
  - lib/chef/mixin/command/windows.rb
1032
+ - lib/chef/mixin/command.rb
1001
1033
  - lib/chef/mixin/convert_to_class_name.rb
1002
1034
  - lib/chef/mixin/create_path.rb
1003
1035
  - lib/chef/mixin/deep_merge.rb
1004
1036
  - lib/chef/mixin/deprecation.rb
1037
+ - lib/chef/mixin/descendants_tracker.rb
1005
1038
  - lib/chef/mixin/enforce_ownership_and_permissions.rb
1006
1039
  - lib/chef/mixin/file_class.rb
1007
1040
  - lib/chef/mixin/from_file.rb
1008
1041
  - lib/chef/mixin/get_source_from_package.rb
1042
+ - lib/chef/mixin/homebrew_user.rb
1009
1043
  - lib/chef/mixin/language.rb
1010
1044
  - lib/chef/mixin/language_include_attribute.rb
1011
1045
  - lib/chef/mixin/language_include_recipe.rb
@@ -1017,6 +1051,7 @@ files:
1017
1051
  - lib/chef/mixin/template.rb
1018
1052
  - lib/chef/mixin/why_run.rb
1019
1053
  - lib/chef/mixin/windows_architecture_helper.rb
1054
+ - lib/chef/mixin/windows_env_helper.rb
1020
1055
  - lib/chef/mixin/xml_escape.rb
1021
1056
  - lib/chef/mixins.rb
1022
1057
  - lib/chef/monkey_patches/file.rb
@@ -1033,39 +1068,41 @@ files:
1033
1068
  - lib/chef/monkey_patches/uri.rb
1034
1069
  - lib/chef/monologger.rb
1035
1070
  - lib/chef/nil_argument.rb
1036
- - lib/chef/node.rb
1037
1071
  - lib/chef/node/attribute.rb
1038
1072
  - lib/chef/node/attribute_collections.rb
1039
1073
  - lib/chef/node/immutable_collections.rb
1074
+ - lib/chef/node.rb
1075
+ - lib/chef/node_map.rb
1040
1076
  - lib/chef/null_logger.rb
1041
- - lib/chef/platform.rb
1042
1077
  - lib/chef/platform/provider_mapping.rb
1078
+ - lib/chef/platform/provider_priority_map.rb
1043
1079
  - lib/chef/platform/query_helpers.rb
1044
1080
  - lib/chef/platform/rebooter.rb
1045
- - lib/chef/policy_builder.rb
1081
+ - lib/chef/platform/service_helpers.rb
1082
+ - lib/chef/platform.rb
1046
1083
  - lib/chef/policy_builder/expand_node_object.rb
1047
1084
  - lib/chef/policy_builder/policyfile.rb
1048
- - lib/chef/provider.rb
1085
+ - lib/chef/policy_builder.rb
1049
1086
  - lib/chef/provider/batch.rb
1050
1087
  - lib/chef/provider/breakpoint.rb
1051
- - lib/chef/provider/cookbook_file.rb
1052
1088
  - lib/chef/provider/cookbook_file/content.rb
1053
- - lib/chef/provider/cron.rb
1089
+ - lib/chef/provider/cookbook_file.rb
1054
1090
  - lib/chef/provider/cron/aix.rb
1055
1091
  - lib/chef/provider/cron/solaris.rb
1056
1092
  - lib/chef/provider/cron/unix.rb
1057
- - lib/chef/provider/deploy.rb
1093
+ - lib/chef/provider/cron.rb
1058
1094
  - lib/chef/provider/deploy/revision.rb
1059
1095
  - lib/chef/provider/deploy/timestamped.rb
1096
+ - lib/chef/provider/deploy.rb
1060
1097
  - lib/chef/provider/directory.rb
1061
- - lib/chef/provider/env.rb
1098
+ - lib/chef/provider/dsc_script.rb
1062
1099
  - lib/chef/provider/env/windows.rb
1100
+ - lib/chef/provider/env.rb
1063
1101
  - lib/chef/provider/erl_call.rb
1064
1102
  - lib/chef/provider/execute.rb
1065
- - lib/chef/provider/file.rb
1066
1103
  - lib/chef/provider/file/content.rb
1104
+ - lib/chef/provider/file.rb
1067
1105
  - lib/chef/provider/git.rb
1068
- - lib/chef/provider/group.rb
1069
1106
  - lib/chef/provider/group/aix.rb
1070
1107
  - lib/chef/provider/group/dscl.rb
1071
1108
  - lib/chef/provider/group/gpasswd.rb
@@ -1075,22 +1112,22 @@ files:
1075
1112
  - lib/chef/provider/group/suse.rb
1076
1113
  - lib/chef/provider/group/usermod.rb
1077
1114
  - lib/chef/provider/group/windows.rb
1115
+ - lib/chef/provider/group.rb
1078
1116
  - lib/chef/provider/http_request.rb
1079
- - lib/chef/provider/ifconfig.rb
1080
1117
  - lib/chef/provider/ifconfig/aix.rb
1081
1118
  - lib/chef/provider/ifconfig/debian.rb
1082
1119
  - lib/chef/provider/ifconfig/redhat.rb
1120
+ - lib/chef/provider/ifconfig.rb
1083
1121
  - lib/chef/provider/link.rb
1084
1122
  - lib/chef/provider/log.rb
1085
1123
  - lib/chef/provider/lwrp_base.rb
1086
1124
  - lib/chef/provider/mdadm.rb
1087
- - lib/chef/provider/mount.rb
1088
1125
  - lib/chef/provider/mount/aix.rb
1089
1126
  - lib/chef/provider/mount/mount.rb
1090
1127
  - lib/chef/provider/mount/solaris.rb
1091
1128
  - lib/chef/provider/mount/windows.rb
1129
+ - lib/chef/provider/mount.rb
1092
1130
  - lib/chef/provider/ohai.rb
1093
- - lib/chef/provider/package.rb
1094
1131
  - lib/chef/provider/package/aix.rb
1095
1132
  - lib/chef/provider/package/apt.rb
1096
1133
  - lib/chef/provider/package/dpkg.rb
@@ -1099,6 +1136,7 @@ files:
1099
1136
  - lib/chef/provider/package/freebsd/pkg.rb
1100
1137
  - lib/chef/provider/package/freebsd/pkgng.rb
1101
1138
  - lib/chef/provider/package/freebsd/port.rb
1139
+ - lib/chef/provider/package/homebrew.rb
1102
1140
  - lib/chef/provider/package/ips.rb
1103
1141
  - lib/chef/provider/package/macports.rb
1104
1142
  - lib/chef/provider/package/pacman.rb
@@ -1108,27 +1146,29 @@ files:
1108
1146
  - lib/chef/provider/package/rubygems.rb
1109
1147
  - lib/chef/provider/package/smartos.rb
1110
1148
  - lib/chef/provider/package/solaris.rb
1111
- - lib/chef/provider/package/windows.rb
1112
1149
  - lib/chef/provider/package/windows/msi.rb
1150
+ - lib/chef/provider/package/windows.rb
1113
1151
  - lib/chef/provider/package/yum-dump.py
1114
1152
  - lib/chef/provider/package/yum.rb
1115
1153
  - lib/chef/provider/package/zypper.rb
1154
+ - lib/chef/provider/package.rb
1116
1155
  - lib/chef/provider/powershell_script.rb
1117
1156
  - lib/chef/provider/reboot.rb
1118
1157
  - lib/chef/provider/registry_key.rb
1119
1158
  - lib/chef/provider/remote_directory.rb
1120
- - lib/chef/provider/remote_file.rb
1121
1159
  - lib/chef/provider/remote_file/cache_control_data.rb
1122
1160
  - lib/chef/provider/remote_file/content.rb
1123
1161
  - lib/chef/provider/remote_file/fetcher.rb
1124
1162
  - lib/chef/provider/remote_file/ftp.rb
1125
1163
  - lib/chef/provider/remote_file/http.rb
1126
1164
  - lib/chef/provider/remote_file/local_file.rb
1165
+ - lib/chef/provider/remote_file.rb
1127
1166
  - lib/chef/provider/resource_update.rb
1128
1167
  - lib/chef/provider/route.rb
1129
1168
  - lib/chef/provider/ruby_block.rb
1130
1169
  - lib/chef/provider/script.rb
1131
- - lib/chef/provider/service.rb
1170
+ - lib/chef/provider/service/aix.rb
1171
+ - lib/chef/provider/service/aixinit.rb
1132
1172
  - lib/chef/provider/service/arch.rb
1133
1173
  - lib/chef/provider/service/debian.rb
1134
1174
  - lib/chef/provider/service/freebsd.rb
@@ -1143,24 +1183,26 @@ files:
1143
1183
  - lib/chef/provider/service/systemd.rb
1144
1184
  - lib/chef/provider/service/upstart.rb
1145
1185
  - lib/chef/provider/service/windows.rb
1186
+ - lib/chef/provider/service.rb
1146
1187
  - lib/chef/provider/subversion.rb
1147
- - lib/chef/provider/template.rb
1148
1188
  - lib/chef/provider/template/content.rb
1189
+ - lib/chef/provider/template.rb
1149
1190
  - lib/chef/provider/template_finder.rb
1150
- - lib/chef/provider/user.rb
1151
1191
  - lib/chef/provider/user/aix.rb
1152
1192
  - lib/chef/provider/user/dscl.rb
1153
1193
  - lib/chef/provider/user/pw.rb
1154
1194
  - lib/chef/provider/user/solaris.rb
1155
1195
  - lib/chef/provider/user/useradd.rb
1156
1196
  - lib/chef/provider/user/windows.rb
1197
+ - lib/chef/provider/user.rb
1157
1198
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1158
1199
  - lib/chef/provider/windows_script.rb
1200
+ - lib/chef/provider.rb
1201
+ - lib/chef/provider_resolver.rb
1159
1202
  - lib/chef/providers.rb
1160
1203
  - lib/chef/recipe.rb
1161
1204
  - lib/chef/request_id.rb
1162
1205
  - lib/chef/reserved_names.rb
1163
- - lib/chef/resource.rb
1164
1206
  - lib/chef/resource/apt_package.rb
1165
1207
  - lib/chef/resource/bash.rb
1166
1208
  - lib/chef/resource/batch.rb
@@ -1176,6 +1218,7 @@ files:
1176
1218
  - lib/chef/resource/deploy_revision.rb
1177
1219
  - lib/chef/resource/directory.rb
1178
1220
  - lib/chef/resource/dpkg_package.rb
1221
+ - lib/chef/resource/dsc_script.rb
1179
1222
  - lib/chef/resource/easy_install_package.rb
1180
1223
  - lib/chef/resource/env.rb
1181
1224
  - lib/chef/resource/erl_call.rb
@@ -1185,6 +1228,7 @@ files:
1185
1228
  - lib/chef/resource/gem_package.rb
1186
1229
  - lib/chef/resource/git.rb
1187
1230
  - lib/chef/resource/group.rb
1231
+ - lib/chef/resource/homebrew_package.rb
1188
1232
  - lib/chef/resource/http_request.rb
1189
1233
  - lib/chef/resource/ifconfig.rb
1190
1234
  - lib/chef/resource/ips_package.rb
@@ -1224,21 +1268,24 @@ files:
1224
1268
  - lib/chef/resource/windows_script.rb
1225
1269
  - lib/chef/resource/windows_service.rb
1226
1270
  - lib/chef/resource/yum_package.rb
1227
- - lib/chef/resource_collection.rb
1271
+ - lib/chef/resource.rb
1272
+ - lib/chef/resource_collection/resource_collection_serialization.rb
1273
+ - lib/chef/resource_collection/resource_list.rb
1274
+ - lib/chef/resource_collection/resource_set.rb
1228
1275
  - lib/chef/resource_collection/stepable_iterator.rb
1276
+ - lib/chef/resource_collection.rb
1229
1277
  - lib/chef/resource_definition.rb
1230
1278
  - lib/chef/resource_definition_list.rb
1231
- - lib/chef/resource_platform_map.rb
1232
1279
  - lib/chef/resource_reporter.rb
1233
1280
  - lib/chef/resources.rb
1234
1281
  - lib/chef/rest.rb
1235
1282
  - lib/chef/role.rb
1236
- - lib/chef/run_context.rb
1237
1283
  - lib/chef/run_context/cookbook_compiler.rb
1238
- - lib/chef/run_list.rb
1284
+ - lib/chef/run_context.rb
1239
1285
  - lib/chef/run_list/run_list_expansion.rb
1240
1286
  - lib/chef/run_list/run_list_item.rb
1241
1287
  - lib/chef/run_list/versioned_recipe_list.rb
1288
+ - lib/chef/run_list.rb
1242
1289
  - lib/chef/run_lock.rb
1243
1290
  - lib/chef/run_status.rb
1244
1291
  - lib/chef/runner.rb
@@ -1247,33 +1294,38 @@ files:
1247
1294
  - lib/chef/search/query.rb
1248
1295
  - lib/chef/server_api.rb
1249
1296
  - lib/chef/shef/ext.rb
1250
- - lib/chef/shell.rb
1251
1297
  - lib/chef/shell/ext.rb
1252
1298
  - lib/chef/shell/model_wrapper.rb
1253
1299
  - lib/chef/shell/shell_rest.rb
1254
1300
  - lib/chef/shell/shell_session.rb
1301
+ - lib/chef/shell.rb
1255
1302
  - lib/chef/shell_out.rb
1256
1303
  - lib/chef/tasks/chef_repo.rake
1257
1304
  - lib/chef/user.rb
1258
1305
  - lib/chef/util/backup.rb
1259
1306
  - lib/chef/util/diff.rb
1307
+ - lib/chef/util/dsc/configuration_generator.rb
1308
+ - lib/chef/util/dsc/lcm_output_parser.rb
1309
+ - lib/chef/util/dsc/local_configuration_manager.rb
1310
+ - lib/chef/util/dsc/resource_info.rb
1260
1311
  - lib/chef/util/editor.rb
1261
1312
  - lib/chef/util/file_edit.rb
1262
1313
  - lib/chef/util/path_helper.rb
1314
+ - lib/chef/util/powershell/cmdlet.rb
1315
+ - lib/chef/util/powershell/cmdlet_result.rb
1263
1316
  - lib/chef/util/selinux.rb
1264
1317
  - lib/chef/util/threaded_job_queue.rb
1265
- - lib/chef/util/windows.rb
1266
1318
  - lib/chef/util/windows/net_group.rb
1267
1319
  - lib/chef/util/windows/net_use.rb
1268
1320
  - lib/chef/util/windows/net_user.rb
1269
1321
  - lib/chef/util/windows/volume.rb
1270
- - lib/chef/version.rb
1322
+ - lib/chef/util/windows.rb
1271
1323
  - lib/chef/version/platform.rb
1324
+ - lib/chef/version.rb
1272
1325
  - lib/chef/version_class.rb
1273
- - lib/chef/version_constraint.rb
1274
1326
  - lib/chef/version_constraint/platform.rb
1327
+ - lib/chef/version_constraint.rb
1275
1328
  - lib/chef/whitelist.rb
1276
- - lib/chef/win32/api.rb
1277
1329
  - lib/chef/win32/api/error.rb
1278
1330
  - lib/chef/win32/api/file.rb
1279
1331
  - lib/chef/win32/api/installer.rb
@@ -1285,24 +1337,29 @@ files:
1285
1337
  - lib/chef/win32/api/synchronization.rb
1286
1338
  - lib/chef/win32/api/system.rb
1287
1339
  - lib/chef/win32/api/unicode.rb
1340
+ - lib/chef/win32/api.rb
1288
1341
  - lib/chef/win32/error.rb
1289
- - lib/chef/win32/file.rb
1290
1342
  - lib/chef/win32/file/info.rb
1343
+ - lib/chef/win32/file.rb
1291
1344
  - lib/chef/win32/handle.rb
1292
1345
  - lib/chef/win32/memory.rb
1293
1346
  - lib/chef/win32/mutex.rb
1294
1347
  - lib/chef/win32/process.rb
1295
1348
  - lib/chef/win32/registry.rb
1296
- - lib/chef/win32/security.rb
1297
1349
  - lib/chef/win32/security/ace.rb
1298
1350
  - lib/chef/win32/security/acl.rb
1299
1351
  - lib/chef/win32/security/securable_object.rb
1300
1352
  - lib/chef/win32/security/security_descriptor.rb
1301
1353
  - lib/chef/win32/security/sid.rb
1302
1354
  - lib/chef/win32/security/token.rb
1355
+ - lib/chef/win32/security.rb
1303
1356
  - lib/chef/win32/unicode.rb
1304
1357
  - lib/chef/win32/version.rb
1305
1358
  - lib/chef/workstation_config_loader.rb
1359
+ - lib/chef.rb
1360
+ - tasks/rspec.rb
1361
+ - spec/.DS_Store
1362
+ - spec/data/.DS_Store
1306
1363
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1307
1364
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1308
1365
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1332,11 +1389,11 @@ files:
1332
1389
  - spec/data/apt/var/www/apt/db/references.db
1333
1390
  - spec/data/apt/var/www/apt/db/release.caches.db
1334
1391
  - spec/data/apt/var/www/apt/db/version
1335
- - spec/data/apt/var/www/apt/dists/sid/Release
1336
1392
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1337
1393
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1338
1394
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1339
1395
  - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1396
+ - spec/data/apt/var/www/apt/dists/sid/Release
1340
1397
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1341
1398
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1342
1399
  - spec/data/bad-config.rb
@@ -1347,12 +1404,14 @@ files:
1347
1404
  - spec/data/bootstrap/secret.erb
1348
1405
  - spec/data/bootstrap/test-hints.erb
1349
1406
  - spec/data/bootstrap/test.erb
1350
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1407
+ - spec/data/cb_version_cookbooks/cookbook2/files/test.txt
1408
+ - spec/data/cb_version_cookbooks/cookbook2/templates/test.erb
1351
1409
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1352
1410
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1353
1411
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1354
1412
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1355
1413
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1414
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1356
1415
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1357
1416
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1358
1417
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1384,13 +1443,15 @@ files:
1384
1443
  - spec/data/cookbooks/borken/recipes/default.rb
1385
1444
  - spec/data/cookbooks/borken/templates/default/borken.erb
1386
1445
  - spec/data/cookbooks/chefignore
1446
+ - spec/data/cookbooks/ignorken/files/default/not_me.rb
1387
1447
  - spec/data/cookbooks/ignorken/metadata.rb
1388
1448
  - spec/data/cookbooks/ignorken/recipes/default.rb
1389
1449
  - spec/data/cookbooks/ignorken/recipes/ignoreme.rb
1450
+ - spec/data/cookbooks/ignorken/templates/ubuntu-12.10/not_me.rb
1390
1451
  - spec/data/cookbooks/java/files/default/java.response
1391
1452
  - spec/data/cookbooks/java/metadata.rb
1392
- - spec/data/cookbooks/name-mismatch-versionnumber/README.md
1393
1453
  - spec/data/cookbooks/name-mismatch-versionnumber/metadata.rb
1454
+ - spec/data/cookbooks/name-mismatch-versionnumber/README.md
1394
1455
  - spec/data/cookbooks/name-mismatch-versionnumber/recipes/default.rb
1395
1456
  - spec/data/cookbooks/openldap/attributes/default.rb
1396
1457
  - spec/data/cookbooks/openldap/attributes/smokey.rb
@@ -1406,6 +1467,8 @@ files:
1406
1467
  - spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file1.txt
1407
1468
  - spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file2.txt
1408
1469
  - spec/data/cookbooks/openldap/files/default/remotedir/subdir_with_no_file_just_a_subsubdir/the_subsubdir/some_file.txt
1470
+ - spec/data/cookbooks/openldap/libraries/openldap/version.rb
1471
+ - spec/data/cookbooks/openldap/libraries/openldap.rb
1409
1472
  - spec/data/cookbooks/openldap/metadata.rb
1410
1473
  - spec/data/cookbooks/openldap/recipes/default.rb
1411
1474
  - spec/data/cookbooks/openldap/recipes/gigantor.rb
@@ -1434,11 +1497,11 @@ files:
1434
1497
  - spec/data/git_bundles/sinatra-test-app-with-callback-files.gitbundle
1435
1498
  - spec/data/git_bundles/sinatra-test-app-with-symlinks.gitbundle
1436
1499
  - spec/data/git_bundles/sinatra-test-app.gitbundle
1437
- - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/README.md
1438
1500
  - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/metadata.rb
1501
+ - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/README.md
1439
1502
  - spec/data/incomplete-metadata-chef-repo/incomplete-metadata/recipes/default.rb
1440
- - spec/data/invalid-metadata-chef-repo/invalid-metadata/README.md
1441
1503
  - spec/data/invalid-metadata-chef-repo/invalid-metadata/metadata.rb
1504
+ - spec/data/invalid-metadata-chef-repo/invalid-metadata/README.md
1442
1505
  - spec/data/invalid-metadata-chef-repo/invalid-metadata/recipes/default.rb
1443
1506
  - spec/data/kitchen/chefignore
1444
1507
  - spec/data/kitchen/openldap/attributes/default.rb
@@ -1453,6 +1516,8 @@ files:
1453
1516
  - spec/data/knife_subcommand/test_explicit_category.rb
1454
1517
  - spec/data/knife_subcommand/test_name_mapping.rb
1455
1518
  - spec/data/knife_subcommand/test_yourself.rb
1519
+ - spec/data/lwrp/.DS_Store
1520
+ - spec/data/lwrp/providers/.DS_Store
1456
1521
  - spec/data/lwrp/providers/buck_passer.rb
1457
1522
  - spec/data/lwrp/providers/buck_passer_2.rb
1458
1523
  - spec/data/lwrp/providers/embedded_resource_accesses_providers_scope.rb
@@ -1460,11 +1525,15 @@ files:
1460
1525
  - spec/data/lwrp/providers/monkey_name_printer.rb
1461
1526
  - spec/data/lwrp/providers/paint_drying_watcher.rb
1462
1527
  - spec/data/lwrp/providers/thumb_twiddler.rb
1528
+ - spec/data/lwrp/resources/.DS_Store
1463
1529
  - spec/data/lwrp/resources/bar.rb
1464
1530
  - spec/data/lwrp/resources/foo.rb
1465
1531
  - spec/data/lwrp/resources_with_default_attributes/nodeattr.rb
1466
1532
  - spec/data/lwrp_const_scoping/resources/conflict.rb
1533
+ - spec/data/lwrp_override/.DS_Store
1534
+ - spec/data/lwrp_override/providers/.DS_Store
1467
1535
  - spec/data/lwrp_override/providers/buck_passer.rb
1536
+ - spec/data/lwrp_override/resources/.DS_Store
1468
1537
  - spec/data/lwrp_override/resources/foo.rb
1469
1538
  - spec/data/mac_users/10.7-8.plist.xml
1470
1539
  - spec/data/mac_users/10.7-8.shadow.xml
@@ -1529,6 +1598,16 @@ files:
1529
1598
  - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1530
1599
  - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1531
1600
  - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1601
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1602
+ - spec/data/run_context/cookbooks/test/attributes/george.rb
1603
+ - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1604
+ - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1605
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1606
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1607
+ - spec/data/run_context/cookbooks/test/recipes/default.rb
1608
+ - spec/data/run_context/cookbooks/test/recipes/one.rb
1609
+ - spec/data/run_context/cookbooks/test/recipes/two.rb
1610
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1532
1611
  - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1533
1612
  - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1534
1613
  - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
@@ -1544,16 +1623,6 @@ files:
1544
1623
  - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1545
1624
  - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1546
1625
  - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1547
- - spec/data/run_context/cookbooks/test/attributes/default.rb
1548
- - spec/data/run_context/cookbooks/test/attributes/george.rb
1549
- - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1550
- - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1551
- - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1552
- - spec/data/run_context/cookbooks/test/providers/provider.rb
1553
- - spec/data/run_context/cookbooks/test/recipes/default.rb
1554
- - spec/data/run_context/cookbooks/test/recipes/one.rb
1555
- - spec/data/run_context/cookbooks/test/recipes/two.rb
1556
- - spec/data/run_context/cookbooks/test/resources/resource.rb
1557
1626
  - spec/data/run_context/nodes/run_context.rb
1558
1627
  - spec/data/search_queries_to_transform.txt
1559
1628
  - spec/data/shef-config.rb
@@ -1563,8 +1632,8 @@ files:
1563
1632
  - spec/data/ssl/key.pem
1564
1633
  - spec/data/ssl/private_key.pem
1565
1634
  - spec/data/ssl/private_key_with_whitespace.pem
1566
- - spec/data/standalone_cookbook/Gemfile
1567
1635
  - spec/data/standalone_cookbook/chefignore
1636
+ - spec/data/standalone_cookbook/Gemfile
1568
1637
  - spec/data/standalone_cookbook/recipes/default.rb
1569
1638
  - spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb
1570
1639
  - spec/data/templates/seattle.txt
@@ -1573,14 +1642,17 @@ files:
1573
1642
  - spec/data/trusted_certs/opscode.pem
1574
1643
  - spec/data/trusted_certs/root.pem
1575
1644
  - spec/functional/application_spec.rb
1576
- - spec/functional/assets/PkgA.1.0.0.0.bff
1577
- - spec/functional/assets/PkgA.2.0.0.0.bff
1645
+ - spec/functional/assets/chefinittest
1578
1646
  - spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
1579
1647
  - spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
1580
1648
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1581
1649
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1650
+ - spec/functional/assets/PkgA.1.0.0.0.bff
1651
+ - spec/functional/assets/PkgA.2.0.0.0.bff
1652
+ - spec/functional/assets/testchefsubsys
1582
1653
  - spec/functional/dsl/reboot_pending_spec.rb
1583
1654
  - spec/functional/dsl/registry_helper_spec.rb
1655
+ - spec/functional/event_loggers/windows_eventlog_spec.rb
1584
1656
  - spec/functional/file_content_management/deploy_strategies_spec.rb
1585
1657
  - spec/functional/http/simple_spec.rb
1586
1658
  - spec/functional/knife/configure_spec.rb
@@ -1592,6 +1664,8 @@ files:
1592
1664
  - spec/functional/provider/remote_file/cache_control_data_spec.rb
1593
1665
  - spec/functional/provider/whyrun_safe_ruby_block_spec.rb
1594
1666
  - spec/functional/rebooter_spec.rb
1667
+ - spec/functional/resource/aix_service_spec.rb
1668
+ - spec/functional/resource/aixinit_service_spec.rb
1595
1669
  - spec/functional/resource/base.rb
1596
1670
  - spec/functional/resource/batch_spec.rb
1597
1671
  - spec/functional/resource/bff_spec.rb
@@ -1599,7 +1673,9 @@ files:
1599
1673
  - spec/functional/resource/cron_spec.rb
1600
1674
  - spec/functional/resource/deploy_revision_spec.rb
1601
1675
  - spec/functional/resource/directory_spec.rb
1676
+ - spec/functional/resource/dsc_script_spec.rb
1602
1677
  - spec/functional/resource/env_spec.rb
1678
+ - spec/functional/resource/execute_spec.rb
1603
1679
  - spec/functional/resource/file_spec.rb
1604
1680
  - spec/functional/resource/git_spec.rb
1605
1681
  - spec/functional/resource/group_spec.rb
@@ -1621,6 +1697,8 @@ files:
1621
1697
  - spec/functional/run_lock_spec.rb
1622
1698
  - spec/functional/shell_spec.rb
1623
1699
  - spec/functional/tiny_server_spec.rb
1700
+ - spec/functional/util/path_helper_spec.rb
1701
+ - spec/functional/util/powershell/cmdlet_spec.rb
1624
1702
  - spec/functional/version_spec.rb
1625
1703
  - spec/functional/win32/registry_helper_spec.rb
1626
1704
  - spec/functional/win32/security_spec.rb
@@ -1683,20 +1761,23 @@ files:
1683
1761
  - spec/support/shared/integration/app_server_support.rb
1684
1762
  - spec/support/shared/integration/integration_helper.rb
1685
1763
  - spec/support/shared/integration/knife_support.rb
1686
- - spec/support/shared/matchers.rb
1764
+ - spec/support/shared/matchers/exit_with_code.rb
1765
+ - spec/support/shared/matchers/match_environment_variable.rb
1766
+ - spec/support/shared/shared_examples.rb
1687
1767
  - spec/support/shared/unit/api_error_inspector.rb
1688
1768
  - spec/support/shared/unit/execute_resource.rb
1689
1769
  - spec/support/shared/unit/file_system_support.rb
1690
1770
  - spec/support/shared/unit/platform_introspector.rb
1691
1771
  - spec/support/shared/unit/provider/file.rb
1692
1772
  - spec/support/shared/unit/provider/useradd_based_user_provider.rb
1773
+ - spec/support/shared/unit/resource/static_provider_resolution.rb
1693
1774
  - spec/support/shared/unit/script_resource.rb
1694
1775
  - spec/support/shared/unit/windows_script_resource.rb
1695
1776
  - spec/tiny_server.rb
1696
1777
  - spec/unit/api_client/registration_spec.rb
1697
1778
  - spec/unit/api_client_spec.rb
1698
1779
  - spec/unit/application/agent_spec.rb
1699
- - spec/unit/application/apply.rb
1780
+ - spec/unit/application/apply_spec.rb
1700
1781
  - spec/unit/application/client_spec.rb
1701
1782
  - spec/unit/application/knife_spec.rb
1702
1783
  - spec/unit/application/server_spec.rb
@@ -1734,6 +1815,7 @@ files:
1734
1815
  - spec/unit/dsl/reboot_pending_spec.rb
1735
1816
  - spec/unit/dsl/recipe_spec.rb
1736
1817
  - spec/unit/dsl/regsitry_helper_spec.rb
1818
+ - spec/unit/encrypted_data_bag_item/check_encrypted_spec.rb
1737
1819
  - spec/unit/encrypted_data_bag_item_spec.rb
1738
1820
  - spec/unit/environment_spec.rb
1739
1821
  - spec/unit/exceptions_spec.rb
@@ -1793,6 +1875,7 @@ files:
1793
1875
  - spec/unit/knife/data_bag_create_spec.rb
1794
1876
  - spec/unit/knife/data_bag_edit_spec.rb
1795
1877
  - spec/unit/knife/data_bag_from_file_spec.rb
1878
+ - spec/unit/knife/data_bag_secret_options_spec.rb
1796
1879
  - spec/unit/knife/data_bag_show_spec.rb
1797
1880
  - spec/unit/knife/environment_compare_spec.rb
1798
1881
  - spec/unit/knife/environment_create_spec.rb
@@ -1843,6 +1926,7 @@ files:
1843
1926
  - spec/unit/mixin/deep_merge_spec.rb
1844
1927
  - spec/unit/mixin/deprecation_spec.rb
1845
1928
  - spec/unit/mixin/enforce_ownership_and_permissions_spec.rb
1929
+ - spec/unit/mixin/homebrew_user_spec.rb
1846
1930
  - spec/unit/mixin/params_validate_spec.rb
1847
1931
  - spec/unit/mixin/path_sanity_spec.rb
1848
1932
  - spec/unit/mixin/securable_spec.rb
@@ -1855,6 +1939,7 @@ files:
1855
1939
  - spec/unit/monologger_spec.rb
1856
1940
  - spec/unit/node/attribute_spec.rb
1857
1941
  - spec/unit/node/immutable_collections_spec.rb
1942
+ - spec/unit/node_map_spec.rb
1858
1943
  - spec/unit/node_spec.rb
1859
1944
  - spec/unit/platform/query_helpers_spec.rb
1860
1945
  - spec/unit/platform_spec.rb
@@ -1870,6 +1955,7 @@ files:
1870
1955
  - spec/unit/provider/deploy/timestamped_spec.rb
1871
1956
  - spec/unit/provider/deploy_spec.rb
1872
1957
  - spec/unit/provider/directory_spec.rb
1958
+ - spec/unit/provider/dsc_script_spec.rb
1873
1959
  - spec/unit/provider/env/windows_spec.rb
1874
1960
  - spec/unit/provider/env_spec.rb
1875
1961
  - spec/unit/provider/erl_call_spec.rb
@@ -1906,6 +1992,7 @@ files:
1906
1992
  - spec/unit/provider/package/freebsd/pkg_spec.rb
1907
1993
  - spec/unit/provider/package/freebsd/pkgng_spec.rb
1908
1994
  - spec/unit/provider/package/freebsd/port_spec.rb
1995
+ - spec/unit/provider/package/homebrew_spec.rb
1909
1996
  - spec/unit/provider/package/ips_spec.rb
1910
1997
  - spec/unit/provider/package/macports_spec.rb
1911
1998
  - spec/unit/provider/package/pacman_spec.rb
@@ -1933,6 +2020,8 @@ files:
1933
2020
  - spec/unit/provider/route_spec.rb
1934
2021
  - spec/unit/provider/ruby_block_spec.rb
1935
2022
  - spec/unit/provider/script_spec.rb
2023
+ - spec/unit/provider/service/aix_service_spec.rb
2024
+ - spec/unit/provider/service/aixinit_service_spec.rb
1936
2025
  - spec/unit/provider/service/arch_service_spec.rb
1937
2026
  - spec/unit/provider/service/debian_service_spec.rb
1938
2027
  - spec/unit/provider/service/freebsd_service_spec.rb
@@ -1958,6 +2047,7 @@ files:
1958
2047
  - spec/unit/provider/user/windows_spec.rb
1959
2048
  - spec/unit/provider/user_spec.rb
1960
2049
  - spec/unit/provider/whyrun_safe_ruby_block_spec.rb
2050
+ - spec/unit/provider_resolver_spec.rb
1961
2051
  - spec/unit/provider_spec.rb
1962
2052
  - spec/unit/pure_application_spec.rb
1963
2053
  - spec/unit/recipe_spec.rb
@@ -1976,6 +2066,7 @@ files:
1976
2066
  - spec/unit/resource/deploy_spec.rb
1977
2067
  - spec/unit/resource/directory_spec.rb
1978
2068
  - spec/unit/resource/dpkg_package_spec.rb
2069
+ - spec/unit/resource/dsc_script_spec.rb
1979
2070
  - spec/unit/resource/easy_install_package_spec.rb
1980
2071
  - spec/unit/resource/env_spec.rb
1981
2072
  - spec/unit/resource/erl_call_spec.rb
@@ -1985,6 +2076,7 @@ files:
1985
2076
  - spec/unit/resource/gem_package_spec.rb
1986
2077
  - spec/unit/resource/git_spec.rb
1987
2078
  - spec/unit/resource/group_spec.rb
2079
+ - spec/unit/resource/homebrew_package_spec.rb
1988
2080
  - spec/unit/resource/http_request_spec.rb
1989
2081
  - spec/unit/resource/ifconfig_spec.rb
1990
2082
  - spec/unit/resource/ips_package_spec.rb
@@ -2019,10 +2111,11 @@ files:
2019
2111
  - spec/unit/resource/windows_package_spec.rb
2020
2112
  - spec/unit/resource/windows_service_spec.rb
2021
2113
  - spec/unit/resource/yum_package_spec.rb
2114
+ - spec/unit/resource_collection/resource_list_spec.rb
2115
+ - spec/unit/resource_collection/resource_set_spec.rb
2022
2116
  - spec/unit/resource_collection/stepable_iterator_spec.rb
2023
2117
  - spec/unit/resource_collection_spec.rb
2024
2118
  - spec/unit/resource_definition_spec.rb
2025
- - spec/unit/resource_platform_map_spec.rb
2026
2119
  - spec/unit/resource_reporter_spec.rb
2027
2120
  - spec/unit/resource_spec.rb
2028
2121
  - spec/unit/rest/auth_credentials_spec.rb
@@ -2047,9 +2140,13 @@ files:
2047
2140
  - spec/unit/user_spec.rb
2048
2141
  - spec/unit/util/backup_spec.rb
2049
2142
  - spec/unit/util/diff_spec.rb
2143
+ - spec/unit/util/dsc/configuration_generator_spec.rb
2144
+ - spec/unit/util/dsc/lcm_output_parser_spec.rb
2145
+ - spec/unit/util/dsc/local_configuration_manager_spec.rb
2050
2146
  - spec/unit/util/editor_spec.rb
2051
2147
  - spec/unit/util/file_edit_spec.rb
2052
2148
  - spec/unit/util/path_helper_spec.rb
2149
+ - spec/unit/util/powershell/cmdlet_spec.rb
2053
2150
  - spec/unit/util/selinux_spec.rb
2054
2151
  - spec/unit/util/threaded_job_queue_spec.rb
2055
2152
  - spec/unit/version/platform_spec.rb
@@ -2058,30 +2155,40 @@ files:
2058
2155
  - spec/unit/version_constraint_spec.rb
2059
2156
  - spec/unit/windows_service_spec.rb
2060
2157
  - spec/unit/workstation_config_loader_spec.rb
2061
- - tasks/rspec.rb
2158
+ - bin/chef-client
2159
+ - bin/chef-solo
2160
+ - bin/knife
2161
+ - bin/chef-shell
2162
+ - bin/shef
2163
+ - bin/chef-apply
2164
+ - bin/chef-service-manager
2165
+ - bin/chef-windows-service
2166
+ - ext/win32-eventlog/Rakefile
2167
+ - ext/win32-eventlog/chef-log.man
2062
2168
  homepage: http://www.getchef.com
2063
2169
  licenses:
2064
2170
  - Apache-2.0
2065
- metadata: {}
2066
2171
  post_install_message:
2067
2172
  rdoc_options: []
2068
2173
  require_paths:
2069
2174
  - lib
2070
2175
  required_ruby_version: !ruby/object:Gem::Requirement
2176
+ none: false
2071
2177
  requirements:
2072
- - - ">="
2178
+ - - ! '>='
2073
2179
  - !ruby/object:Gem::Version
2074
2180
  version: 1.9.3
2075
2181
  required_rubygems_version: !ruby/object:Gem::Requirement
2182
+ none: false
2076
2183
  requirements:
2077
- - - ">"
2184
+ - - ! '>'
2078
2185
  - !ruby/object:Gem::Version
2079
2186
  version: 1.3.1
2080
2187
  requirements: []
2081
2188
  rubyforge_project:
2082
- rubygems_version: 2.2.2
2189
+ rubygems_version: 1.8.29
2083
2190
  signing_key:
2084
- specification_version: 4
2191
+ specification_version: 3
2085
2192
  summary: A systems integration framework, built to bring the benefits of configuration
2086
2193
  management to your entire infrastructure.
2087
2194
  test_files: []