chef 13.12.14-universal-mingw32 → 14.0.190-universal-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 (747) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +151 -0
  3. data/Gemfile +12 -9
  4. data/README.md +34 -32
  5. data/Rakefile +22 -18
  6. data/VERSION +1 -0
  7. data/acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml +33 -0
  8. data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +272 -0
  9. data/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml +57 -0
  10. data/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +68 -0
  11. data/acceptance/.shared/kitchen_acceptance/metadata.rb +1 -0
  12. data/acceptance/Gemfile +19 -0
  13. data/acceptance/Gemfile.lock +266 -0
  14. data/acceptance/README.md +137 -0
  15. data/acceptance/basics/.acceptance/acceptance-cookbook/.gitignore +2 -0
  16. data/acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb +3 -0
  17. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb +1 -0
  18. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb +1 -0
  19. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb +1 -0
  20. data/acceptance/basics/.kitchen.yml +4 -0
  21. data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +19 -0
  22. data/acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb +6 -0
  23. data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +8 -0
  24. data/acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore +2 -0
  25. data/acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb +3 -0
  26. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb +2 -0
  27. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb +2 -0
  28. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb +2 -0
  29. data/acceptance/data-collector/.acceptance/data-collector-test/.gitignore +16 -0
  30. data/acceptance/data-collector/.acceptance/data-collector-test/Berksfile +3 -0
  31. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +101 -0
  32. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile +3 -0
  33. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb +4 -0
  34. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb +4 -0
  35. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb +2 -0
  36. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb +4 -0
  37. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru +2 -0
  38. data/acceptance/data-collector/.acceptance/data-collector-test/metadata.rb +7 -0
  39. data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +44 -0
  40. data/acceptance/data-collector/.kitchen.yml +9 -0
  41. data/acceptance/data-collector/Berksfile +3 -0
  42. data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +208 -0
  43. data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +8 -0
  44. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore +2 -0
  45. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb +1 -0
  46. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb +1 -0
  47. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb +1 -0
  48. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb +61 -0
  49. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore +2 -0
  50. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb +43 -0
  51. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +41 -0
  52. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb +3 -0
  53. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb +1 -0
  54. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb +1 -0
  55. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb +1 -0
  56. data/acceptance/top-cookbooks/.gitignore +1 -0
  57. data/acceptance/top-cookbooks/.kitchen.chocolatey.yml +6 -0
  58. data/acceptance/top-cookbooks/.kitchen.iis.yml +4 -0
  59. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml +7 -0
  60. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml +7 -0
  61. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml +7 -0
  62. data/acceptance/top-cookbooks/.kitchen.powershell.yml +4 -0
  63. data/acceptance/top-cookbooks/.kitchen.sql_server.yml +5 -0
  64. data/acceptance/top-cookbooks/.kitchen.winbox.yml +8 -0
  65. data/acceptance/top-cookbooks/.kitchen.windows.yml +38 -0
  66. data/acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore +2 -0
  67. data/acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb +2 -0
  68. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb +1 -0
  69. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb +1 -0
  70. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb +1 -0
  71. data/acceptance/trivial/.kitchen.yml +7 -0
  72. data/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +5 -0
  73. data/acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore +2 -0
  74. data/acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb +2 -0
  75. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb +1 -0
  76. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb +1 -0
  77. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb +1 -0
  78. data/acceptance/windows-service/.kitchen.yml +7 -0
  79. data/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +58 -0
  80. data/chef-universal-mingw32.gemspec +2 -2
  81. data/chef.gemspec +10 -10
  82. data/distro/powershell/chef/Chef.PowerShell.dll +0 -0
  83. data/distro/powershell/chef/Newtonsoft.Json.dll +0 -0
  84. data/lib/chef/api_client.rb +1 -1
  85. data/lib/chef/api_client/registration.rb +10 -2
  86. data/lib/chef/api_client_v1.rb +7 -6
  87. data/lib/chef/application.rb +75 -46
  88. data/lib/chef/application/client.rb +17 -19
  89. data/lib/chef/application/solo.rb +13 -16
  90. data/lib/chef/application/windows_service.rb +5 -5
  91. data/lib/chef/audit/audit_event_proxy.rb +1 -1
  92. data/lib/chef/audit/audit_reporter.rb +12 -12
  93. data/lib/chef/audit/runner.rb +2 -2
  94. data/lib/chef/chef_fs/chef_fs_data_store.rb +17 -31
  95. data/lib/chef/chef_fs/command_line.rb +9 -9
  96. data/lib/chef/chef_fs/data_handler/acl_data_handler.rb +1 -1
  97. data/lib/chef/chef_fs/data_handler/policy_data_handler.rb +1 -1
  98. data/lib/chef/chef_fs/data_handler/policy_group_data_handler.rb +1 -1
  99. data/lib/chef/chef_fs/file_system/chef_server/cookbook_dir.rb +2 -2
  100. data/lib/chef/chef_fs/file_system/chef_server/policies_dir.rb +2 -2
  101. data/lib/chef/chef_fs/file_system/multiplexed_dir.rb +1 -1
  102. data/lib/chef/chef_fs/file_system/repository/base_file.rb +2 -2
  103. data/lib/chef/chef_fs/file_system_cache.rb +1 -1
  104. data/lib/chef/chef_fs/path_utils.rb +2 -2
  105. data/lib/chef/client.rb +61 -41
  106. data/lib/chef/config.rb +1 -2
  107. data/lib/chef/config_fetcher.rb +1 -1
  108. data/lib/chef/cookbook/chefignore.rb +2 -2
  109. data/lib/chef/cookbook/cookbook_collection.rb +2 -2
  110. data/lib/chef/cookbook/cookbook_version_loader.rb +0 -1
  111. data/lib/chef/cookbook/gem_installer.rb +4 -4
  112. data/lib/chef/cookbook/manifest_v2.rb +1 -1
  113. data/lib/chef/cookbook/metadata.rb +2 -3
  114. data/lib/chef/cookbook/remote_file_vendor.rb +4 -4
  115. data/lib/chef/cookbook/synchronizer.rb +2 -2
  116. data/lib/chef/cookbook/syntax_check.rb +4 -4
  117. data/lib/chef/cookbook_loader.rb +10 -2
  118. data/lib/chef/cookbook_site_streaming_uploader.rb +4 -4
  119. data/lib/chef/cookbook_uploader.rb +2 -3
  120. data/lib/chef/cookbook_version.rb +5 -11
  121. data/lib/chef/data_bag.rb +1 -3
  122. data/lib/chef/data_bag_item.rb +1 -7
  123. data/lib/chef/data_collector.rb +111 -35
  124. data/lib/chef/data_collector/messages.rb +2 -2
  125. data/lib/chef/data_collector/messages/helpers.rb +2 -4
  126. data/lib/chef/deprecated.rb +0 -4
  127. data/lib/chef/dsl/data_query.rb +1 -5
  128. data/lib/chef/dsl/include_attribute.rb +3 -7
  129. data/lib/chef/dsl/include_recipe.rb +1 -5
  130. data/lib/chef/dsl/platform_introspection.rb +9 -13
  131. data/lib/chef/dsl/reboot_pending.rb +1 -8
  132. data/lib/chef/dsl/recipe.rb +2 -12
  133. data/lib/chef/dsl/universal.rb +3 -3
  134. data/lib/chef/environment.rb +2 -4
  135. data/lib/chef/event_dispatch/dsl.rb +2 -2
  136. data/lib/chef/exceptions.rb +1 -1
  137. data/lib/chef/file_access_control/unix.rb +14 -14
  138. data/lib/chef/file_content_management/content_base.rb +3 -1
  139. data/lib/chef/file_content_management/deploy/cp.rb +2 -2
  140. data/lib/chef/file_content_management/deploy/mv_unix.rb +4 -4
  141. data/lib/chef/file_content_management/deploy/mv_windows.rb +1 -1
  142. data/lib/chef/file_content_management/tempfile.rb +1 -1
  143. data/lib/chef/formatters/error_inspectors/compile_error_inspector.rb +3 -3
  144. data/lib/chef/guard_interpreter/default_guard_interpreter.rb +3 -1
  145. data/lib/chef/guard_interpreter/resource_guard_interpreter.rb +2 -2
  146. data/lib/chef/handler.rb +1 -3
  147. data/lib/chef/handler/json_file.rb +1 -2
  148. data/lib/chef/http.rb +23 -11
  149. data/lib/chef/http/auth_credentials.rb +1 -1
  150. data/lib/chef/http/basic_client.rb +16 -17
  151. data/lib/chef/http/decompressor.rb +6 -6
  152. data/lib/chef/http/http_request.rb +5 -5
  153. data/lib/chef/http/json_output.rb +2 -2
  154. data/lib/chef/http/socketless_chef_zero_client.rb +2 -2
  155. data/lib/chef/http/validate_content_length.rb +5 -5
  156. data/lib/chef/knife.rb +1 -1
  157. data/lib/chef/knife/bootstrap.rb +12 -37
  158. data/lib/chef/knife/bootstrap/templates/chef-full.erb +7 -1
  159. data/lib/chef/knife/client_reregister.rb +1 -1
  160. data/lib/chef/knife/configure.rb +1 -3
  161. data/lib/chef/knife/cookbook_download.rb +2 -2
  162. data/lib/chef/knife/cookbook_metadata.rb +3 -3
  163. data/lib/chef/knife/cookbook_site_install.rb +2 -2
  164. data/lib/chef/knife/cookbook_site_share.rb +5 -5
  165. data/lib/chef/knife/cookbook_test.rb +2 -2
  166. data/lib/chef/knife/cookbook_upload.rb +2 -2
  167. data/lib/chef/knife/core/status_presenter.rb +22 -17
  168. data/lib/chef/knife/core/subcommand_loader.rb +1 -1
  169. data/lib/chef/knife/deps.rb +1 -1
  170. data/lib/chef/knife/environment_compare.rb +4 -4
  171. data/lib/chef/knife/exec.rb +3 -3
  172. data/lib/chef/knife/list.rb +1 -1
  173. data/lib/chef/knife/node_policy_set.rb +79 -0
  174. data/lib/chef/knife/osc_user_reregister.rb +1 -1
  175. data/lib/chef/knife/ssh.rb +35 -22
  176. data/lib/chef/knife/ssl_check.rb +3 -3
  177. data/lib/chef/knife/ssl_fetch.rb +1 -1
  178. data/lib/chef/knife/user_reregister.rb +1 -1
  179. data/lib/chef/knife/xargs.rb +1 -1
  180. data/lib/chef/mixin/api_version_request_handling.rb +2 -4
  181. data/lib/chef/mixin/create_path.rb +1 -1
  182. data/lib/chef/mixin/deprecation.rb +14 -14
  183. data/lib/chef/mixin/from_file.rb +5 -0
  184. data/lib/chef/mixin/get_source_from_package.rb +2 -2
  185. data/lib/chef/mixin/homebrew_user.rb +13 -2
  186. data/lib/chef/mixin/openssl_helper.rb +119 -0
  187. data/lib/chef/mixin/params_validate.rb +2 -8
  188. data/lib/chef/mixin/powershell_exec.rb +105 -0
  189. data/lib/chef/mixin/provides.rb +3 -2
  190. data/lib/chef/mixin/securable.rb +1 -5
  191. data/lib/chef/mixin/shell_out.rb +2 -2
  192. data/lib/chef/mixin/template.rb +1 -3
  193. data/lib/chef/mixin/user_context.rb +6 -3
  194. data/lib/chef/mixin/why_run.rb +6 -11
  195. data/lib/chef/monkey_patches/net_http.rb +7 -7
  196. data/lib/chef/monologger.rb +2 -86
  197. data/lib/chef/node.rb +30 -20
  198. data/lib/chef/node/attribute.rb +1 -6
  199. data/lib/chef/node/attribute_collections.rb +2 -2
  200. data/lib/chef/node/immutable_collections.rb +1 -1
  201. data/lib/chef/node/mixin/immutablize_array.rb +110 -3
  202. data/lib/chef/node/mixin/immutablize_hash.rb +111 -5
  203. data/lib/chef/node_map.rb +5 -23
  204. data/lib/chef/platform/query_helpers.rb +0 -12
  205. data/lib/chef/policy_builder/dynamic.rb +1 -1
  206. data/lib/chef/policy_builder/expand_node_object.rb +1 -1
  207. data/lib/chef/policy_builder/policyfile.rb +17 -1
  208. data/lib/chef/powershell.rb +55 -0
  209. data/lib/chef/property.rb +12 -34
  210. data/lib/chef/provider.rb +16 -39
  211. data/lib/chef/provider/apt_preference.rb +3 -3
  212. data/lib/chef/provider/apt_repository.rb +116 -34
  213. data/lib/chef/provider/batch.rb +1 -1
  214. data/lib/chef/provider/cookbook_file/content.rb +1 -1
  215. data/lib/chef/provider/cron.rb +10 -10
  216. data/lib/chef/provider/cron/unix.rb +3 -3
  217. data/lib/chef/provider/directory.rb +3 -3
  218. data/lib/chef/provider/dsc_resource.rb +4 -4
  219. data/lib/chef/provider/dsc_script.rb +4 -4
  220. data/lib/chef/provider/execute.rb +9 -5
  221. data/lib/chef/provider/file.rb +12 -12
  222. data/lib/chef/provider/git.rb +14 -14
  223. data/lib/chef/provider/group.rb +6 -6
  224. data/lib/chef/provider/group/aix.rb +1 -1
  225. data/lib/chef/provider/group/dscl.rb +4 -4
  226. data/lib/chef/provider/group/groupadd.rb +4 -4
  227. data/lib/chef/provider/group/groupmod.rb +3 -3
  228. data/lib/chef/provider/group/pw.rb +4 -4
  229. data/lib/chef/provider/group/windows.rb +2 -2
  230. data/lib/chef/provider/http_request.rb +12 -12
  231. data/lib/chef/provider/ifconfig.rb +6 -6
  232. data/lib/chef/provider/ifconfig/aix.rb +1 -1
  233. data/lib/chef/provider/ifconfig/debian.rb +3 -5
  234. data/lib/chef/provider/launchd.rb +1 -1
  235. data/lib/chef/provider/link.rb +6 -6
  236. data/lib/chef/provider/log.rb +1 -1
  237. data/lib/chef/provider/lwrp_base.rb +2 -2
  238. data/lib/chef/provider/mdadm.rb +10 -10
  239. data/lib/chef/provider/mount.rb +12 -12
  240. data/lib/chef/provider/mount/aix.rb +20 -21
  241. data/lib/chef/provider/mount/mount.rb +20 -15
  242. data/lib/chef/provider/mount/solaris.rb +6 -6
  243. data/lib/chef/provider/mount/windows.rb +7 -7
  244. data/lib/chef/provider/noop.rb +1 -1
  245. data/lib/chef/provider/ohai.rb +1 -1
  246. data/lib/chef/provider/osx_profile.rb +8 -8
  247. data/lib/chef/provider/package.rb +56 -42
  248. data/lib/chef/provider/package/apt.rb +24 -14
  249. data/lib/chef/provider/package/{aix.rb → bff.rb} +12 -12
  250. data/lib/chef/provider/package/cab.rb +3 -3
  251. data/lib/chef/provider/package/chocolatey.rb +1 -9
  252. data/lib/chef/provider/package/dnf/python_helper.rb +6 -6
  253. data/lib/chef/provider/package/dpkg.rb +9 -9
  254. data/lib/chef/provider/package/freebsd/base.rb +2 -2
  255. data/lib/chef/provider/package/freebsd/pkg.rb +2 -2
  256. data/lib/chef/provider/package/freebsd/pkgng.rb +1 -1
  257. data/lib/chef/provider/package/homebrew.rb +3 -3
  258. data/lib/chef/provider/package/ips.rb +2 -2
  259. data/lib/chef/provider/package/macports.rb +3 -3
  260. data/lib/chef/provider/package/msu.rb +2 -2
  261. data/lib/chef/provider/package/openbsd.rb +3 -3
  262. data/lib/chef/provider/package/pacman.rb +3 -3
  263. data/lib/chef/provider/package/paludis.rb +2 -2
  264. data/lib/chef/provider/package/portage.rb +27 -33
  265. data/lib/chef/provider/package/powershell.rb +24 -9
  266. data/lib/chef/provider/package/rpm.rb +5 -6
  267. data/lib/chef/provider/package/rubygems.rb +32 -28
  268. data/lib/chef/provider/package/smartos.rb +6 -6
  269. data/lib/chef/provider/package/solaris.rb +10 -10
  270. data/lib/chef/provider/package/windows.rb +6 -15
  271. data/lib/chef/provider/package/windows/exe.rb +6 -4
  272. data/lib/chef/provider/package/windows/msi.rb +8 -6
  273. data/lib/chef/provider/package/windows/registry_uninstall_entry.rb +12 -6
  274. data/lib/chef/provider/package/yum.rb +167 -398
  275. data/lib/chef/provider/package/yum/python_helper.rb +221 -0
  276. data/lib/chef/provider/package/yum/rpm_utils.rb +10 -1
  277. data/lib/chef/provider/package/yum/simplejson/LICENSE.txt +79 -0
  278. data/lib/chef/provider/package/yum/simplejson/__init__.py +318 -0
  279. data/lib/chef/provider/package/yum/simplejson/__init__.pyc +0 -0
  280. data/lib/chef/provider/package/yum/simplejson/decoder.py +354 -0
  281. data/lib/chef/provider/package/yum/simplejson/decoder.pyc +0 -0
  282. data/lib/chef/provider/package/yum/simplejson/encoder.py +440 -0
  283. data/lib/chef/provider/package/yum/simplejson/encoder.pyc +0 -0
  284. data/lib/chef/provider/package/yum/simplejson/scanner.py +65 -0
  285. data/lib/chef/provider/package/yum/simplejson/scanner.pyc +0 -0
  286. data/lib/chef/provider/package/yum/simplejson/tool.py +37 -0
  287. data/lib/chef/provider/package/yum/version.rb +56 -0
  288. data/lib/chef/provider/package/yum/yum_cache.rb +33 -316
  289. data/lib/chef/provider/package/yum/yum_helper.py +198 -0
  290. data/lib/chef/provider/package/zypper.rb +9 -13
  291. data/lib/chef/provider/powershell_script.rb +3 -3
  292. data/lib/chef/provider/reboot.rb +3 -3
  293. data/lib/chef/provider/registry_key.rb +16 -4
  294. data/lib/chef/provider/remote_directory.rb +1 -3
  295. data/lib/chef/provider/remote_file/cache_control_data.rb +1 -1
  296. data/lib/chef/provider/remote_file/content.rb +4 -4
  297. data/lib/chef/provider/remote_file/http.rb +5 -3
  298. data/lib/chef/provider/remote_file/local_file.rb +1 -1
  299. data/lib/chef/provider/remote_file/network_file.rb +2 -2
  300. data/lib/chef/provider/route.rb +12 -11
  301. data/lib/chef/provider/ruby_block.rb +1 -1
  302. data/lib/chef/provider/script.rb +2 -2
  303. data/lib/chef/provider/service.rb +14 -14
  304. data/lib/chef/provider/service/aix.rb +3 -3
  305. data/lib/chef/provider/service/aixinit.rb +2 -2
  306. data/lib/chef/provider/service/debian.rb +5 -5
  307. data/lib/chef/provider/service/freebsd.rb +3 -3
  308. data/lib/chef/provider/service/gentoo.rb +2 -2
  309. data/lib/chef/provider/service/macosx.rb +8 -8
  310. data/lib/chef/provider/service/openbsd.rb +1 -1
  311. data/lib/chef/provider/service/simple.rb +7 -7
  312. data/lib/chef/provider/service/systemd.rb +4 -4
  313. data/lib/chef/provider/service/upstart.rb +10 -9
  314. data/lib/chef/provider/service/windows.rb +245 -70
  315. data/lib/chef/provider/subversion.rb +8 -8
  316. data/lib/chef/provider/systemd_unit.rb +25 -6
  317. data/lib/chef/provider/user.rb +10 -10
  318. data/lib/chef/provider/user/aix.rb +3 -3
  319. data/lib/chef/provider/user/dscl.rb +2 -2
  320. data/lib/chef/provider/user/pw.rb +4 -4
  321. data/lib/chef/provider/user/solaris.rb +1 -1
  322. data/lib/chef/provider/user/useradd.rb +3 -3
  323. data/lib/chef/provider/user/windows.rb +4 -4
  324. data/lib/chef/provider/whyrun_safe_ruby_block.rb +1 -1
  325. data/lib/chef/provider/{env.rb → windows_env.rb} +55 -19
  326. data/lib/chef/provider/windows_task.rb +27 -27
  327. data/lib/chef/provider/zypper_repository.rb +7 -7
  328. data/lib/chef/provider_resolver.rb +4 -4
  329. data/lib/chef/providers.rb +2 -9
  330. data/lib/chef/resource.rb +19 -13
  331. data/lib/chef/resource/action_class.rb +2 -2
  332. data/lib/chef/resource/apt_package.rb +10 -4
  333. data/lib/chef/resource/apt_preference.rb +20 -7
  334. data/lib/chef/resource/apt_repository.rb +21 -12
  335. data/lib/chef/resource/apt_update.rb +3 -3
  336. data/lib/chef/resource/bash.rb +6 -4
  337. data/lib/chef/resource/batch.rb +8 -6
  338. data/lib/chef/resource/bff_package.rb +8 -5
  339. data/lib/chef/resource/breakpoint.rb +9 -6
  340. data/lib/chef/resource/build_essential.rb +139 -0
  341. data/lib/chef/resource/cab_package.rb +5 -4
  342. data/lib/chef/resource/chef_gem.rb +1 -1
  343. data/lib/chef/resource/chef_handler.rb +130 -0
  344. data/lib/chef/resource/chocolatey_package.rb +6 -6
  345. data/lib/chef/resource/cookbook_file.rb +12 -9
  346. data/lib/chef/resource/cron.rb +14 -75
  347. data/lib/chef/resource/csh.rb +6 -4
  348. data/lib/chef/resource/directory.rb +7 -4
  349. data/lib/chef/resource/dmg_package.rb +161 -0
  350. data/lib/chef/resource/dnf_package.rb +10 -7
  351. data/lib/chef/resource/dpkg_package.rb +5 -3
  352. data/lib/chef/resource/dsc_resource.rb +11 -28
  353. data/lib/chef/resource/dsc_script.rb +14 -37
  354. data/lib/chef/resource/execute.rb +15 -78
  355. data/lib/chef/resource/file.rb +6 -5
  356. data/lib/chef/resource/file/verification.rb +5 -1
  357. data/lib/chef/resource/freebsd_package.rb +2 -1
  358. data/lib/chef/resource/gem_package.rb +6 -3
  359. data/lib/chef/resource/git.rb +4 -15
  360. data/lib/chef/resource/group.rb +7 -46
  361. data/lib/chef/resource/homebrew_cask.rb +98 -0
  362. data/lib/chef/resource/homebrew_package.rb +3 -3
  363. data/lib/chef/resource/homebrew_tap.rb +86 -0
  364. data/lib/chef/resource/hostname.rb +249 -0
  365. data/lib/chef/resource/http_request.rb +8 -22
  366. data/lib/chef/resource/ifconfig.rb +3 -2
  367. data/lib/chef/resource/ips_package.rb +4 -3
  368. data/lib/chef/resource/ksh.rb +7 -6
  369. data/lib/chef/resource/launchd.rb +4 -4
  370. data/lib/chef/resource/link.rb +18 -56
  371. data/lib/chef/resource/log.rb +6 -8
  372. data/lib/chef/resource/lwrp_base.rb +4 -5
  373. data/lib/chef/resource/macos_userdefaults.rb +133 -0
  374. data/lib/chef/resource/macosx_service.rb +7 -23
  375. data/lib/chef/resource/macports_package.rb +2 -1
  376. data/lib/chef/resource/mdadm.rb +13 -84
  377. data/lib/chef/resource/mount.rb +21 -127
  378. data/lib/chef/resource/msu_package.rb +4 -4
  379. data/lib/chef/resource/ohai.rb +5 -3
  380. data/lib/chef/resource/ohai_hint.rb +93 -0
  381. data/lib/chef/resource/openbsd_package.rb +3 -3
  382. data/lib/chef/resource/openssl_dhparam.rb +80 -0
  383. data/lib/chef/resource/openssl_rsa_private_key.rb +93 -0
  384. data/lib/chef/resource/openssl_rsa_public_key.rb +73 -0
  385. data/lib/chef/resource/osx_profile.rb +9 -10
  386. data/lib/chef/resource/package.rb +8 -6
  387. data/lib/chef/resource/pacman_package.rb +3 -2
  388. data/lib/chef/resource/paludis_package.rb +4 -4
  389. data/lib/chef/resource/perl.rb +6 -4
  390. data/lib/chef/resource/portage_package.rb +3 -6
  391. data/lib/chef/resource/powershell_package.rb +9 -13
  392. data/lib/chef/resource/powershell_script.rb +9 -8
  393. data/lib/chef/resource/python.rb +5 -4
  394. data/lib/chef/resource/reboot.rb +8 -9
  395. data/lib/chef/resource/registry_key.rb +9 -19
  396. data/lib/chef/resource/remote_directory.rb +5 -3
  397. data/lib/chef/resource/remote_file.rb +11 -50
  398. data/lib/chef/resource/resource_notification.rb +2 -2
  399. data/lib/chef/resource/rhsm_errata.rb +44 -0
  400. data/lib/chef/resource/rhsm_errata_level.rb +51 -0
  401. data/lib/chef/resource/rhsm_register.rb +162 -0
  402. data/lib/chef/resource/rhsm_repo.rb +62 -0
  403. data/lib/chef/resource/rhsm_subscription.rb +95 -0
  404. data/lib/chef/resource/route.rb +3 -1
  405. data/lib/chef/resource/rpm_package.rb +3 -3
  406. data/lib/chef/resource/ruby.rb +6 -4
  407. data/lib/chef/resource/ruby_block.rb +6 -17
  408. data/lib/chef/resource/scm.rb +14 -146
  409. data/lib/chef/resource/script.rb +7 -5
  410. data/lib/chef/resource/service.rb +2 -1
  411. data/lib/chef/resource/smartos_package.rb +4 -3
  412. data/lib/chef/resource/solaris_package.rb +3 -2
  413. data/lib/chef/resource/subversion.rb +20 -4
  414. data/lib/chef/resource/sudo.rb +231 -0
  415. data/lib/chef/resource/support/sudoer.erb +18 -0
  416. data/lib/chef/resource/swap_file.rb +209 -0
  417. data/lib/chef/resource/sysctl.rb +111 -0
  418. data/lib/chef/resource/systemd_unit.rb +6 -5
  419. data/lib/chef/resource/template.rb +6 -27
  420. data/lib/chef/resource/windows_ad_join.rb +92 -0
  421. data/lib/chef/resource/windows_auto_run.rb +87 -0
  422. data/lib/chef/resource/{env.rb → windows_env.rb} +11 -5
  423. data/lib/chef/resource/windows_feature.rb +95 -0
  424. data/lib/chef/resource/windows_feature_dism.rb +226 -0
  425. data/lib/chef/resource/windows_feature_powershell.rb +256 -0
  426. data/lib/chef/resource/windows_font.rb +127 -0
  427. data/lib/chef/resource/windows_package.rb +5 -3
  428. data/lib/chef/resource/windows_pagefile.rb +206 -0
  429. data/lib/chef/resource/windows_path.rb +3 -3
  430. data/lib/chef/resource/windows_printer.rb +148 -0
  431. data/lib/chef/resource/windows_printer_port.rb +136 -0
  432. data/lib/chef/resource/windows_service.rb +79 -38
  433. data/lib/chef/resource/windows_shortcut.rb +79 -0
  434. data/lib/chef/resource/windows_task.rb +5 -5
  435. data/lib/chef/resource/yum_package.rb +8 -2
  436. data/lib/chef/resource/yum_repository.rb +12 -5
  437. data/lib/chef/resource/zypper_package.rb +5 -3
  438. data/lib/chef/resource/zypper_repository.rb +17 -12
  439. data/lib/chef/resource_inspector.rb +89 -0
  440. data/lib/chef/resource_reporter.rb +5 -6
  441. data/lib/chef/resource_resolver.rb +4 -4
  442. data/lib/chef/resources.rb +31 -6
  443. data/lib/chef/role.rb +1 -3
  444. data/lib/chef/run_context.rb +21 -12
  445. data/lib/chef/run_context/cookbook_compiler.rb +18 -9
  446. data/lib/chef/search/query.rb +1 -2
  447. data/lib/chef/shell.rb +0 -1
  448. data/lib/chef/shell/model_wrapper.rb +1 -1
  449. data/lib/chef/shell/shell_session.rb +4 -3
  450. data/lib/chef/util/diff.rb +2 -2
  451. data/lib/chef/util/dsc/configuration_generator.rb +1 -1
  452. data/lib/chef/util/dsc/lcm_output_parser.rb +1 -1
  453. data/lib/chef/util/dsc/local_configuration_manager.rb +4 -4
  454. data/lib/chef/util/selinux.rb +1 -1
  455. data/lib/chef/util/windows/logon_session.rb +5 -2
  456. data/lib/chef/util/windows/net_user.rb +2 -2
  457. data/lib/chef/util/windows/volume.rb +0 -4
  458. data/lib/chef/version.rb +1 -1
  459. data/lib/chef/win32/api/error.rb +2 -2
  460. data/lib/chef/win32/api/net.rb +1 -1
  461. data/lib/chef/win32/api/security.rb +11 -0
  462. data/lib/chef/win32/eventlog.rb +2 -2
  463. data/lib/chef/win32/mutex.rb +1 -1
  464. data/lib/chef/win32/registry.rb +17 -17
  465. data/lib/chef/win32/security.rb +34 -12
  466. data/lib/chef/win32/security/sid.rb +1 -2
  467. data/lib/chef/win32/version.rb +2 -15
  468. data/lib/chef/win32_service_constants.rb +143 -0
  469. data/spec/data/mixin/invalid_data.rb +3 -0
  470. data/spec/data/mixin/real_data.rb +2 -0
  471. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.aarch64.rpm +0 -0
  472. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.i686.rpm +0 -0
  473. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.ppc64.rpm +0 -0
  474. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.ppc64le.rpm +0 -0
  475. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.s390x.rpm +0 -0
  476. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.src.rpm +0 -0
  477. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.x86_64.rpm +0 -0
  478. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.aarch64.rpm +0 -0
  479. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.i686.rpm +0 -0
  480. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.ppc64.rpm +0 -0
  481. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.ppc64le.rpm +0 -0
  482. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.s390x.rpm +0 -0
  483. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.src.rpm +0 -0
  484. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.x86_64.rpm +0 -0
  485. data/spec/functional/assets/yumrepo/repodata/4632d67cb92636e7575d911c24f0e04d3505a944e97c483abe0c3e73a7c62d33-filelists.sqlite.bz2 +0 -0
  486. data/spec/functional/assets/yumrepo/repodata/74599b793e54d877323837d2d81a1c3c594c44e4335f9528234bb490f7b9b439-other.xml.gz +0 -0
  487. data/spec/functional/assets/yumrepo/repodata/a845d418f919d2115ab95a56b2c76f6825ad0d0bede49181a55c04f58995d057-primary.sqlite.bz2 +0 -0
  488. data/spec/functional/assets/yumrepo/repodata/af9b7cf9ef23bd7b43068d74a460f3b5d06753d638e58e4a0c9edc35bfb9cdc4-other.sqlite.bz2 +0 -0
  489. data/spec/functional/assets/yumrepo/repodata/bdb4f5f1492a3b9532f22c43110a81500dd744f23da0aec5c33b2a41317c737d-filelists.xml.gz +0 -0
  490. data/spec/functional/assets/yumrepo/repodata/c10d1d34ce99e02f12ec96ef68360543ab1bb7c3cb81a4a2bf78df7d8597e9df-primary.xml.gz +0 -0
  491. data/spec/functional/assets/yumrepo/repodata/filelists.xml.gz +0 -0
  492. data/spec/functional/assets/yumrepo/repodata/other.xml.gz +0 -0
  493. data/spec/functional/assets/yumrepo/repodata/primary.xml.gz +0 -0
  494. data/spec/functional/assets/yumrepo/repodata/repomd.xml +19 -53
  495. data/spec/functional/event_loggers/windows_eventlog_spec.rb +2 -2
  496. data/spec/functional/http/simple_spec.rb +6 -6
  497. data/spec/functional/mixin/from_file_spec.rb +82 -0
  498. data/spec/functional/notifications_spec.rb +1 -1
  499. data/spec/functional/resource/{package_spec.rb → apt_package_spec.rb} +4 -4
  500. data/spec/functional/resource/dnf_package_spec.rb +115 -115
  501. data/spec/functional/resource/ifconfig_spec.rb +1 -2
  502. data/spec/functional/resource/link_spec.rb +9 -13
  503. data/spec/functional/resource/powershell_script_spec.rb +0 -2
  504. data/spec/functional/resource/registry_spec.rb +3 -3
  505. data/spec/functional/resource/remote_file_spec.rb +4 -4
  506. data/spec/functional/resource/user/windows_spec.rb +3 -1
  507. data/spec/functional/resource/windows_env_spec.rb +285 -0
  508. data/spec/functional/resource/windows_task_spec.rb +303 -2
  509. data/spec/functional/resource/yum_package_spec.rb +949 -0
  510. data/spec/functional/root_alias_spec.rb +1 -1
  511. data/spec/functional/win32/security_spec.rb +60 -7
  512. data/spec/functional/win32/versions_spec.rb +7 -9
  513. data/spec/integration/client/client_spec.rb +99 -7
  514. data/spec/integration/knife/chef_fs_data_store_spec.rb +23 -4
  515. data/spec/integration/recipes/recipe_dsl_spec.rb +26 -26
  516. data/spec/integration/recipes/resource_action_spec.rb +25 -120
  517. data/spec/spec_helper.rb +10 -2
  518. data/spec/support/lib/chef/resource/one_two_three_four.rb +0 -2
  519. data/spec/support/lib/chef/resource/zen_master.rb +1 -3
  520. data/spec/support/mock/constant.rb +1 -1
  521. data/spec/support/platform_helpers.rb +24 -7
  522. data/spec/support/shared/context/client.rb +13 -10
  523. data/spec/support/shared/examples/client.rb +50 -0
  524. data/spec/support/shared/functional/file_resource.rb +1 -1
  525. data/spec/support/shared/functional/securable_resource.rb +2 -2
  526. data/spec/support/shared/integration/knife_support.rb +5 -0
  527. data/spec/unit/application/client_spec.rb +39 -13
  528. data/spec/unit/application/solo_spec.rb +1 -8
  529. data/spec/unit/application_spec.rb +66 -2
  530. data/spec/unit/audit/audit_event_proxy_spec.rb +1 -1
  531. data/spec/unit/audit/audit_reporter_spec.rb +16 -16
  532. data/spec/unit/chef_fs/file_system_spec.rb +1 -1
  533. data/spec/unit/client_spec.rb +3 -4
  534. data/spec/unit/cookbook/metadata_spec.rb +1 -1
  535. data/spec/unit/cookbook_loader_spec.rb +6 -6
  536. data/spec/unit/cookbook_manifest_spec.rb +2 -2
  537. data/spec/unit/cookbook_version_file_specificity_spec.rb +5 -25
  538. data/spec/unit/data_collector/messages/helpers_spec.rb +9 -0
  539. data/spec/unit/data_collector/resource_report_spec.rb +3 -3
  540. data/spec/unit/data_collector_spec.rb +135 -1
  541. data/spec/unit/dsl/reboot_pending_spec.rb +0 -13
  542. data/spec/unit/dsl/recipe_spec.rb +0 -13
  543. data/spec/unit/environment_spec.rb +2 -2
  544. data/spec/unit/exceptions_spec.rb +1 -1
  545. data/spec/unit/http/validate_content_length_spec.rb +5 -5
  546. data/spec/unit/knife/bootstrap_spec.rb +11 -15
  547. data/spec/unit/knife/configure_spec.rb +1 -2
  548. data/spec/unit/knife/cookbook_test_spec.rb +2 -2
  549. data/spec/unit/knife/core/gem_glob_loader_spec.rb +2 -2
  550. data/spec/unit/knife/core/node_editor_spec.rb +6 -6
  551. data/spec/unit/knife/environment_compare_spec.rb +3 -3
  552. data/spec/unit/knife/node_edit_spec.rb +3 -1
  553. data/spec/unit/knife/node_policy_set_spec.rb +122 -0
  554. data/spec/unit/knife/osc_user_reregister_spec.rb +1 -1
  555. data/spec/unit/knife/osc_user_show_spec.rb +1 -1
  556. data/spec/unit/knife/ssh_spec.rb +18 -0
  557. data/spec/unit/log/syslog_spec.rb +2 -4
  558. data/spec/unit/log/winevt_spec.rb +2 -3
  559. data/spec/unit/lwrp_spec.rb +4 -4
  560. data/spec/unit/mixin/homebrew_user_spec.rb +1 -5
  561. data/spec/unit/mixin/openssl_helper_spec.rb +252 -0
  562. data/spec/unit/mixin/powershell_exec_spec.rb +43 -0
  563. data/spec/unit/node/attribute_spec.rb +3 -3
  564. data/spec/unit/node/immutable_collections_spec.rb +11 -1
  565. data/spec/unit/node_map_spec.rb +2 -2
  566. data/spec/unit/node_spec.rb +11 -16
  567. data/spec/unit/platform/query_helpers_spec.rb +0 -13
  568. data/spec/unit/policy_builder/policyfile_spec.rb +79 -2
  569. data/spec/unit/property/validation_spec.rb +51 -4
  570. data/spec/unit/provider/apt_repository_spec.rb +97 -32
  571. data/spec/unit/provider/cookbook_file_spec.rb +2 -1
  572. data/spec/unit/provider/cron/unix_spec.rb +8 -3
  573. data/spec/unit/provider/cron_spec.rb +27 -32
  574. data/spec/unit/provider/file_spec.rb +2 -1
  575. data/spec/unit/provider/group/dscl_spec.rb +7 -8
  576. data/spec/unit/provider/group/gpasswd_spec.rb +5 -2
  577. data/spec/unit/provider/group/groupmod_spec.rb +6 -3
  578. data/spec/unit/provider/group/pw_spec.rb +5 -2
  579. data/spec/unit/provider/link_spec.rb +6 -4
  580. data/spec/unit/provider/log_spec.rb +18 -13
  581. data/spec/unit/provider/mount/aix_spec.rb +1 -9
  582. data/spec/unit/provider/mount/mount_spec.rb +22 -0
  583. data/spec/unit/provider/osx_profile_spec.rb +3 -3
  584. data/spec/unit/provider/package/apt_spec.rb +431 -411
  585. data/spec/unit/provider/package/{aix_spec.rb → bff_spec.rb} +7 -5
  586. data/spec/unit/provider/package/chocolatey_spec.rb +0 -13
  587. data/spec/unit/provider/package/homebrew_spec.rb +2 -1
  588. data/spec/unit/provider/package/portage_spec.rb +11 -147
  589. data/spec/unit/provider/package/powershell_spec.rb +208 -57
  590. data/spec/unit/provider/package/rubygems_spec.rb +11 -2
  591. data/spec/unit/provider/package/windows_spec.rb +0 -19
  592. data/spec/unit/provider/package/yum/python_helper_spec.rb +29 -0
  593. data/spec/unit/provider/package/yum/yum_cache_spec.rb +86 -4
  594. data/spec/unit/provider/package/zypper_spec.rb +8 -0
  595. data/spec/unit/provider/package_spec.rb +47 -20
  596. data/spec/unit/provider/registry_key_spec.rb +7 -1
  597. data/spec/unit/provider/remote_directory_spec.rb +1 -1
  598. data/spec/unit/provider/remote_file_spec.rb +2 -1
  599. data/spec/unit/provider/service/macosx_spec.rb +4 -2
  600. data/spec/unit/provider/service/systemd_service_spec.rb +2 -10
  601. data/spec/unit/provider/service/windows_spec.rb +447 -30
  602. data/spec/unit/provider/systemd_unit_spec.rb +50 -13
  603. data/spec/unit/provider/template_spec.rb +2 -4
  604. data/spec/unit/provider/user/windows_spec.rb +3 -0
  605. data/spec/unit/provider/{env_spec.rb → windows_env_spec.rb} +102 -12
  606. data/spec/unit/provider/zypper_repository_spec.rb +4 -2
  607. data/spec/unit/provider_resolver_spec.rb +23 -38
  608. data/spec/unit/recipe_spec.rb +4 -4
  609. data/spec/unit/resource/apt_package_spec.rb +4 -0
  610. data/spec/unit/resource/apt_preference_spec.rb +0 -5
  611. data/spec/unit/resource/apt_repository_spec.rb +35 -10
  612. data/spec/unit/resource/apt_update_spec.rb +0 -5
  613. data/spec/unit/resource/bash_spec.rb +2 -3
  614. data/spec/unit/resource/batch_spec.rb +1 -4
  615. data/spec/unit/resource/{timestamped_deploy_spec.rb → build_essential_spec.rb} +10 -11
  616. data/spec/unit/resource/cab_package_spec.rb +1 -3
  617. data/{lib/chef/mixin/language_include_attribute.rb → spec/unit/resource/chef_handler_spec.rb} +13 -12
  618. data/spec/unit/resource/chocolatey_package_spec.rb +1 -3
  619. data/spec/unit/resource/cron_spec.rb +0 -5
  620. data/spec/unit/resource/csh_spec.rb +2 -3
  621. data/spec/unit/resource/directory_spec.rb +1 -6
  622. data/{lib/chef/resource/deploy_revision.rb → spec/unit/resource/dmg_package_spec.rb} +14 -10
  623. data/spec/unit/resource/dnf_package_spec.rb +20 -26
  624. data/spec/unit/resource/file_spec.rb +1 -1
  625. data/spec/unit/resource/freebsd_package_spec.rb +22 -23
  626. data/spec/unit/resource/gem_package_spec.rb +3 -5
  627. data/spec/unit/resource/git_spec.rb +1 -2
  628. data/spec/unit/resource/group_spec.rb +0 -5
  629. data/spec/unit/resource/homebrew_cask_spec.rb +35 -0
  630. data/spec/unit/resource/homebrew_package_spec.rb +4 -0
  631. data/spec/unit/resource/homebrew_tap_spec.rb +39 -0
  632. data/spec/unit/resource/hostname_spec.rb +43 -0
  633. data/spec/unit/resource/http_request_spec.rb +0 -5
  634. data/spec/unit/resource/ips_package_spec.rb +4 -0
  635. data/spec/unit/resource/ksh_spec.rb +2 -3
  636. data/spec/unit/resource/launchd_spec.rb +0 -5
  637. data/spec/unit/resource/link_spec.rb +1 -6
  638. data/spec/unit/resource/log_spec.rb +0 -5
  639. data/spec/unit/resource/macos_user_defaults_spec.rb +45 -0
  640. data/spec/unit/resource/mdadm_spec.rb +0 -5
  641. data/spec/unit/resource/mount_spec.rb +1 -6
  642. data/spec/unit/resource/msu_package_spec.rb +1 -3
  643. data/spec/unit/resource/ohai_hint_spec.rb +43 -0
  644. data/spec/unit/resource/ohai_spec.rb +0 -5
  645. data/spec/unit/resource/openbsd_package_spec.rb +8 -12
  646. data/spec/unit/resource/openssl_dhparam.rb +51 -0
  647. data/spec/unit/resource/openssl_rsa_private_key_spec.rb +59 -0
  648. data/spec/unit/resource/openssl_rsa_public_key_spec.rb +39 -0
  649. data/spec/unit/resource/osx_profile_spec.rb +0 -5
  650. data/spec/unit/resource/package_spec.rb +0 -5
  651. data/spec/unit/resource/perl_spec.rb +2 -3
  652. data/spec/unit/resource/portage_package_spec.rb +3 -7
  653. data/spec/unit/resource/powershell_package_spec.rb +11 -4
  654. data/spec/unit/resource/python_spec.rb +0 -5
  655. data/spec/unit/resource/reboot_spec.rb +0 -5
  656. data/spec/unit/resource/registry_key_spec.rb +5 -6
  657. data/spec/unit/resource/remote_directory_spec.rb +0 -5
  658. data/spec/unit/resource/remote_file_spec.rb +1 -5
  659. data/spec/unit/resource/rhsm_errata_level_spec.rb +46 -0
  660. data/{lib/chef/mixin/language_include_recipe.rb → spec/unit/resource/rhsm_errata_spec.rb} +14 -10
  661. data/spec/unit/resource/rhsm_register_spec.rb +199 -0
  662. data/spec/unit/resource/rhsm_repo_spec.rb +59 -0
  663. data/spec/unit/resource/rhsm_subscription_spec.rb +93 -0
  664. data/spec/unit/resource/route_spec.rb +1 -6
  665. data/spec/unit/resource/rpm_package_spec.rb +4 -0
  666. data/spec/unit/resource/ruby_block_spec.rb +0 -5
  667. data/spec/unit/resource/ruby_spec.rb +0 -5
  668. data/spec/unit/resource/scm_spec.rb +0 -15
  669. data/spec/unit/resource/service_spec.rb +0 -5
  670. data/spec/unit/resource/subversion_spec.rb +12 -0
  671. data/spec/unit/resource/sudo_spec.rb +92 -0
  672. data/spec/unit/resource/swap_file_spec.rb +40 -0
  673. data/spec/unit/resource/sysctl_spec.rb +56 -0
  674. data/spec/unit/resource/systemd_unit_spec.rb +5 -7
  675. data/spec/unit/resource/template_spec.rb +1 -3
  676. data/spec/unit/resource/user_spec.rb +0 -5
  677. data/spec/unit/resource/windows_ad_join.rb +45 -0
  678. data/spec/unit/resource/windows_auto_run_spec.rb +50 -0
  679. data/spec/unit/resource/{env_spec.rb → windows_env_spec.rb} +19 -21
  680. data/spec/unit/resource/windows_feature.rb +41 -0
  681. data/spec/unit/resource/windows_feature_dism.rb +51 -0
  682. data/spec/unit/resource/windows_feature_powershell.rb +51 -0
  683. data/spec/unit/resource/windows_font_spec.rb +44 -0
  684. data/spec/unit/resource/windows_package_spec.rb +2 -2
  685. data/spec/unit/resource/windows_pagefile_spec.rb +45 -0
  686. data/spec/unit/resource/windows_printer_port_spec.rb +45 -0
  687. data/spec/unit/resource/windows_printer_spec.rb +45 -0
  688. data/spec/unit/resource/windows_service_spec.rb +25 -4
  689. data/spec/unit/resource/windows_shortcut_spec.rb +39 -0
  690. data/spec/unit/resource/windows_task_spec.rb +0 -5
  691. data/spec/unit/resource/yum_repository_spec.rb +4 -0
  692. data/spec/unit/resource/zypper_repository_spec.rb +4 -0
  693. data/spec/unit/resource_inspector_spec.rb +60 -0
  694. data/spec/unit/resource_reporter_spec.rb +2 -2
  695. data/spec/unit/resource_spec.rb +0 -5
  696. data/spec/unit/shell/shell_session_spec.rb +0 -1
  697. data/spec/unit/user_spec.rb +1 -1
  698. data/spec/unit/util/windows/logon_session_spec.rb +2 -1
  699. data/spec/unit/win32/security_spec.rb +44 -1
  700. data/spec/unit/windows_service_spec.rb +4 -2
  701. data/tasks/announce.rb +1 -1
  702. data/tasks/cbgb.rb +84 -0
  703. data/tasks/dependencies.rb +38 -2
  704. data/tasks/maintainers.rb +7 -7
  705. data/tasks/rspec.rb +2 -2
  706. data/tasks/templates/prerelease.md.erb +2 -11
  707. data/tasks/templates/release.md.erb +1 -9
  708. metadata +225 -96
  709. data/lib/chef/knife/help.rb +0 -101
  710. data/lib/chef/knife/help_topics.rb +0 -4
  711. data/lib/chef/knife/index_rebuild.rb +0 -133
  712. data/lib/chef/mixin/language.rb +0 -48
  713. data/lib/chef/mixin/recipe_definition_dsl_core.rb +0 -35
  714. data/lib/chef/provider/deploy.rb +0 -470
  715. data/lib/chef/provider/deploy/revision.rb +0 -107
  716. data/lib/chef/provider/deploy/timestamped.rb +0 -34
  717. data/lib/chef/provider/env/windows.rb +0 -76
  718. data/lib/chef/provider/erl_call.rb +0 -76
  719. data/lib/chef/provider/package/yum/yum-dump.py +0 -307
  720. data/lib/chef/resource/deploy.rb +0 -449
  721. data/lib/chef/resource/erl_call.rb +0 -90
  722. data/lib/chef/resource/timestamped_deploy.rb +0 -26
  723. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.fc24.i686.rpm +0 -0
  724. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.fc24.src.rpm +0 -0
  725. data/spec/functional/assets/yumrepo/chef_rpm-1.10-1.fc24.x86_64.rpm +0 -0
  726. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.fc24.i686.rpm +0 -0
  727. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.fc24.src.rpm +0 -0
  728. data/spec/functional/assets/yumrepo/chef_rpm-1.2-1.fc24.x86_64.rpm +0 -0
  729. data/spec/functional/assets/yumrepo/repodata/313329137b55fd333b2dc66394a6661a2befa6cc535d8460d92a4a78a9c581f0-primary.sqlite.bz2 +0 -0
  730. data/spec/functional/assets/yumrepo/repodata/31ac4db5d5ac593728fcc26aef82b7b93c4cc4dbec843786b1845b939b658553-other.xml.gz +0 -0
  731. data/spec/functional/assets/yumrepo/repodata/4ac40fa3c6728c1401318e2e20a997436624e83dcf7a5f952b851ef422637773-filelists.sqlite.bz2 +0 -0
  732. data/spec/functional/assets/yumrepo/repodata/66391e53f0510b98b3f0b79f40ba1048026d9a1ef20905d9c40ba6f5411f3243-primary.xml.gz +0 -0
  733. data/spec/functional/assets/yumrepo/repodata/8b34697595fcc87928e12d24644dda9462c3857bd932861e28bc77ae1f31be16-filelists.xml.gz +0 -0
  734. data/spec/functional/assets/yumrepo/repodata/b97cca3fe14bcf06c52be4449b6108f7731239ff221111dcce8aada5467f60dc-other.sqlite.bz2 +0 -0
  735. data/spec/functional/resource/deploy_revision_spec.rb +0 -881
  736. data/spec/functional/resource/env_spec.rb +0 -192
  737. data/spec/unit/knife/index_rebuild_spec.rb +0 -125
  738. data/spec/unit/knife/knife_help.rb +0 -92
  739. data/spec/unit/provider/deploy/revision_spec.rb +0 -110
  740. data/spec/unit/provider/deploy/timestamped_spec.rb +0 -40
  741. data/spec/unit/provider/deploy_spec.rb +0 -641
  742. data/spec/unit/provider/env/windows_spec.rb +0 -103
  743. data/spec/unit/provider/erl_call_spec.rb +0 -77
  744. data/spec/unit/provider/package/yum_spec.rb +0 -2294
  745. data/spec/unit/resource/deploy_revision_spec.rb +0 -42
  746. data/spec/unit/resource/deploy_spec.rb +0 -283
  747. data/spec/unit/resource/erl_call_spec.rb +0 -81
@@ -20,11 +20,28 @@ require "bundler"
20
20
  desc "Tasks to update and check dependencies"
21
21
  namespace :dependencies do
22
22
 
23
+ # Running update_ci on your local system wont' work. The best way to update
24
+ # dependencies locally is by running the dependency update script.
25
+ desc "Update all dependencies. dependencies:update to update as little as possible."
26
+ task :update do |t, rake_args|
27
+ # FIXME: probably broken, and needs less indirection
28
+ system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}")
29
+ end
30
+
31
+ desc "Force update (when adding new gems to Gemfiles)"
32
+ task :force_update do |t, rake_args|
33
+ # FIXME: probably broken, and needs less indirection
34
+ FileUtils.rm_f(File.join(Dir.pwd, ".bundle", "config"))
35
+ system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}")
36
+ end
37
+
23
38
  # Update all dependencies to the latest constraint-matching version
24
- desc "Update all dependencies."
25
- task update: %w{
39
+ desc "Update all dependencies. dependencies:update to update as little as possible (CI-only)."
40
+ task :update_ci => %w{
26
41
  dependencies:update_gemfile_lock
27
42
  dependencies:update_omnibus_gemfile_lock
43
+ dependencies:update_acceptance_gemfile_lock
44
+ dependencies:update_audit_tests_berksfile_lock
28
45
  }
29
46
 
30
47
  def bundle_update_locked_multiplatform_task(task_name, dir)
@@ -52,7 +69,26 @@ namespace :dependencies do
52
69
  end
53
70
  end
54
71
 
72
+ def berks_update_task(task_name, dir)
73
+ desc "Update #{dir}/Berksfile.lock."
74
+ task task_name do
75
+ FileUtils.rm_f("#{dir}/Berksfile.lock")
76
+ Dir.chdir(dir) do
77
+ Bundler.with_clean_env do
78
+ sh "bundle exec berks install"
79
+ end
80
+ end
81
+ end
82
+ end
83
+
55
84
  bundle_update_locked_multiplatform_task :update_gemfile_lock, "."
56
85
  bundle_update_locked_multiplatform_task :update_omnibus_gemfile_lock, "omnibus"
86
+ bundle_update_task :update_acceptance_gemfile_lock, "acceptance"
87
+ berks_update_task :update_audit_tests_berksfile_lock, "kitchen-tests/cookbooks/audit_test"
57
88
 
58
89
  end
90
+
91
+ desc "Update all dependencies and check for outdated gems."
92
+ task :dependencies_ci => [ "dependencies:update_ci" ]
93
+ task :dependencies => [ "dependencies:update" ]
94
+ task :update => [ "dependencies:update" ]
@@ -25,7 +25,7 @@ REPOSITORIES = ["chef/chef", "chef/chef-dk", "chef/chef-census", "chef/chef-repo
25
25
  "chef/client-docs", "chef/ffi-yajl", "chef/libyajl2-gem",
26
26
  "chef/mixlib-authentication", "chef/mixlib-cli",
27
27
  "chef/mixlib-config", "chef/mixlib-install", "chef/mixlib-log",
28
- "chef/mixlib-shellout", "chef/ohai", "chef/omnibus-chef"].freeze
28
+ "chef/mixlib-shellout", "chef/ohai", "chef/omnibus-chef"]
29
29
 
30
30
  begin
31
31
  require "tomlrb"
@@ -33,7 +33,7 @@ begin
33
33
  require "pp"
34
34
 
35
35
  namespace :maintainers do
36
- task default: :generate
36
+ task :default => :generate
37
37
 
38
38
  desc "Generate MarkDown version of MAINTAINERS file"
39
39
  task :generate do
@@ -63,7 +63,7 @@ begin
63
63
  end
64
64
 
65
65
  def github
66
- @github ||= Octokit::Client.new(netrc: true)
66
+ @github ||= Octokit::Client.new(:netrc => true)
67
67
  end
68
68
 
69
69
  def source
@@ -181,13 +181,13 @@ begin
181
181
 
182
182
  def format_components(cmp)
183
183
  out = "## " + cmp.delete("title") + "\n\n"
184
- out << cmp.delete("text") + "\n" if cmp.key?("text")
185
- out << "To mention the team, use @chef/#{cmp.delete("team")}\n\n" if cmp.key?("team")
186
- if cmp.key?("lieutenant")
184
+ out << cmp.delete("text") + "\n" if cmp.has_key?("text")
185
+ out << "To mention the team, use @chef/#{cmp.delete("team")}\n\n" if cmp.has_key?("team")
186
+ if cmp.has_key?("lieutenant")
187
187
  out << "### Lieutenant\n\n"
188
188
  out << format_person(cmp.delete("lieutenant")) + "\n\n"
189
189
  end
190
- out << format_maintainers(cmp.delete("maintainers")) + "\n" if cmp.key?("maintainers")
190
+ out << format_maintainers(cmp.delete("maintainers")) + "\n" if cmp.has_key?("maintainers")
191
191
  cmp.delete("paths")
192
192
  cmp.each_value { |v| out << format_components(v) }
193
193
  out
@@ -35,9 +35,9 @@ begin
35
35
  end
36
36
  end
37
37
 
38
- task default: :spec
38
+ task :default => :spec
39
39
 
40
- task spec: :component_specs
40
+ task :spec => :component_specs
41
41
 
42
42
  desc "Run standard specs (minus long running specs)"
43
43
  RSpec::Core::RakeTask.new(:spec) do |t|
@@ -9,7 +9,7 @@ We have selected <%= @version %> as our Chef v<%= @maj_minor %> release candidat
9
9
  Please see the [CHANGELOG](https://github.com/chef/chef/blob/master/CHANGELOG.md) for the complete list of changes.
10
10
 
11
11
  # Get the Build
12
- As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/current/<%= @version %>) or by using the `mixlib-install` command line utility:
12
+ As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/current/<%= @version %>) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
13
13
 
14
14
  ```shell
15
15
  $ mixlib-install download chef -v <%= @version %> -c current
@@ -21,15 +21,6 @@ Alternatively, you can install Chef using one of the following command options:
21
21
  # In Shell
22
22
  $ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v <%= @version %> -c current
23
23
 
24
- # In Windows PowerShell
24
+ # In Windows Powershell
25
25
  . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version <%= @version %> -channel current
26
26
  ```
27
-
28
- If you want to give this version a spin in Test Kitchen, create or add the following to your `kitchen.yml` file:
29
-
30
- ```yaml
31
- provisioner:
32
- product_name: chef
33
- channel: current
34
- product_version: <%= @version %>
35
- ```
@@ -9,7 +9,7 @@ We're happy to announce the release of Chef v<%= @maj_minor %>!
9
9
  Please see the [CHANGELOG](https://github.com/chef/chef/blob/master/CHANGELOG.md) for the complete list of changes.
10
10
 
11
11
  # Get the Build
12
- As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/<%= @version %>) or by using the `mixlib-install` command line utility:
12
+ As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/<%= @version %>) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
13
13
 
14
14
  ```shell
15
15
  $ mixlib-install download chef -v <%= @version %>
@@ -24,11 +24,3 @@ $ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v <%= @ve
24
24
  # In Windows Powershell
25
25
  . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version <%= @version %>
26
26
  ```
27
-
28
- If you want to give this version a spin in Test Kitchen, create or add the following to your `kitchen.yml` file:
29
-
30
- ```yaml
31
- provisioner:
32
- product_name: chef
33
- product_version: <%= @version %>
34
- ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.12.14
4
+ version: 14.0.190
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-07 00:00:00.000000000 Z
11
+ date: 2018-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.12.14
19
+ version: 14.0.190
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.12.14
26
+ version: 14.0.190
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,20 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.3'
47
+ version: '2.0'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.0.3
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
55
  - - "~>"
53
56
  - !ruby/object:Gem::Version
54
- version: '1.3'
57
+ version: '2.0'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.0.3
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: mixlib-authentication
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +78,14 @@ dependencies:
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '2.4'
81
+ version: '2.0'
76
82
  type: :runtime
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '2.4'
88
+ version: '2.0'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: mixlib-archive
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +106,14 @@ dependencies:
100
106
  requirements:
101
107
  - - "~>"
102
108
  - !ruby/object:Gem::Version
103
- version: '13.0'
109
+ version: '14.0'
104
110
  type: :runtime
105
111
  prerelease: false
106
112
  version_requirements: !ruby/object:Gem::Requirement
107
113
  requirements:
108
114
  - - "~>"
109
115
  - !ruby/object:Gem::Version
110
- version: '13.0'
116
+ version: '14.0'
111
117
  - !ruby/object:Gem::Dependency
112
118
  name: ffi-yajl
113
119
  requirement: !ruby/object:Gem::Requirement
@@ -126,22 +132,16 @@ dependencies:
126
132
  name: net-ssh
127
133
  requirement: !ruby/object:Gem::Requirement
128
134
  requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '2.9'
132
- - - "<"
135
+ - - "~>"
133
136
  - !ruby/object:Gem::Version
134
- version: '5.0'
137
+ version: '4.2'
135
138
  type: :runtime
136
139
  prerelease: false
137
140
  version_requirements: !ruby/object:Gem::Requirement
138
141
  requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- version: '2.9'
142
- - - "<"
142
+ - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '5.0'
144
+ version: '4.2'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: net-ssh-multi
147
147
  requirement: !ruby/object:Gem::Requirement
@@ -240,14 +240,14 @@ dependencies:
240
240
  name: chef-zero
241
241
  requirement: !ruby/object:Gem::Requirement
242
242
  requirements:
243
- - - "~>"
243
+ - - ">="
244
244
  - !ruby/object:Gem::Version
245
245
  version: '13.0'
246
246
  type: :runtime
247
247
  prerelease: false
248
248
  version_requirements: !ruby/object:Gem::Requirement
249
249
  requirements:
250
- - - "~>"
250
+ - - ">="
251
251
  - !ruby/object:Gem::Version
252
252
  version: '13.0'
253
253
  - !ruby/object:Gem::Dependency
@@ -298,14 +298,14 @@ dependencies:
298
298
  requirements:
299
299
  - - "~>"
300
300
  - !ruby/object:Gem::Version
301
- version: 0.12.1
301
+ version: 0.9.1
302
302
  type: :runtime
303
303
  prerelease: false
304
304
  version_requirements: !ruby/object:Gem::Requirement
305
305
  requirements:
306
306
  - - "~>"
307
307
  - !ruby/object:Gem::Version
308
- version: 0.12.1
308
+ version: 0.9.1
309
309
  - !ruby/object:Gem::Dependency
310
310
  name: rspec-core
311
311
  requirement: !ruby/object:Gem::Requirement
@@ -313,9 +313,6 @@ dependencies:
313
313
  - - "~>"
314
314
  - !ruby/object:Gem::Version
315
315
  version: '3.5'
316
- - - "<"
317
- - !ruby/object:Gem::Version
318
- version: '3.8'
319
316
  type: :runtime
320
317
  prerelease: false
321
318
  version_requirements: !ruby/object:Gem::Requirement
@@ -323,9 +320,6 @@ dependencies:
323
320
  - - "~>"
324
321
  - !ruby/object:Gem::Version
325
322
  version: '3.5'
326
- - - "<"
327
- - !ruby/object:Gem::Version
328
- version: '3.8'
329
323
  - !ruby/object:Gem::Dependency
330
324
  name: rspec-expectations
331
325
  requirement: !ruby/object:Gem::Requirement
@@ -333,9 +327,6 @@ dependencies:
333
327
  - - "~>"
334
328
  - !ruby/object:Gem::Version
335
329
  version: '3.5'
336
- - - "<"
337
- - !ruby/object:Gem::Version
338
- version: '3.8'
339
330
  type: :runtime
340
331
  prerelease: false
341
332
  version_requirements: !ruby/object:Gem::Requirement
@@ -343,9 +334,6 @@ dependencies:
343
334
  - - "~>"
344
335
  - !ruby/object:Gem::Version
345
336
  version: '3.5'
346
- - - "<"
347
- - !ruby/object:Gem::Version
348
- version: '3.8'
349
337
  - !ruby/object:Gem::Dependency
350
338
  name: rspec-mocks
351
339
  requirement: !ruby/object:Gem::Requirement
@@ -353,9 +341,6 @@ dependencies:
353
341
  - - "~>"
354
342
  - !ruby/object:Gem::Version
355
343
  version: '3.5'
356
- - - "<"
357
- - !ruby/object:Gem::Version
358
- version: '3.8'
359
344
  type: :runtime
360
345
  prerelease: false
361
346
  version_requirements: !ruby/object:Gem::Requirement
@@ -363,9 +348,6 @@ dependencies:
363
348
  - - "~>"
364
349
  - !ruby/object:Gem::Version
365
350
  version: '3.5'
366
- - - "<"
367
- - !ruby/object:Gem::Version
368
- version: '3.8'
369
351
  - !ruby/object:Gem::Dependency
370
352
  name: rspec_junit_formatter
371
353
  requirement: !ruby/object:Gem::Requirement
@@ -582,14 +564,14 @@ dependencies:
582
564
  requirements:
583
565
  - - "~>"
584
566
  - !ruby/object:Gem::Version
585
- version: '1.0'
567
+ version: 0.8.7
586
568
  type: :runtime
587
569
  prerelease: false
588
570
  version_requirements: !ruby/object:Gem::Requirement
589
571
  requirements:
590
572
  - - "~>"
591
573
  - !ruby/object:Gem::Version
592
- version: '1.0'
574
+ version: 0.8.7
593
575
  - !ruby/object:Gem::Dependency
594
576
  name: windows-api
595
577
  requirement: !ruby/object:Gem::Requirement
@@ -633,12 +615,88 @@ extensions:
633
615
  - ext/win32-eventlog/Rakefile
634
616
  extra_rdoc_files:
635
617
  - README.md
618
+ - CONTRIBUTING.md
636
619
  - LICENSE
637
620
  files:
621
+ - CONTRIBUTING.md
638
622
  - Gemfile
639
623
  - LICENSE
640
624
  - README.md
641
625
  - Rakefile
626
+ - VERSION
627
+ - acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml
628
+ - acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml
629
+ - acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml
630
+ - acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb
631
+ - acceptance/.shared/kitchen_acceptance/metadata.rb
632
+ - acceptance/Gemfile
633
+ - acceptance/Gemfile.lock
634
+ - acceptance/README.md
635
+ - acceptance/basics/.acceptance/acceptance-cookbook/.gitignore
636
+ - acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb
637
+ - acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb
638
+ - acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb
639
+ - acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb
640
+ - acceptance/basics/.kitchen.yml
641
+ - acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb
642
+ - acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb
643
+ - acceptance/basics/test/integration/helpers/serverspec/Gemfile
644
+ - acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore
645
+ - acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb
646
+ - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb
647
+ - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb
648
+ - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb
649
+ - acceptance/data-collector/.acceptance/data-collector-test/.gitignore
650
+ - acceptance/data-collector/.acceptance/data-collector-test/Berksfile
651
+ - acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb
652
+ - acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile
653
+ - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb
654
+ - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb
655
+ - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb
656
+ - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb
657
+ - acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru
658
+ - acceptance/data-collector/.acceptance/data-collector-test/metadata.rb
659
+ - acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb
660
+ - acceptance/data-collector/.kitchen.yml
661
+ - acceptance/data-collector/Berksfile
662
+ - acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
663
+ - acceptance/data-collector/test/integration/helpers/serverspec/Gemfile
664
+ - acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore
665
+ - acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb
666
+ - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb
667
+ - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb
668
+ - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb
669
+ - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore
670
+ - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb
671
+ - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
672
+ - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb
673
+ - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb
674
+ - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb
675
+ - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb
676
+ - acceptance/top-cookbooks/.gitignore
677
+ - acceptance/top-cookbooks/.kitchen.chocolatey.yml
678
+ - acceptance/top-cookbooks/.kitchen.iis.yml
679
+ - acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml
680
+ - acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml
681
+ - acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml
682
+ - acceptance/top-cookbooks/.kitchen.powershell.yml
683
+ - acceptance/top-cookbooks/.kitchen.sql_server.yml
684
+ - acceptance/top-cookbooks/.kitchen.winbox.yml
685
+ - acceptance/top-cookbooks/.kitchen.windows.yml
686
+ - acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore
687
+ - acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb
688
+ - acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb
689
+ - acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb
690
+ - acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb
691
+ - acceptance/trivial/.kitchen.yml
692
+ - acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb
693
+ - acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore
694
+ - acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb
695
+ - acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb
696
+ - acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb
697
+ - acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb
698
+ - acceptance/windows-service/.kitchen.yml
699
+ - acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb
642
700
  - bin/chef-apply
643
701
  - bin/chef-client
644
702
  - bin/chef-service-manager
@@ -648,6 +706,8 @@ files:
648
706
  - bin/knife
649
707
  - chef-universal-mingw32.gemspec
650
708
  - chef.gemspec
709
+ - distro/powershell/chef/Chef.PowerShell.dll
710
+ - distro/powershell/chef/Newtonsoft.Json.dll
651
711
  - distro/powershell/chef/chef.psm1
652
712
  - ext/win32-eventlog/Rakefile
653
713
  - ext/win32-eventlog/chef-log.man
@@ -967,9 +1027,6 @@ files:
967
1027
  - lib/chef/knife/environment_list.rb
968
1028
  - lib/chef/knife/environment_show.rb
969
1029
  - lib/chef/knife/exec.rb
970
- - lib/chef/knife/help.rb
971
- - lib/chef/knife/help_topics.rb
972
- - lib/chef/knife/index_rebuild.rb
973
1030
  - lib/chef/knife/key_create.rb
974
1031
  - lib/chef/knife/key_create_base.rb
975
1032
  - lib/chef/knife/key_delete.rb
@@ -986,6 +1043,7 @@ files:
986
1043
  - lib/chef/knife/node_environment_set.rb
987
1044
  - lib/chef/knife/node_from_file.rb
988
1045
  - lib/chef/knife/node_list.rb
1046
+ - lib/chef/knife/node_policy_set.rb
989
1047
  - lib/chef/knife/node_run_list_add.rb
990
1048
  - lib/chef/knife/node_run_list_remove.rb
991
1049
  - lib/chef/knife/node_run_list_set.rb
@@ -1064,19 +1122,17 @@ files:
1064
1122
  - lib/chef/mixin/from_file.rb
1065
1123
  - lib/chef/mixin/get_source_from_package.rb
1066
1124
  - lib/chef/mixin/homebrew_user.rb
1067
- - lib/chef/mixin/language.rb
1068
- - lib/chef/mixin/language_include_attribute.rb
1069
- - lib/chef/mixin/language_include_recipe.rb
1070
1125
  - lib/chef/mixin/lazy_module_include.rb
1071
1126
  - lib/chef/mixin/notifying_block.rb
1127
+ - lib/chef/mixin/openssl_helper.rb
1072
1128
  - lib/chef/mixin/params_validate.rb
1073
1129
  - lib/chef/mixin/path_sanity.rb
1130
+ - lib/chef/mixin/powershell_exec.rb
1074
1131
  - lib/chef/mixin/powershell_out.rb
1075
1132
  - lib/chef/mixin/powershell_type_coercions.rb
1076
1133
  - lib/chef/mixin/properties.rb
1077
1134
  - lib/chef/mixin/provides.rb
1078
1135
  - lib/chef/mixin/proxified_socket.rb
1079
- - lib/chef/mixin/recipe_definition_dsl_core.rb
1080
1136
  - lib/chef/mixin/securable.rb
1081
1137
  - lib/chef/mixin/shell_out.rb
1082
1138
  - lib/chef/mixin/subclass_directive.rb
@@ -1123,6 +1179,7 @@ files:
1123
1179
  - lib/chef/policy_builder/dynamic.rb
1124
1180
  - lib/chef/policy_builder/expand_node_object.rb
1125
1181
  - lib/chef/policy_builder/policyfile.rb
1182
+ - lib/chef/powershell.rb
1126
1183
  - lib/chef/property.rb
1127
1184
  - lib/chef/provider.rb
1128
1185
  - lib/chef/provider/apt_preference.rb
@@ -1135,15 +1192,9 @@ files:
1135
1192
  - lib/chef/provider/cron/aix.rb
1136
1193
  - lib/chef/provider/cron/solaris.rb
1137
1194
  - lib/chef/provider/cron/unix.rb
1138
- - lib/chef/provider/deploy.rb
1139
- - lib/chef/provider/deploy/revision.rb
1140
- - lib/chef/provider/deploy/timestamped.rb
1141
1195
  - lib/chef/provider/directory.rb
1142
1196
  - lib/chef/provider/dsc_resource.rb
1143
1197
  - lib/chef/provider/dsc_script.rb
1144
- - lib/chef/provider/env.rb
1145
- - lib/chef/provider/env/windows.rb
1146
- - lib/chef/provider/erl_call.rb
1147
1198
  - lib/chef/provider/execute.rb
1148
1199
  - lib/chef/provider/file.rb
1149
1200
  - lib/chef/provider/file/content.rb
@@ -1177,8 +1228,8 @@ files:
1177
1228
  - lib/chef/provider/ohai.rb
1178
1229
  - lib/chef/provider/osx_profile.rb
1179
1230
  - lib/chef/provider/package.rb
1180
- - lib/chef/provider/package/aix.rb
1181
1231
  - lib/chef/provider/package/apt.rb
1232
+ - lib/chef/provider/package/bff.rb
1182
1233
  - lib/chef/provider/package/cab.rb
1183
1234
  - lib/chef/provider/package/chocolatey.rb
1184
1235
  - lib/chef/provider/package/dnf.rb
@@ -1208,9 +1259,21 @@ files:
1208
1259
  - lib/chef/provider/package/windows/msi.rb
1209
1260
  - lib/chef/provider/package/windows/registry_uninstall_entry.rb
1210
1261
  - lib/chef/provider/package/yum.rb
1262
+ - lib/chef/provider/package/yum/python_helper.rb
1211
1263
  - lib/chef/provider/package/yum/rpm_utils.rb
1212
- - lib/chef/provider/package/yum/yum-dump.py
1264
+ - lib/chef/provider/package/yum/simplejson/LICENSE.txt
1265
+ - lib/chef/provider/package/yum/simplejson/__init__.py
1266
+ - lib/chef/provider/package/yum/simplejson/__init__.pyc
1267
+ - lib/chef/provider/package/yum/simplejson/decoder.py
1268
+ - lib/chef/provider/package/yum/simplejson/decoder.pyc
1269
+ - lib/chef/provider/package/yum/simplejson/encoder.py
1270
+ - lib/chef/provider/package/yum/simplejson/encoder.pyc
1271
+ - lib/chef/provider/package/yum/simplejson/scanner.py
1272
+ - lib/chef/provider/package/yum/simplejson/scanner.pyc
1273
+ - lib/chef/provider/package/yum/simplejson/tool.py
1274
+ - lib/chef/provider/package/yum/version.rb
1213
1275
  - lib/chef/provider/package/yum/yum_cache.rb
1276
+ - lib/chef/provider/package/yum/yum_helper.py
1214
1277
  - lib/chef/provider/package/zypper.rb
1215
1278
  - lib/chef/provider/powershell_script.rb
1216
1279
  - lib/chef/provider/reboot.rb
@@ -1263,6 +1326,7 @@ files:
1263
1326
  - lib/chef/provider/user/useradd.rb
1264
1327
  - lib/chef/provider/user/windows.rb
1265
1328
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1329
+ - lib/chef/provider/windows_env.rb
1266
1330
  - lib/chef/provider/windows_path.rb
1267
1331
  - lib/chef/provider/windows_script.rb
1268
1332
  - lib/chef/provider/windows_task.rb
@@ -1283,23 +1347,22 @@ files:
1283
1347
  - lib/chef/resource/batch.rb
1284
1348
  - lib/chef/resource/bff_package.rb
1285
1349
  - lib/chef/resource/breakpoint.rb
1350
+ - lib/chef/resource/build_essential.rb
1286
1351
  - lib/chef/resource/cab_package.rb
1287
1352
  - lib/chef/resource/chef_gem.rb
1353
+ - lib/chef/resource/chef_handler.rb
1288
1354
  - lib/chef/resource/chocolatey_package.rb
1289
1355
  - lib/chef/resource/conditional.rb
1290
1356
  - lib/chef/resource/conditional_action_not_nothing.rb
1291
1357
  - lib/chef/resource/cookbook_file.rb
1292
1358
  - lib/chef/resource/cron.rb
1293
1359
  - lib/chef/resource/csh.rb
1294
- - lib/chef/resource/deploy.rb
1295
- - lib/chef/resource/deploy_revision.rb
1296
1360
  - lib/chef/resource/directory.rb
1361
+ - lib/chef/resource/dmg_package.rb
1297
1362
  - lib/chef/resource/dnf_package.rb
1298
1363
  - lib/chef/resource/dpkg_package.rb
1299
1364
  - lib/chef/resource/dsc_resource.rb
1300
1365
  - lib/chef/resource/dsc_script.rb
1301
- - lib/chef/resource/env.rb
1302
- - lib/chef/resource/erl_call.rb
1303
1366
  - lib/chef/resource/execute.rb
1304
1367
  - lib/chef/resource/file.rb
1305
1368
  - lib/chef/resource/file/verification.rb
@@ -1308,7 +1371,10 @@ files:
1308
1371
  - lib/chef/resource/gem_package.rb
1309
1372
  - lib/chef/resource/git.rb
1310
1373
  - lib/chef/resource/group.rb
1374
+ - lib/chef/resource/homebrew_cask.rb
1311
1375
  - lib/chef/resource/homebrew_package.rb
1376
+ - lib/chef/resource/homebrew_tap.rb
1377
+ - lib/chef/resource/hostname.rb
1312
1378
  - lib/chef/resource/http_request.rb
1313
1379
  - lib/chef/resource/ifconfig.rb
1314
1380
  - lib/chef/resource/ips_package.rb
@@ -1317,13 +1383,18 @@ files:
1317
1383
  - lib/chef/resource/link.rb
1318
1384
  - lib/chef/resource/log.rb
1319
1385
  - lib/chef/resource/lwrp_base.rb
1386
+ - lib/chef/resource/macos_userdefaults.rb
1320
1387
  - lib/chef/resource/macosx_service.rb
1321
1388
  - lib/chef/resource/macports_package.rb
1322
1389
  - lib/chef/resource/mdadm.rb
1323
1390
  - lib/chef/resource/mount.rb
1324
1391
  - lib/chef/resource/msu_package.rb
1325
1392
  - lib/chef/resource/ohai.rb
1393
+ - lib/chef/resource/ohai_hint.rb
1326
1394
  - lib/chef/resource/openbsd_package.rb
1395
+ - lib/chef/resource/openssl_dhparam.rb
1396
+ - lib/chef/resource/openssl_rsa_private_key.rb
1397
+ - lib/chef/resource/openssl_rsa_public_key.rb
1327
1398
  - lib/chef/resource/osx_profile.rb
1328
1399
  - lib/chef/resource/package.rb
1329
1400
  - lib/chef/resource/pacman_package.rb
@@ -1338,6 +1409,11 @@ files:
1338
1409
  - lib/chef/resource/remote_directory.rb
1339
1410
  - lib/chef/resource/remote_file.rb
1340
1411
  - lib/chef/resource/resource_notification.rb
1412
+ - lib/chef/resource/rhsm_errata.rb
1413
+ - lib/chef/resource/rhsm_errata_level.rb
1414
+ - lib/chef/resource/rhsm_register.rb
1415
+ - lib/chef/resource/rhsm_repo.rb
1416
+ - lib/chef/resource/rhsm_subscription.rb
1341
1417
  - lib/chef/resource/route.rb
1342
1418
  - lib/chef/resource/rpm_package.rb
1343
1419
  - lib/chef/resource/ruby.rb
@@ -1348,9 +1424,12 @@ files:
1348
1424
  - lib/chef/resource/smartos_package.rb
1349
1425
  - lib/chef/resource/solaris_package.rb
1350
1426
  - lib/chef/resource/subversion.rb
1427
+ - lib/chef/resource/sudo.rb
1428
+ - lib/chef/resource/support/sudoer.erb
1429
+ - lib/chef/resource/swap_file.rb
1430
+ - lib/chef/resource/sysctl.rb
1351
1431
  - lib/chef/resource/systemd_unit.rb
1352
1432
  - lib/chef/resource/template.rb
1353
- - lib/chef/resource/timestamped_deploy.rb
1354
1433
  - lib/chef/resource/user.rb
1355
1434
  - lib/chef/resource/user/aix_user.rb
1356
1435
  - lib/chef/resource/user/dscl_user.rb
@@ -1359,10 +1438,21 @@ files:
1359
1438
  - lib/chef/resource/user/solaris_user.rb
1360
1439
  - lib/chef/resource/user/windows_user.rb
1361
1440
  - lib/chef/resource/whyrun_safe_ruby_block.rb
1441
+ - lib/chef/resource/windows_ad_join.rb
1442
+ - lib/chef/resource/windows_auto_run.rb
1443
+ - lib/chef/resource/windows_env.rb
1444
+ - lib/chef/resource/windows_feature.rb
1445
+ - lib/chef/resource/windows_feature_dism.rb
1446
+ - lib/chef/resource/windows_feature_powershell.rb
1447
+ - lib/chef/resource/windows_font.rb
1362
1448
  - lib/chef/resource/windows_package.rb
1449
+ - lib/chef/resource/windows_pagefile.rb
1363
1450
  - lib/chef/resource/windows_path.rb
1451
+ - lib/chef/resource/windows_printer.rb
1452
+ - lib/chef/resource/windows_printer_port.rb
1364
1453
  - lib/chef/resource/windows_script.rb
1365
1454
  - lib/chef/resource/windows_service.rb
1455
+ - lib/chef/resource/windows_shortcut.rb
1366
1456
  - lib/chef/resource/windows_task.rb
1367
1457
  - lib/chef/resource/yum_package.rb
1368
1458
  - lib/chef/resource/yum_repository.rb
@@ -1376,6 +1466,7 @@ files:
1376
1466
  - lib/chef/resource_collection/stepable_iterator.rb
1377
1467
  - lib/chef/resource_definition.rb
1378
1468
  - lib/chef/resource_definition_list.rb
1469
+ - lib/chef/resource_inspector.rb
1379
1470
  - lib/chef/resource_reporter.rb
1380
1471
  - lib/chef/resource_resolver.rb
1381
1472
  - lib/chef/resources.rb
@@ -1464,6 +1555,7 @@ files:
1464
1555
  - lib/chef/win32/system.rb
1465
1556
  - lib/chef/win32/unicode.rb
1466
1557
  - lib/chef/win32/version.rb
1558
+ - lib/chef/win32_service_constants.rb
1467
1559
  - lib/chef/workstation_config_loader.rb
1468
1560
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1469
1561
  - spec/data/apt/chef-integration-test-1.0/debian/compat
@@ -1681,6 +1773,8 @@ files:
1681
1773
  - spec/data/mac_users/10.9.plist.xml
1682
1774
  - spec/data/mac_users/10.9.shadow.xml
1683
1775
  - spec/data/metadata/quick_start/metadata.rb
1776
+ - spec/data/mixin/invalid_data.rb
1777
+ - spec/data/mixin/real_data.rb
1684
1778
  - spec/data/nested.json
1685
1779
  - spec/data/nodes/default.rb
1686
1780
  - spec/data/nodes/test.example.com.rb
@@ -1816,18 +1910,29 @@ files:
1816
1910
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1817
1911
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1818
1912
  - spec/functional/assets/testchefsubsys
1819
- - spec/functional/assets/yumrepo/chef_rpm-1.10-1.fc24.i686.rpm
1820
- - spec/functional/assets/yumrepo/chef_rpm-1.10-1.fc24.src.rpm
1821
- - spec/functional/assets/yumrepo/chef_rpm-1.10-1.fc24.x86_64.rpm
1822
- - spec/functional/assets/yumrepo/chef_rpm-1.2-1.fc24.i686.rpm
1823
- - spec/functional/assets/yumrepo/chef_rpm-1.2-1.fc24.src.rpm
1824
- - spec/functional/assets/yumrepo/chef_rpm-1.2-1.fc24.x86_64.rpm
1825
- - spec/functional/assets/yumrepo/repodata/313329137b55fd333b2dc66394a6661a2befa6cc535d8460d92a4a78a9c581f0-primary.sqlite.bz2
1826
- - spec/functional/assets/yumrepo/repodata/31ac4db5d5ac593728fcc26aef82b7b93c4cc4dbec843786b1845b939b658553-other.xml.gz
1827
- - spec/functional/assets/yumrepo/repodata/4ac40fa3c6728c1401318e2e20a997436624e83dcf7a5f952b851ef422637773-filelists.sqlite.bz2
1828
- - spec/functional/assets/yumrepo/repodata/66391e53f0510b98b3f0b79f40ba1048026d9a1ef20905d9c40ba6f5411f3243-primary.xml.gz
1829
- - spec/functional/assets/yumrepo/repodata/8b34697595fcc87928e12d24644dda9462c3857bd932861e28bc77ae1f31be16-filelists.xml.gz
1830
- - spec/functional/assets/yumrepo/repodata/b97cca3fe14bcf06c52be4449b6108f7731239ff221111dcce8aada5467f60dc-other.sqlite.bz2
1913
+ - spec/functional/assets/yumrepo/chef_rpm-1.10-1.aarch64.rpm
1914
+ - spec/functional/assets/yumrepo/chef_rpm-1.10-1.i686.rpm
1915
+ - spec/functional/assets/yumrepo/chef_rpm-1.10-1.ppc64.rpm
1916
+ - spec/functional/assets/yumrepo/chef_rpm-1.10-1.ppc64le.rpm
1917
+ - spec/functional/assets/yumrepo/chef_rpm-1.10-1.s390x.rpm
1918
+ - spec/functional/assets/yumrepo/chef_rpm-1.10-1.src.rpm
1919
+ - spec/functional/assets/yumrepo/chef_rpm-1.10-1.x86_64.rpm
1920
+ - spec/functional/assets/yumrepo/chef_rpm-1.2-1.aarch64.rpm
1921
+ - spec/functional/assets/yumrepo/chef_rpm-1.2-1.i686.rpm
1922
+ - spec/functional/assets/yumrepo/chef_rpm-1.2-1.ppc64.rpm
1923
+ - spec/functional/assets/yumrepo/chef_rpm-1.2-1.ppc64le.rpm
1924
+ - spec/functional/assets/yumrepo/chef_rpm-1.2-1.s390x.rpm
1925
+ - spec/functional/assets/yumrepo/chef_rpm-1.2-1.src.rpm
1926
+ - spec/functional/assets/yumrepo/chef_rpm-1.2-1.x86_64.rpm
1927
+ - spec/functional/assets/yumrepo/repodata/4632d67cb92636e7575d911c24f0e04d3505a944e97c483abe0c3e73a7c62d33-filelists.sqlite.bz2
1928
+ - spec/functional/assets/yumrepo/repodata/74599b793e54d877323837d2d81a1c3c594c44e4335f9528234bb490f7b9b439-other.xml.gz
1929
+ - spec/functional/assets/yumrepo/repodata/a845d418f919d2115ab95a56b2c76f6825ad0d0bede49181a55c04f58995d057-primary.sqlite.bz2
1930
+ - spec/functional/assets/yumrepo/repodata/af9b7cf9ef23bd7b43068d74a460f3b5d06753d638e58e4a0c9edc35bfb9cdc4-other.sqlite.bz2
1931
+ - spec/functional/assets/yumrepo/repodata/bdb4f5f1492a3b9532f22c43110a81500dd744f23da0aec5c33b2a41317c737d-filelists.xml.gz
1932
+ - spec/functional/assets/yumrepo/repodata/c10d1d34ce99e02f12ec96ef68360543ab1bb7c3cb81a4a2bf78df7d8597e9df-primary.xml.gz
1933
+ - spec/functional/assets/yumrepo/repodata/filelists.xml.gz
1934
+ - spec/functional/assets/yumrepo/repodata/other.xml.gz
1935
+ - spec/functional/assets/yumrepo/repodata/primary.xml.gz
1831
1936
  - spec/functional/assets/yumrepo/repodata/repomd.xml
1832
1937
  - spec/functional/audit/rspec_formatter_spec.rb
1833
1938
  - spec/functional/audit/runner_spec.rb
@@ -1842,6 +1947,7 @@ files:
1842
1947
  - spec/functional/knife/rehash_spec.rb
1843
1948
  - spec/functional/knife/smoke_test.rb
1844
1949
  - spec/functional/knife/ssh_spec.rb
1950
+ - spec/functional/mixin/from_file_spec.rb
1845
1951
  - spec/functional/mixin/powershell_out_spec.rb
1846
1952
  - spec/functional/mixin/shell_out_spec.rb
1847
1953
  - spec/functional/mixin/user_context_spec.rb
@@ -1851,6 +1957,7 @@ files:
1851
1957
  - spec/functional/rebooter_spec.rb
1852
1958
  - spec/functional/resource/aix_service_spec.rb
1853
1959
  - spec/functional/resource/aixinit_service_spec.rb
1960
+ - spec/functional/resource/apt_package_spec.rb
1854
1961
  - spec/functional/resource/base.rb
1855
1962
  - spec/functional/resource/bash_spec.rb
1856
1963
  - spec/functional/resource/batch_spec.rb
@@ -1858,13 +1965,11 @@ files:
1858
1965
  - spec/functional/resource/chocolatey_package_spec.rb
1859
1966
  - spec/functional/resource/cookbook_file_spec.rb
1860
1967
  - spec/functional/resource/cron_spec.rb
1861
- - spec/functional/resource/deploy_revision_spec.rb
1862
1968
  - spec/functional/resource/directory_spec.rb
1863
1969
  - spec/functional/resource/dnf_package_spec.rb
1864
1970
  - spec/functional/resource/dpkg_package_spec.rb
1865
1971
  - spec/functional/resource/dsc_resource_spec.rb
1866
1972
  - spec/functional/resource/dsc_script_spec.rb
1867
- - spec/functional/resource/env_spec.rb
1868
1973
  - spec/functional/resource/execute_spec.rb
1869
1974
  - spec/functional/resource/file_spec.rb
1870
1975
  - spec/functional/resource/git_spec.rb
@@ -1874,7 +1979,6 @@ files:
1874
1979
  - spec/functional/resource/mount_spec.rb
1875
1980
  - spec/functional/resource/msu_package_spec.rb
1876
1981
  - spec/functional/resource/ohai_spec.rb
1877
- - spec/functional/resource/package_spec.rb
1878
1982
  - spec/functional/resource/powershell_script_spec.rb
1879
1983
  - spec/functional/resource/reboot_spec.rb
1880
1984
  - spec/functional/resource/registry_spec.rb
@@ -1885,10 +1989,12 @@ files:
1885
1989
  - spec/functional/resource/user/dscl_spec.rb
1886
1990
  - spec/functional/resource/user/useradd_spec.rb
1887
1991
  - spec/functional/resource/user/windows_spec.rb
1992
+ - spec/functional/resource/windows_env_spec.rb
1888
1993
  - spec/functional/resource/windows_package_spec.rb
1889
1994
  - spec/functional/resource/windows_path_spec.rb
1890
1995
  - spec/functional/resource/windows_service_spec.rb
1891
1996
  - spec/functional/resource/windows_task_spec.rb
1997
+ - spec/functional/resource/yum_package_spec.rb
1892
1998
  - spec/functional/root_alias_spec.rb
1893
1999
  - spec/functional/run_lock_spec.rb
1894
2000
  - spec/functional/shell_spec.rb
@@ -2193,20 +2299,19 @@ files:
2193
2299
  - spec/unit/knife/environment_from_file_spec.rb
2194
2300
  - spec/unit/knife/environment_list_spec.rb
2195
2301
  - spec/unit/knife/environment_show_spec.rb
2196
- - spec/unit/knife/index_rebuild_spec.rb
2197
2302
  - spec/unit/knife/key_create_spec.rb
2198
2303
  - spec/unit/knife/key_delete_spec.rb
2199
2304
  - spec/unit/knife/key_edit_spec.rb
2200
2305
  - spec/unit/knife/key_helper.rb
2201
2306
  - spec/unit/knife/key_list_spec.rb
2202
2307
  - spec/unit/knife/key_show_spec.rb
2203
- - spec/unit/knife/knife_help.rb
2204
2308
  - spec/unit/knife/node_bulk_delete_spec.rb
2205
2309
  - spec/unit/knife/node_delete_spec.rb
2206
2310
  - spec/unit/knife/node_edit_spec.rb
2207
2311
  - spec/unit/knife/node_environment_set_spec.rb
2208
2312
  - spec/unit/knife/node_from_file_spec.rb
2209
2313
  - spec/unit/knife/node_list_spec.rb
2314
+ - spec/unit/knife/node_policy_set_spec.rb
2210
2315
  - spec/unit/knife/node_run_list_add_spec.rb
2211
2316
  - spec/unit/knife/node_run_list_remove_spec.rb
2212
2317
  - spec/unit/knife/node_run_list_set_spec.rb
@@ -2262,8 +2367,10 @@ files:
2262
2367
  - spec/unit/mixin/enforce_ownership_and_permissions_spec.rb
2263
2368
  - spec/unit/mixin/homebrew_user_spec.rb
2264
2369
  - spec/unit/mixin/lazy_module_include.rb
2370
+ - spec/unit/mixin/openssl_helper_spec.rb
2265
2371
  - spec/unit/mixin/params_validate_spec.rb
2266
2372
  - spec/unit/mixin/path_sanity_spec.rb
2373
+ - spec/unit/mixin/powershell_exec_spec.rb
2267
2374
  - spec/unit/mixin/powershell_out_spec.rb
2268
2375
  - spec/unit/mixin/powershell_type_coercions_spec.rb
2269
2376
  - spec/unit/mixin/properties_spec.rb
@@ -2302,15 +2409,9 @@ files:
2302
2409
  - spec/unit/provider/cookbook_file_spec.rb
2303
2410
  - spec/unit/provider/cron/unix_spec.rb
2304
2411
  - spec/unit/provider/cron_spec.rb
2305
- - spec/unit/provider/deploy/revision_spec.rb
2306
- - spec/unit/provider/deploy/timestamped_spec.rb
2307
- - spec/unit/provider/deploy_spec.rb
2308
2412
  - spec/unit/provider/directory_spec.rb
2309
2413
  - spec/unit/provider/dsc_resource_spec.rb
2310
2414
  - spec/unit/provider/dsc_script_spec.rb
2311
- - spec/unit/provider/env/windows_spec.rb
2312
- - spec/unit/provider/env_spec.rb
2313
- - spec/unit/provider/erl_call_spec.rb
2314
2415
  - spec/unit/provider/execute_spec.rb
2315
2416
  - spec/unit/provider/file/content_spec.rb
2316
2417
  - spec/unit/provider/file_spec.rb
@@ -2340,8 +2441,8 @@ files:
2340
2441
  - spec/unit/provider/mount_spec.rb
2341
2442
  - spec/unit/provider/ohai_spec.rb
2342
2443
  - spec/unit/provider/osx_profile_spec.rb
2343
- - spec/unit/provider/package/aix_spec.rb
2344
2444
  - spec/unit/provider/package/apt_spec.rb
2445
+ - spec/unit/provider/package/bff_spec.rb
2345
2446
  - spec/unit/provider/package/cab_spec.rb
2346
2447
  - spec/unit/provider/package/chocolatey_spec.rb
2347
2448
  - spec/unit/provider/package/dnf/python_helper_spec.rb
@@ -2366,8 +2467,8 @@ files:
2366
2467
  - spec/unit/provider/package/windows/msi_spec.rb
2367
2468
  - spec/unit/provider/package/windows/registry_uninstall_entry_spec.rb
2368
2469
  - spec/unit/provider/package/windows_spec.rb
2470
+ - spec/unit/provider/package/yum/python_helper_spec.rb
2369
2471
  - spec/unit/provider/package/yum/yum_cache_spec.rb
2370
- - spec/unit/provider/package/yum_spec.rb
2371
2472
  - spec/unit/provider/package/zypper_spec.rb
2372
2473
  - spec/unit/provider/package_spec.rb
2373
2474
  - spec/unit/provider/powershell_script_spec.rb
@@ -2415,6 +2516,7 @@ files:
2415
2516
  - spec/unit/provider/user/windows_spec.rb
2416
2517
  - spec/unit/provider/user_spec.rb
2417
2518
  - spec/unit/provider/whyrun_safe_ruby_block_spec.rb
2519
+ - spec/unit/provider/windows_env_spec.rb
2418
2520
  - spec/unit/provider/windows_path_spec.rb
2419
2521
  - spec/unit/provider/windows_task_spec.rb
2420
2522
  - spec/unit/provider/yum_repository_spec.rb
@@ -2430,23 +2532,22 @@ files:
2430
2532
  - spec/unit/resource/bash_spec.rb
2431
2533
  - spec/unit/resource/batch_spec.rb
2432
2534
  - spec/unit/resource/breakpoint_spec.rb
2535
+ - spec/unit/resource/build_essential_spec.rb
2433
2536
  - spec/unit/resource/cab_package_spec.rb
2434
2537
  - spec/unit/resource/chef_gem_spec.rb
2538
+ - spec/unit/resource/chef_handler_spec.rb
2435
2539
  - spec/unit/resource/chocolatey_package_spec.rb
2436
2540
  - spec/unit/resource/conditional_action_not_nothing_spec.rb
2437
2541
  - spec/unit/resource/conditional_spec.rb
2438
2542
  - spec/unit/resource/cookbook_file_spec.rb
2439
2543
  - spec/unit/resource/cron_spec.rb
2440
2544
  - spec/unit/resource/csh_spec.rb
2441
- - spec/unit/resource/deploy_revision_spec.rb
2442
- - spec/unit/resource/deploy_spec.rb
2443
2545
  - spec/unit/resource/directory_spec.rb
2546
+ - spec/unit/resource/dmg_package_spec.rb
2444
2547
  - spec/unit/resource/dnf_package_spec.rb
2445
2548
  - spec/unit/resource/dpkg_package_spec.rb
2446
2549
  - spec/unit/resource/dsc_resource_spec.rb
2447
2550
  - spec/unit/resource/dsc_script_spec.rb
2448
- - spec/unit/resource/env_spec.rb
2449
- - spec/unit/resource/erl_call_spec.rb
2450
2551
  - spec/unit/resource/execute_spec.rb
2451
2552
  - spec/unit/resource/file/verification/systemd_unit_spec.rb
2452
2553
  - spec/unit/resource/file/verification_spec.rb
@@ -2455,7 +2556,10 @@ files:
2455
2556
  - spec/unit/resource/gem_package_spec.rb
2456
2557
  - spec/unit/resource/git_spec.rb
2457
2558
  - spec/unit/resource/group_spec.rb
2559
+ - spec/unit/resource/homebrew_cask_spec.rb
2458
2560
  - spec/unit/resource/homebrew_package_spec.rb
2561
+ - spec/unit/resource/homebrew_tap_spec.rb
2562
+ - spec/unit/resource/hostname_spec.rb
2459
2563
  - spec/unit/resource/http_request_spec.rb
2460
2564
  - spec/unit/resource/ifconfig_spec.rb
2461
2565
  - spec/unit/resource/ips_package_spec.rb
@@ -2463,12 +2567,17 @@ files:
2463
2567
  - spec/unit/resource/launchd_spec.rb
2464
2568
  - spec/unit/resource/link_spec.rb
2465
2569
  - spec/unit/resource/log_spec.rb
2570
+ - spec/unit/resource/macos_user_defaults_spec.rb
2466
2571
  - spec/unit/resource/macports_package_spec.rb
2467
2572
  - spec/unit/resource/mdadm_spec.rb
2468
2573
  - spec/unit/resource/mount_spec.rb
2469
2574
  - spec/unit/resource/msu_package_spec.rb
2575
+ - spec/unit/resource/ohai_hint_spec.rb
2470
2576
  - spec/unit/resource/ohai_spec.rb
2471
2577
  - spec/unit/resource/openbsd_package_spec.rb
2578
+ - spec/unit/resource/openssl_dhparam.rb
2579
+ - spec/unit/resource/openssl_rsa_private_key_spec.rb
2580
+ - spec/unit/resource/openssl_rsa_public_key_spec.rb
2472
2581
  - spec/unit/resource/osx_profile_spec.rb
2473
2582
  - spec/unit/resource/package_spec.rb
2474
2583
  - spec/unit/resource/pacman_package_spec.rb
@@ -2482,6 +2591,11 @@ files:
2482
2591
  - spec/unit/resource/remote_directory_spec.rb
2483
2592
  - spec/unit/resource/remote_file_spec.rb
2484
2593
  - spec/unit/resource/resource_notification_spec.rb
2594
+ - spec/unit/resource/rhsm_errata_level_spec.rb
2595
+ - spec/unit/resource/rhsm_errata_spec.rb
2596
+ - spec/unit/resource/rhsm_register_spec.rb
2597
+ - spec/unit/resource/rhsm_repo_spec.rb
2598
+ - spec/unit/resource/rhsm_subscription_spec.rb
2485
2599
  - spec/unit/resource/route_spec.rb
2486
2600
  - spec/unit/resource/rpm_package_spec.rb
2487
2601
  - spec/unit/resource/ruby_block_spec.rb
@@ -2492,13 +2606,26 @@ files:
2492
2606
  - spec/unit/resource/smartos_package_spec.rb
2493
2607
  - spec/unit/resource/solaris_package_spec.rb
2494
2608
  - spec/unit/resource/subversion_spec.rb
2609
+ - spec/unit/resource/sudo_spec.rb
2610
+ - spec/unit/resource/swap_file_spec.rb
2611
+ - spec/unit/resource/sysctl_spec.rb
2495
2612
  - spec/unit/resource/systemd_unit_spec.rb
2496
2613
  - spec/unit/resource/template_spec.rb
2497
- - spec/unit/resource/timestamped_deploy_spec.rb
2498
2614
  - spec/unit/resource/user_spec.rb
2615
+ - spec/unit/resource/windows_ad_join.rb
2616
+ - spec/unit/resource/windows_auto_run_spec.rb
2617
+ - spec/unit/resource/windows_env_spec.rb
2618
+ - spec/unit/resource/windows_feature.rb
2619
+ - spec/unit/resource/windows_feature_dism.rb
2620
+ - spec/unit/resource/windows_feature_powershell.rb
2621
+ - spec/unit/resource/windows_font_spec.rb
2499
2622
  - spec/unit/resource/windows_package_spec.rb
2623
+ - spec/unit/resource/windows_pagefile_spec.rb
2500
2624
  - spec/unit/resource/windows_path_spec.rb
2625
+ - spec/unit/resource/windows_printer_port_spec.rb
2626
+ - spec/unit/resource/windows_printer_spec.rb
2501
2627
  - spec/unit/resource/windows_service_spec.rb
2628
+ - spec/unit/resource/windows_shortcut_spec.rb
2502
2629
  - spec/unit/resource/windows_task_spec.rb
2503
2630
  - spec/unit/resource/yum_package_spec.rb
2504
2631
  - spec/unit/resource/yum_repository_spec.rb
@@ -2509,6 +2636,7 @@ files:
2509
2636
  - spec/unit/resource_collection/stepable_iterator_spec.rb
2510
2637
  - spec/unit/resource_collection_spec.rb
2511
2638
  - spec/unit/resource_definition_spec.rb
2639
+ - spec/unit/resource_inspector_spec.rb
2512
2640
  - spec/unit/resource_reporter_spec.rb
2513
2641
  - spec/unit/resource_resolver_spec.rb
2514
2642
  - spec/unit/resource_spec.rb
@@ -2558,6 +2686,7 @@ files:
2558
2686
  - spec/unit/windows_service_spec.rb
2559
2687
  - tasks/announce.rb
2560
2688
  - tasks/bin/run_external_test
2689
+ - tasks/cbgb.rb
2561
2690
  - tasks/dependencies.rb
2562
2691
  - tasks/maintainers.rb
2563
2692
  - tasks/rspec.rb
@@ -2575,7 +2704,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2575
2704
  requirements:
2576
2705
  - - ">="
2577
2706
  - !ruby/object:Gem::Version
2578
- version: 2.3.0
2707
+ version: 2.4.0
2579
2708
  required_rubygems_version: !ruby/object:Gem::Requirement
2580
2709
  requirements:
2581
2710
  - - ">="
@@ -2583,7 +2712,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2583
2712
  version: '0'
2584
2713
  requirements: []
2585
2714
  rubyforge_project:
2586
- rubygems_version: 2.7.9
2715
+ rubygems_version: 2.7.6
2587
2716
  signing_key:
2588
2717
  specification_version: 4
2589
2718
  summary: A systems integration framework, built to bring the benefits of configuration