chef 17.0.242-universal-mingw32 → 17.4.25-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -14
  3. data/Rakefile +2 -2
  4. data/chef.gemspec +10 -20
  5. data/lib/chef/action_collection.rb +6 -26
  6. data/lib/chef/application/base.rb +15 -0
  7. data/lib/chef/application.rb +4 -2
  8. data/lib/chef/chef_fs/file_pattern.rb +2 -2
  9. data/lib/chef/client.rb +7 -1
  10. data/lib/chef/compliance/default_attributes.rb +5 -3
  11. data/lib/chef/compliance/reporter/automate.rb +1 -1
  12. data/lib/chef/compliance/runner.rb +17 -3
  13. data/lib/chef/cookbook/cookbook_version_loader.rb +3 -3
  14. data/lib/chef/cookbook/gem_installer.rb +5 -1
  15. data/lib/chef/cookbook_version.rb +26 -4
  16. data/lib/chef/data_collector/run_end_message.rb +1 -1
  17. data/lib/chef/data_collector.rb +0 -1
  18. data/lib/chef/deprecated.rb +14 -4
  19. data/lib/chef/dsl/declare_resource.rb +5 -10
  20. data/lib/chef/dsl/render_helpers.rb +44 -0
  21. data/lib/chef/dsl/secret.rb +64 -0
  22. data/lib/chef/dsl/toml.rb +116 -0
  23. data/lib/chef/dsl/universal.rb +5 -0
  24. data/lib/chef/dsl.rb +1 -0
  25. data/lib/chef/event_dispatch/base.rb +2 -1
  26. data/lib/chef/exceptions.rb +23 -0
  27. data/lib/chef/formatters/doc.rb +2 -1
  28. data/lib/chef/formatters/error_mapper.rb +2 -2
  29. data/lib/chef/handler/slow_report.rb +66 -0
  30. data/lib/chef/handler.rb +46 -8
  31. data/lib/chef/json_compat.rb +1 -1
  32. data/lib/chef/node.rb +21 -20
  33. data/lib/chef/policy_builder/policyfile.rb +88 -45
  34. data/lib/chef/provider/directory.rb +6 -6
  35. data/lib/chef/provider/execute.rb +1 -1
  36. data/lib/chef/provider/file.rb +2 -2
  37. data/lib/chef/provider/group/dscl.rb +1 -1
  38. data/lib/chef/provider/launchd.rb +6 -6
  39. data/lib/chef/provider/link.rb +1 -1
  40. data/lib/chef/provider/lwrp_base.rb +1 -1
  41. data/lib/chef/provider/package/dnf/dnf_helper.py +11 -10
  42. data/lib/chef/provider/package/dnf/python_helper.rb +9 -8
  43. data/lib/chef/provider/package/habitat.rb +168 -0
  44. data/lib/chef/provider/package/powershell.rb +5 -0
  45. data/lib/chef/provider/package/yum/python_helper.rb +15 -10
  46. data/lib/chef/provider/package/yum/yum_helper.py +46 -62
  47. data/lib/chef/provider/package/yum.rb +1 -4
  48. data/lib/chef/provider/registry_key.rb +1 -1
  49. data/lib/chef/provider/service/systemd.rb +1 -1
  50. data/lib/chef/provider/subversion.rb +4 -4
  51. data/lib/chef/provider/support/yum_repo.erb +1 -1
  52. data/lib/chef/provider/support/zypper_repo.erb +4 -2
  53. data/lib/chef/provider/systemd_unit.rb +18 -17
  54. data/lib/chef/provider/template/content.rb +1 -1
  55. data/lib/chef/provider/user/mac.rb +3 -3
  56. data/lib/chef/provider/windows_script.rb +1 -1
  57. data/lib/chef/provider/yum_repository.rb +27 -43
  58. data/lib/chef/provider/zypper_repository.rb +30 -34
  59. data/lib/chef/provider.rb +26 -1
  60. data/lib/chef/provider_resolver.rb +8 -2
  61. data/lib/chef/providers.rb +1 -0
  62. data/lib/chef/resource/alternatives.rb +5 -5
  63. data/lib/chef/resource/apt_preference.rb +2 -2
  64. data/lib/chef/resource/apt_repository.rb +2 -2
  65. data/lib/chef/resource/apt_update.rb +4 -4
  66. data/lib/chef/resource/build_essential.rb +1 -1
  67. data/lib/chef/resource/chef_client_config.rb +10 -5
  68. data/lib/chef/resource/chef_client_cron.rb +3 -3
  69. data/lib/chef/resource/chef_client_launchd.rb +3 -3
  70. data/lib/chef/resource/chef_client_scheduled_task.rb +15 -15
  71. data/lib/chef/resource/chef_client_systemd_timer.rb +3 -3
  72. data/lib/chef/resource/chef_client_trusted_certificate.rb +2 -2
  73. data/lib/chef/resource/chef_handler.rb +2 -2
  74. data/lib/chef/resource/chef_sleep.rb +1 -1
  75. data/lib/chef/resource/chef_vault_secret.rb +2 -2
  76. data/lib/chef/resource/chocolatey_feature.rb +2 -2
  77. data/lib/chef/resource/chocolatey_source.rb +1 -1
  78. data/lib/chef/resource/cron/cron_d.rb +4 -6
  79. data/lib/chef/resource/cron_access.rb +1 -1
  80. data/lib/chef/resource/dmg_package.rb +1 -1
  81. data/lib/chef/resource/dsc_resource.rb +1 -1
  82. data/lib/chef/resource/execute.rb +5 -5
  83. data/lib/chef/resource/gem_package.rb +2 -1
  84. data/lib/chef/resource/group.rb +4 -4
  85. data/lib/chef/resource/habitat/_habitat_shared.rb +28 -0
  86. data/lib/chef/resource/habitat/habitat_package.rb +129 -0
  87. data/lib/chef/resource/habitat/habitat_sup.rb +329 -0
  88. data/lib/chef/resource/habitat/habitat_sup_systemd.rb +67 -0
  89. data/lib/chef/resource/habitat/habitat_sup_windows.rb +90 -0
  90. data/lib/chef/resource/habitat_config.rb +107 -0
  91. data/lib/chef/resource/habitat_install.rb +247 -0
  92. data/lib/chef/resource/habitat_service.rb +451 -0
  93. data/lib/chef/resource/habitat_user_toml.rb +92 -0
  94. data/lib/chef/resource/homebrew_cask.rb +18 -7
  95. data/lib/chef/resource/homebrew_package.rb +1 -1
  96. data/lib/chef/resource/homebrew_tap.rb +4 -3
  97. data/lib/chef/resource/homebrew_update.rb +2 -2
  98. data/lib/chef/resource/hostname.rb +49 -7
  99. data/lib/chef/resource/inspec_waiver_file_entry.rb +156 -0
  100. data/lib/chef/resource/kernel_module.rb +6 -6
  101. data/lib/chef/resource/launchd.rb +3 -3
  102. data/lib/chef/resource/locale.rb +1 -1
  103. data/lib/chef/resource/lwrp_base.rb +18 -3
  104. data/lib/chef/resource/macos_userdefaults.rb +2 -2
  105. data/lib/chef/resource/ohai_hint.rb +2 -6
  106. data/lib/chef/resource/openbsd_package.rb +17 -0
  107. data/lib/chef/resource/openssl_dhparam.rb +1 -2
  108. data/lib/chef/resource/openssl_ec_private_key.rb +1 -3
  109. data/lib/chef/resource/openssl_ec_public_key.rb +1 -3
  110. data/lib/chef/resource/openssl_rsa_private_key.rb +1 -3
  111. data/lib/chef/resource/openssl_rsa_public_key.rb +1 -3
  112. data/lib/chef/resource/openssl_x509_certificate.rb +1 -4
  113. data/lib/chef/resource/openssl_x509_crl.rb +1 -3
  114. data/lib/chef/resource/openssl_x509_request.rb +1 -3
  115. data/lib/chef/resource/osx_profile.rb +3 -3
  116. data/lib/chef/resource/plist.rb +1 -1
  117. data/lib/chef/resource/powershell_package_source.rb +2 -4
  118. data/lib/chef/resource/reboot.rb +38 -9
  119. data/lib/chef/resource/remote_directory.rb +2 -2
  120. data/lib/chef/resource/remote_file.rb +3 -3
  121. data/lib/chef/resource/rhsm_errata.rb +0 -2
  122. data/lib/chef/resource/rhsm_errata_level.rb +1 -5
  123. data/lib/chef/resource/rhsm_repo.rb +15 -0
  124. data/lib/chef/resource/rhsm_subscription.rb +5 -5
  125. data/lib/chef/resource/ruby_block.rb +100 -0
  126. data/lib/chef/resource/scm/subversion.rb +1 -1
  127. data/lib/chef/resource/ssh_known_hosts_entry.rb +4 -7
  128. data/lib/chef/resource/sudo.rb +2 -6
  129. data/lib/chef/resource/support/HabService.dll.config.erb +19 -0
  130. data/lib/chef/resource/support/client.erb +8 -1
  131. data/lib/chef/resource/support/sup.toml.erb +179 -0
  132. data/lib/chef/resource/swap_file.rb +2 -6
  133. data/lib/chef/resource/sysctl.rb +2 -2
  134. data/lib/chef/resource/systemd_unit.rb +3 -3
  135. data/lib/chef/resource/timezone.rb +1 -1
  136. data/lib/chef/resource/user_ulimit.rb +2 -2
  137. data/lib/chef/resource/windows_ad_join.rb +2 -2
  138. data/lib/chef/resource/windows_audit_policy.rb +2 -2
  139. data/lib/chef/resource/windows_auto_run.rb +2 -2
  140. data/lib/chef/resource/windows_certificate.rb +1 -1
  141. data/lib/chef/resource/windows_defender.rb +163 -0
  142. data/lib/chef/resource/windows_defender_exclusion.rb +125 -0
  143. data/lib/chef/resource/windows_dfs_folder.rb +2 -2
  144. data/lib/chef/resource/windows_dfs_namespace.rb +2 -2
  145. data/lib/chef/resource/windows_dns_record.rb +2 -2
  146. data/lib/chef/resource/windows_dns_zone.rb +2 -2
  147. data/lib/chef/resource/windows_env.rb +1 -1
  148. data/lib/chef/resource/windows_feature.rb +3 -3
  149. data/lib/chef/resource/windows_feature_dism.rb +3 -5
  150. data/lib/chef/resource/windows_feature_powershell.rb +3 -3
  151. data/lib/chef/resource/windows_firewall_profile.rb +2 -2
  152. data/lib/chef/resource/windows_firewall_rule.rb +20 -6
  153. data/lib/chef/resource/windows_font.rb +2 -2
  154. data/lib/chef/resource/windows_pagefile.rb +104 -65
  155. data/lib/chef/resource/windows_path.rb +4 -4
  156. data/lib/chef/resource/windows_printer.rb +80 -61
  157. data/lib/chef/resource/windows_printer_port.rb +48 -65
  158. data/lib/chef/resource/windows_security_policy.rb +7 -4
  159. data/lib/chef/resource/windows_share.rb +2 -2
  160. data/lib/chef/resource/windows_shortcut.rb +1 -1
  161. data/lib/chef/resource/windows_task.rb +2 -2
  162. data/lib/chef/resource/windows_uac.rb +3 -5
  163. data/lib/chef/resource/windows_update_settings.rb +259 -0
  164. data/lib/chef/resource/windows_user_privilege.rb +2 -2
  165. data/lib/chef/resource/windows_workgroup.rb +2 -2
  166. data/lib/chef/resource/yum_package.rb +11 -15
  167. data/lib/chef/resource/zypper_package.rb +4 -4
  168. data/lib/chef/resource/zypper_repository.rb +28 -8
  169. data/lib/chef/resource.rb +20 -25
  170. data/lib/chef/resource_builder.rb +8 -2
  171. data/lib/chef/resource_inspector.rb +6 -2
  172. data/lib/chef/resource_reporter.rb +0 -1
  173. data/lib/chef/resources.rb +13 -1
  174. data/lib/chef/run_lock.rb +1 -1
  175. data/lib/chef/runner.rb +1 -1
  176. data/lib/chef/secret_fetcher/aws_secrets_manager.rb +65 -0
  177. data/lib/chef/secret_fetcher/azure_key_vault.rb +78 -0
  178. data/lib/chef/secret_fetcher/base.rb +76 -0
  179. data/lib/chef/secret_fetcher/example.rb +46 -0
  180. data/lib/chef/secret_fetcher.rb +55 -0
  181. data/lib/chef/shell/ext.rb +3 -3
  182. data/lib/chef/version.rb +1 -1
  183. data/lib/chef/win32/api.rb +9 -2
  184. data/spec/data/knife-home/.chef/plugins/knife/example_home_subcommand.rb +0 -0
  185. data/spec/data/knife-site-subcommands/plugins/knife/example_subcommand.rb +0 -0
  186. data/spec/data/knife_subcommand/test_explicit_category.rb +7 -0
  187. data/spec/data/knife_subcommand/test_name_mapping.rb +4 -0
  188. data/spec/data/knife_subcommand/test_yourself.rb +21 -0
  189. data/spec/functional/mixin/from_file_spec.rb +1 -1
  190. data/spec/functional/resource/dnf_package_spec.rb +857 -537
  191. data/spec/functional/resource/group_spec.rb +1 -1
  192. data/spec/functional/resource/link_spec.rb +1 -1
  193. data/spec/functional/resource/remote_file_spec.rb +1 -1
  194. data/spec/functional/resource/windows_env_spec.rb +2 -2
  195. data/spec/functional/resource/windows_hostname_spec.rb +91 -0
  196. data/spec/functional/resource/windows_pagefile_spec.rb +98 -0
  197. data/spec/functional/resource/yum_package_spec.rb +495 -428
  198. data/spec/integration/client/client_spec.rb +0 -20
  199. data/spec/integration/compliance/compliance_spec.rb +1 -0
  200. data/spec/integration/recipes/recipe_dsl_spec.rb +1 -1
  201. data/spec/integration/recipes/resource_action_spec.rb +6 -6
  202. data/spec/integration/recipes/unified_mode_spec.rb +70 -0
  203. data/spec/spec_helper.rb +3 -0
  204. data/spec/support/chef_helpers.rb +1 -1
  205. data/spec/support/shared/functional/execute_resource.rb +1 -1
  206. data/spec/support/shared/functional/knife.rb +37 -0
  207. data/spec/support/shared/integration/knife_support.rb +192 -0
  208. data/spec/support/shared/unit/knife_shared.rb +39 -0
  209. data/spec/support/shared/unit/provider/file.rb +3 -9
  210. data/spec/unit/chef_fs/file_system/repository/directory_spec.rb +1 -1
  211. data/spec/unit/compliance/runner_spec.rb +46 -2
  212. data/spec/unit/cookbook_version_spec.rb +52 -0
  213. data/spec/unit/data_collector_spec.rb +47 -1
  214. data/spec/unit/dsl/render_helpers_spec.rb +102 -0
  215. data/spec/unit/dsl/secret_spec.rb +71 -0
  216. data/spec/unit/handler_spec.rb +8 -2
  217. data/spec/unit/policy_builder/dynamic_spec.rb +0 -5
  218. data/spec/unit/policy_builder/policyfile_spec.rb +144 -56
  219. data/spec/unit/provider/apt_update_spec.rb +3 -1
  220. data/spec/unit/provider/link_spec.rb +1 -1
  221. data/spec/unit/provider/mount/aix_spec.rb +1 -1
  222. data/spec/unit/provider/package/dnf/python_helper_spec.rb +1 -0
  223. data/spec/unit/provider/package/powershell_spec.rb +74 -12
  224. data/spec/unit/provider/package/yum/python_helper_spec.rb +1 -0
  225. data/spec/unit/provider/service/systemd_service_spec.rb +2 -2
  226. data/spec/unit/provider/systemd_unit_spec.rb +2 -2
  227. data/spec/unit/provider/zypper_repository_spec.rb +3 -10
  228. data/spec/unit/provider_spec.rb +23 -0
  229. data/spec/unit/resource/homebrew_cask_spec.rb +29 -11
  230. data/spec/unit/resource/inspec_waiver_file_entry_spec.rb +80 -0
  231. data/spec/unit/resource/rhsm_subscription_spec.rb +50 -3
  232. data/spec/unit/resource/systemd_unit_spec.rb +1 -1
  233. data/spec/unit/resource/windows_defender_exclusion_spec.rb +62 -0
  234. data/spec/unit/resource/windows_defender_spec.rb +71 -0
  235. data/spec/unit/resource/windows_firewall_rule_spec.rb +12 -7
  236. data/spec/unit/resource/windows_pagefile_spec.rb +4 -9
  237. data/spec/unit/resource/windows_update_settings_spec.rb +64 -0
  238. data/spec/unit/resource/zypper_repository_spec.rb +1 -1
  239. data/spec/unit/resource_spec.rb +19 -8
  240. data/spec/unit/secret_fetcher/aws_secrets_manager_spec.rb +70 -0
  241. data/spec/unit/secret_fetcher/azure_key_vault_spec.rb +70 -0
  242. data/spec/unit/secret_fetcher_spec.rb +82 -0
  243. data/tasks/rspec.rb +4 -9
  244. metadata +65 -161
  245. data/lib/chef/provider/package/yum/simplejson/LICENSE.txt +0 -79
  246. data/lib/chef/provider/package/yum/simplejson/__init__.py +0 -318
  247. data/lib/chef/provider/package/yum/simplejson/__init__.pyc +0 -0
  248. data/lib/chef/provider/package/yum/simplejson/decoder.py +0 -354
  249. data/lib/chef/provider/package/yum/simplejson/decoder.pyc +0 -0
  250. data/lib/chef/provider/package/yum/simplejson/encoder.py +0 -440
  251. data/lib/chef/provider/package/yum/simplejson/encoder.pyc +0 -0
  252. data/lib/chef/provider/package/yum/simplejson/scanner.py +0 -65
  253. data/lib/chef/provider/package/yum/simplejson/scanner.pyc +0 -0
  254. data/lib/chef/provider/package/yum/simplejson/tool.py +0 -37
data/tasks/rspec.rb CHANGED
@@ -29,6 +29,7 @@ begin
29
29
  Dir.chdir(gem) do
30
30
  puts "--- Running #{gem} specs"
31
31
  Bundler.with_unbundled_env do
32
+ puts "Executing tests in #{Dir.pwd}:"
32
33
  sh("bundle install --jobs=3 --retry=3 --path=../vendor/bundle")
33
34
  sh("bundle exec rake spec")
34
35
  end
@@ -44,9 +45,7 @@ begin
44
45
  RSpec::Core::RakeTask.new(:spec) do |t|
45
46
  t.verbose = false
46
47
  t.rspec_opts = %w{--profile}
47
- t.pattern = FileList["spec/**/*_spec.rb"].reject do |path|
48
- path =~ /knife.*/
49
- end
48
+ t.pattern = FileList["spec/**/*_spec.rb"]
50
49
  end
51
50
 
52
51
  namespace :spec do
@@ -55,9 +54,6 @@ begin
55
54
  t.verbose = false
56
55
  t.rspec_opts = %w{--profile}
57
56
  t.pattern = FileList["spec/**/*_spec.rb"]
58
- t.pattern = FileList["spec/**/*_spec.rb"].reject do |path|
59
- path =~ /knife.*/
60
- end
61
57
  end
62
58
 
63
59
  desc "Print Specdoc for all specs"
@@ -78,11 +74,10 @@ begin
78
74
  %i{unit functional integration stress}.each do |sub|
79
75
  desc "Run the chef specs under spec/#{sub}"
80
76
  RSpec::Core::RakeTask.new(sub) do |t|
77
+ puts "--- Running chef #{sub} specs"
81
78
  t.verbose = false
82
79
  t.rspec_opts = %w{--profile}
83
- t.pattern = FileList["spec/#{sub}/**/*_spec.rb"].reject do |path|
84
- path =~ /knife.*/
85
- end
80
+ t.pattern = FileList["spec/#{sub}/**/*_spec.rb"]
86
81
  end
87
82
  end
88
83
  end
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: 17.0.242
4
+ version: 17.4.25
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: 2021-04-27 00:00:00.000000000 Z
11
+ date: 2021-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 17.0.242
19
+ version: 17.4.25
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: 17.0.242
26
+ version: 17.4.25
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: chef-utils
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 17.0.242
33
+ version: 17.4.25
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 17.0.242
40
+ version: 17.4.25
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: train-core
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -248,46 +248,6 @@ dependencies:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
250
  version: '2.2'
251
- - !ruby/object:Gem::Dependency
252
- name: net-ssh
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - ">="
256
- - !ruby/object:Gem::Version
257
- version: '5.1'
258
- - - "<"
259
- - !ruby/object:Gem::Version
260
- version: '7'
261
- type: :runtime
262
- prerelease: false
263
- version_requirements: !ruby/object:Gem::Requirement
264
- requirements:
265
- - - ">="
266
- - !ruby/object:Gem::Version
267
- version: '5.1'
268
- - - "<"
269
- - !ruby/object:Gem::Version
270
- version: '7'
271
- - !ruby/object:Gem::Dependency
272
- name: net-ssh-multi
273
- requirement: !ruby/object:Gem::Requirement
274
- requirements:
275
- - - "~>"
276
- - !ruby/object:Gem::Version
277
- version: '1.2'
278
- - - ">="
279
- - !ruby/object:Gem::Version
280
- version: 1.2.1
281
- type: :runtime
282
- prerelease: false
283
- version_requirements: !ruby/object:Gem::Requirement
284
- requirements:
285
- - - "~>"
286
- - !ruby/object:Gem::Version
287
- version: '1.2'
288
- - - ">="
289
- - !ruby/object:Gem::Version
290
- version: 1.2.1
291
251
  - !ruby/object:Gem::Dependency
292
252
  name: net-sftp
293
253
  requirement: !ruby/object:Gem::Requirement
@@ -308,110 +268,6 @@ dependencies:
308
268
  - - "<"
309
269
  - !ruby/object:Gem::Version
310
270
  version: '4.0'
311
- - !ruby/object:Gem::Dependency
312
- name: ed25519
313
- requirement: !ruby/object:Gem::Requirement
314
- requirements:
315
- - - "~>"
316
- - !ruby/object:Gem::Version
317
- version: '1.2'
318
- type: :runtime
319
- prerelease: false
320
- version_requirements: !ruby/object:Gem::Requirement
321
- requirements:
322
- - - "~>"
323
- - !ruby/object:Gem::Version
324
- version: '1.2'
325
- - !ruby/object:Gem::Dependency
326
- name: bcrypt_pbkdf
327
- requirement: !ruby/object:Gem::Requirement
328
- requirements:
329
- - - "~>"
330
- - !ruby/object:Gem::Version
331
- version: '1.1'
332
- type: :runtime
333
- prerelease: false
334
- version_requirements: !ruby/object:Gem::Requirement
335
- requirements:
336
- - - "~>"
337
- - !ruby/object:Gem::Version
338
- version: '1.1'
339
- - !ruby/object:Gem::Dependency
340
- name: highline
341
- requirement: !ruby/object:Gem::Requirement
342
- requirements:
343
- - - ">="
344
- - !ruby/object:Gem::Version
345
- version: 1.6.9
346
- - - "<"
347
- - !ruby/object:Gem::Version
348
- version: '3'
349
- type: :runtime
350
- prerelease: false
351
- version_requirements: !ruby/object:Gem::Requirement
352
- requirements:
353
- - - ">="
354
- - !ruby/object:Gem::Version
355
- version: 1.6.9
356
- - - "<"
357
- - !ruby/object:Gem::Version
358
- version: '3'
359
- - !ruby/object:Gem::Dependency
360
- name: tty-prompt
361
- requirement: !ruby/object:Gem::Requirement
362
- requirements:
363
- - - "~>"
364
- - !ruby/object:Gem::Version
365
- version: '0.21'
366
- type: :runtime
367
- prerelease: false
368
- version_requirements: !ruby/object:Gem::Requirement
369
- requirements:
370
- - - "~>"
371
- - !ruby/object:Gem::Version
372
- version: '0.21'
373
- - !ruby/object:Gem::Dependency
374
- name: tty-screen
375
- requirement: !ruby/object:Gem::Requirement
376
- requirements:
377
- - - "~>"
378
- - !ruby/object:Gem::Version
379
- version: '0.6'
380
- type: :runtime
381
- prerelease: false
382
- version_requirements: !ruby/object:Gem::Requirement
383
- requirements:
384
- - - "~>"
385
- - !ruby/object:Gem::Version
386
- version: '0.6'
387
- - !ruby/object:Gem::Dependency
388
- name: tty-table
389
- requirement: !ruby/object:Gem::Requirement
390
- requirements:
391
- - - "~>"
392
- - !ruby/object:Gem::Version
393
- version: '0.11'
394
- type: :runtime
395
- prerelease: false
396
- version_requirements: !ruby/object:Gem::Requirement
397
- requirements:
398
- - - "~>"
399
- - !ruby/object:Gem::Version
400
- version: '0.11'
401
- - !ruby/object:Gem::Dependency
402
- name: pastel
403
- requirement: !ruby/object:Gem::Requirement
404
- requirements:
405
- - - ">="
406
- - !ruby/object:Gem::Version
407
- version: '0'
408
- type: :runtime
409
- prerelease: false
410
- version_requirements: !ruby/object:Gem::Requirement
411
- requirements:
412
- - - ">="
413
- - !ruby/object:Gem::Version
414
- version: '0'
415
271
  - !ruby/object:Gem::Dependency
416
272
  name: erubis
417
273
  requirement: !ruby/object:Gem::Requirement
@@ -584,6 +440,20 @@ dependencies:
584
440
  - - "~>"
585
441
  - !ruby/object:Gem::Version
586
442
  version: '1.0'
443
+ - !ruby/object:Gem::Dependency
444
+ name: aws-sdk-secretsmanager
445
+ requirement: !ruby/object:Gem::Requirement
446
+ requirements:
447
+ - - "~>"
448
+ - !ruby/object:Gem::Version
449
+ version: '1.46'
450
+ type: :runtime
451
+ prerelease: false
452
+ version_requirements: !ruby/object:Gem::Requirement
453
+ requirements:
454
+ - - "~>"
455
+ - !ruby/object:Gem::Version
456
+ version: '1.46'
587
457
  - !ruby/object:Gem::Dependency
588
458
  name: win32-api
589
459
  requirement: !ruby/object:Gem::Requirement
@@ -1551,7 +1421,10 @@ files:
1551
1421
  - lib/chef/dsl/reboot_pending.rb
1552
1422
  - lib/chef/dsl/recipe.rb
1553
1423
  - lib/chef/dsl/registry_helper.rb
1424
+ - lib/chef/dsl/render_helpers.rb
1554
1425
  - lib/chef/dsl/resources.rb
1426
+ - lib/chef/dsl/secret.rb
1427
+ - lib/chef/dsl/toml.rb
1555
1428
  - lib/chef/dsl/universal.rb
1556
1429
  - lib/chef/encrypted_data_bag_item.rb
1557
1430
  - lib/chef/encrypted_data_bag_item/assertions.rb
@@ -1604,6 +1477,7 @@ files:
1604
1477
  - lib/chef/handler.rb
1605
1478
  - lib/chef/handler/error_report.rb
1606
1479
  - lib/chef/handler/json_file.rb
1480
+ - lib/chef/handler/slow_report.rb
1607
1481
  - lib/chef/http.rb
1608
1482
  - lib/chef/http/api_versions.rb
1609
1483
  - lib/chef/http/auth_credentials.rb
@@ -1756,6 +1630,7 @@ files:
1756
1630
  - lib/chef/provider/package/freebsd/base.rb
1757
1631
  - lib/chef/provider/package/freebsd/pkgng.rb
1758
1632
  - lib/chef/provider/package/freebsd/port.rb
1633
+ - lib/chef/provider/package/habitat.rb
1759
1634
  - lib/chef/provider/package/homebrew.rb
1760
1635
  - lib/chef/provider/package/ips.rb
1761
1636
  - lib/chef/provider/package/macports.rb
@@ -1777,16 +1652,6 @@ files:
1777
1652
  - lib/chef/provider/package/yum.rb
1778
1653
  - lib/chef/provider/package/yum/python_helper.rb
1779
1654
  - lib/chef/provider/package/yum/rpm_utils.rb
1780
- - lib/chef/provider/package/yum/simplejson/LICENSE.txt
1781
- - lib/chef/provider/package/yum/simplejson/__init__.py
1782
- - lib/chef/provider/package/yum/simplejson/__init__.pyc
1783
- - lib/chef/provider/package/yum/simplejson/decoder.py
1784
- - lib/chef/provider/package/yum/simplejson/decoder.pyc
1785
- - lib/chef/provider/package/yum/simplejson/encoder.py
1786
- - lib/chef/provider/package/yum/simplejson/encoder.pyc
1787
- - lib/chef/provider/package/yum/simplejson/scanner.py
1788
- - lib/chef/provider/package/yum/simplejson/scanner.pyc
1789
- - lib/chef/provider/package/yum/simplejson/tool.py
1790
1655
  - lib/chef/provider/package/yum/version.rb
1791
1656
  - lib/chef/provider/package/yum/yum_cache.rb
1792
1657
  - lib/chef/provider/package/yum/yum_helper.py
@@ -1899,6 +1764,15 @@ files:
1899
1764
  - lib/chef/resource/freebsd_package.rb
1900
1765
  - lib/chef/resource/gem_package.rb
1901
1766
  - lib/chef/resource/group.rb
1767
+ - lib/chef/resource/habitat/_habitat_shared.rb
1768
+ - lib/chef/resource/habitat/habitat_package.rb
1769
+ - lib/chef/resource/habitat/habitat_sup.rb
1770
+ - lib/chef/resource/habitat/habitat_sup_systemd.rb
1771
+ - lib/chef/resource/habitat/habitat_sup_windows.rb
1772
+ - lib/chef/resource/habitat_config.rb
1773
+ - lib/chef/resource/habitat_install.rb
1774
+ - lib/chef/resource/habitat_service.rb
1775
+ - lib/chef/resource/habitat_user_toml.rb
1902
1776
  - lib/chef/resource/helpers/cron_validations.rb
1903
1777
  - lib/chef/resource/homebrew_cask.rb
1904
1778
  - lib/chef/resource/homebrew_package.rb
@@ -1907,6 +1781,7 @@ files:
1907
1781
  - lib/chef/resource/hostname.rb
1908
1782
  - lib/chef/resource/http_request.rb
1909
1783
  - lib/chef/resource/ifconfig.rb
1784
+ - lib/chef/resource/inspec_waiver_file_entry.rb
1910
1785
  - lib/chef/resource/ips_package.rb
1911
1786
  - lib/chef/resource/kernel_module.rb
1912
1787
  - lib/chef/resource/ksh.rb
@@ -1968,11 +1843,13 @@ files:
1968
1843
  - lib/chef/resource/solaris_package.rb
1969
1844
  - lib/chef/resource/ssh_known_hosts_entry.rb
1970
1845
  - lib/chef/resource/sudo.rb
1846
+ - lib/chef/resource/support/HabService.dll.config.erb
1971
1847
  - lib/chef/resource/support/client.erb
1972
1848
  - lib/chef/resource/support/cron.d.erb
1973
1849
  - lib/chef/resource/support/cron_access.erb
1974
1850
  - lib/chef/resource/support/ssh_known_hosts.erb
1975
1851
  - lib/chef/resource/support/sudoer.erb
1852
+ - lib/chef/resource/support/sup.toml.erb
1976
1853
  - lib/chef/resource/support/ulimit.erb
1977
1854
  - lib/chef/resource/swap_file.rb
1978
1855
  - lib/chef/resource/sysctl.rb
@@ -1992,6 +1869,8 @@ files:
1992
1869
  - lib/chef/resource/windows_audit_policy.rb
1993
1870
  - lib/chef/resource/windows_auto_run.rb
1994
1871
  - lib/chef/resource/windows_certificate.rb
1872
+ - lib/chef/resource/windows_defender.rb
1873
+ - lib/chef/resource/windows_defender_exclusion.rb
1995
1874
  - lib/chef/resource/windows_dfs_folder.rb
1996
1875
  - lib/chef/resource/windows_dfs_namespace.rb
1997
1876
  - lib/chef/resource/windows_dfs_server.rb
@@ -2016,6 +1895,7 @@ files:
2016
1895
  - lib/chef/resource/windows_shortcut.rb
2017
1896
  - lib/chef/resource/windows_task.rb
2018
1897
  - lib/chef/resource/windows_uac.rb
1898
+ - lib/chef/resource/windows_update_settings.rb
2019
1899
  - lib/chef/resource/windows_user_privilege.rb
2020
1900
  - lib/chef/resource/windows_workgroup.rb
2021
1901
  - lib/chef/resource/yum_package.rb
@@ -2047,6 +1927,11 @@ files:
2047
1927
  - lib/chef/sandbox.rb
2048
1928
  - lib/chef/scan_access_control.rb
2049
1929
  - lib/chef/search/query.rb
1930
+ - lib/chef/secret_fetcher.rb
1931
+ - lib/chef/secret_fetcher/aws_secrets_manager.rb
1932
+ - lib/chef/secret_fetcher/azure_key_vault.rb
1933
+ - lib/chef/secret_fetcher/base.rb
1934
+ - lib/chef/secret_fetcher/example.rb
2050
1935
  - lib/chef/server_api.rb
2051
1936
  - lib/chef/server_api_versions.rb
2052
1937
  - lib/chef/shell.rb
@@ -2310,6 +2195,11 @@ files:
2310
2195
  - spec/data/kitchen/openldap/recipes/gigantor.rb
2311
2196
  - spec/data/kitchen/openldap/recipes/ignoreme.rb
2312
2197
  - spec/data/kitchen/openldap/recipes/woot.rb
2198
+ - spec/data/knife-home/.chef/plugins/knife/example_home_subcommand.rb
2199
+ - spec/data/knife-site-subcommands/plugins/knife/example_subcommand.rb
2200
+ - spec/data/knife_subcommand/test_explicit_category.rb
2201
+ - spec/data/knife_subcommand/test_name_mapping.rb
2202
+ - spec/data/knife_subcommand/test_yourself.rb
2313
2203
  - spec/data/lwrp/providers/buck_passer.rb
2314
2204
  - spec/data/lwrp/providers/buck_passer_2.rb
2315
2205
  - spec/data/lwrp/providers/embedded_resource_accesses_providers_scope.rb
@@ -2592,7 +2482,9 @@ files:
2592
2482
  - spec/functional/resource/windows_env_spec.rb
2593
2483
  - spec/functional/resource/windows_firewall_rule_spec.rb
2594
2484
  - spec/functional/resource/windows_font_spec.rb
2485
+ - spec/functional/resource/windows_hostname_spec.rb
2595
2486
  - spec/functional/resource/windows_package_spec.rb
2487
+ - spec/functional/resource/windows_pagefile_spec.rb
2596
2488
  - spec/functional/resource/windows_path_spec.rb
2597
2489
  - spec/functional/resource/windows_security_policy_spec.rb
2598
2490
  - spec/functional/resource/windows_share_spec.rb
@@ -2663,10 +2555,12 @@ files:
2663
2555
  - spec/support/shared/functional/execute_resource.rb
2664
2556
  - spec/support/shared/functional/file_resource.rb
2665
2557
  - spec/support/shared/functional/http.rb
2558
+ - spec/support/shared/functional/knife.rb
2666
2559
  - spec/support/shared/functional/securable_resource.rb
2667
2560
  - spec/support/shared/functional/securable_resource_with_reporting.rb
2668
2561
  - spec/support/shared/functional/windows_script.rb
2669
2562
  - spec/support/shared/integration/integration_helper.rb
2563
+ - spec/support/shared/integration/knife_support.rb
2670
2564
  - spec/support/shared/matchers/exit_with_code.rb
2671
2565
  - spec/support/shared/matchers/match_environment_variable.rb
2672
2566
  - spec/support/shared/shared_examples.rb
@@ -2675,6 +2569,7 @@ files:
2675
2569
  - spec/support/shared/unit/application_dot_d.rb
2676
2570
  - spec/support/shared/unit/execute_resource.rb
2677
2571
  - spec/support/shared/unit/file_system_support.rb
2572
+ - spec/support/shared/unit/knife_shared.rb
2678
2573
  - spec/support/shared/unit/mock_shellout.rb
2679
2574
  - spec/support/shared/unit/platform_introspector.rb
2680
2575
  - spec/support/shared/unit/provider/file.rb
@@ -2751,7 +2646,9 @@ files:
2751
2646
  - spec/unit/dsl/reboot_pending_spec.rb
2752
2647
  - spec/unit/dsl/recipe_spec.rb
2753
2648
  - spec/unit/dsl/registry_helper_spec.rb
2649
+ - spec/unit/dsl/render_helpers_spec.rb
2754
2650
  - spec/unit/dsl/resources_spec.rb
2651
+ - spec/unit/dsl/secret_spec.rb
2755
2652
  - spec/unit/encrypted_data_bag_item/check_encrypted_spec.rb
2756
2653
  - spec/unit/encrypted_data_bag_item_spec.rb
2757
2654
  - spec/unit/environment_spec.rb
@@ -3015,6 +2912,7 @@ files:
3015
2912
  - spec/unit/resource/hostname_spec.rb
3016
2913
  - spec/unit/resource/http_request_spec.rb
3017
2914
  - spec/unit/resource/ifconfig_spec.rb
2915
+ - spec/unit/resource/inspec_waiver_file_entry_spec.rb
3018
2916
  - spec/unit/resource/ips_package_spec.rb
3019
2917
  - spec/unit/resource/kernel_module_spec.rb
3020
2918
  - spec/unit/resource/ksh_spec.rb
@@ -3087,6 +2985,8 @@ files:
3087
2985
  - spec/unit/resource/windows_audit_policy_spec.rb
3088
2986
  - spec/unit/resource/windows_auto_run_spec.rb
3089
2987
  - spec/unit/resource/windows_certificate_spec.rb
2988
+ - spec/unit/resource/windows_defender_exclusion_spec.rb
2989
+ - spec/unit/resource/windows_defender_spec.rb
3090
2990
  - spec/unit/resource/windows_dfs_folder_spec.rb
3091
2991
  - spec/unit/resource/windows_dfs_namespace_spec.rb
3092
2992
  - spec/unit/resource/windows_dfs_server_spec.rb
@@ -3109,6 +3009,7 @@ files:
3109
3009
  - spec/unit/resource/windows_shortcut_spec.rb
3110
3010
  - spec/unit/resource/windows_task_spec.rb
3111
3011
  - spec/unit/resource/windows_uac_spec.rb
3012
+ - spec/unit/resource/windows_update_settings_spec.rb
3112
3013
  - spec/unit/resource/windows_user_privilege_spec.rb
3113
3014
  - spec/unit/resource/windows_workgroup_spec.rb
3114
3015
  - spec/unit/resource/yum_package_spec.rb
@@ -3138,6 +3039,9 @@ files:
3138
3039
  - spec/unit/runner_spec.rb
3139
3040
  - spec/unit/scan_access_control_spec.rb
3140
3041
  - spec/unit/search/query_spec.rb
3042
+ - spec/unit/secret_fetcher/aws_secrets_manager_spec.rb
3043
+ - spec/unit/secret_fetcher/azure_key_vault_spec.rb
3044
+ - spec/unit/secret_fetcher_spec.rb
3141
3045
  - spec/unit/server_api_spec.rb
3142
3046
  - spec/unit/server_api_versions_spec.rb
3143
3047
  - spec/unit/shell/model_wrapper_spec.rb
@@ -3194,7 +3098,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3194
3098
  - !ruby/object:Gem::Version
3195
3099
  version: '0'
3196
3100
  requirements: []
3197
- rubygems_version: 3.2.15
3101
+ rubygems_version: 3.2.22
3198
3102
  signing_key:
3199
3103
  specification_version: 4
3200
3104
  summary: A systems integration framework, built to bring the benefits of configuration