chef-cli 5.6.23 → 6.1.27

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 (229) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +20 -12
  3. data/Rakefile +13 -17
  4. data/bin/chef-cli +1 -1
  5. data/chef-cli.gemspec +6 -4
  6. data/lib/chef-cli/authenticated_http.rb +1 -1
  7. data/lib/chef-cli/builtin_commands.rb +7 -6
  8. data/lib/chef-cli/chef_runner.rb +1 -1
  9. data/lib/chef-cli/chef_server_api_multi.rb +1 -1
  10. data/lib/chef-cli/cli.rb +1 -1
  11. data/lib/chef-cli/command/base.rb +1 -1
  12. data/lib/chef-cli/command/clean_policy_cookbooks.rb +1 -1
  13. data/lib/chef-cli/command/clean_policy_revisions.rb +1 -1
  14. data/lib/chef-cli/command/delete_policy.rb +3 -3
  15. data/lib/chef-cli/command/delete_policy_group.rb +3 -3
  16. data/lib/chef-cli/command/describe_cookbook.rb +1 -1
  17. data/lib/chef-cli/command/diff.rb +5 -5
  18. data/lib/chef-cli/command/env.rb +38 -13
  19. data/lib/chef-cli/command/exec.rb +3 -2
  20. data/lib/chef-cli/command/export.rb +1 -1
  21. data/lib/chef-cli/command/gem.rb +2 -2
  22. data/lib/chef-cli/command/generate.rb +1 -1
  23. data/lib/chef-cli/command/generator_commands/attribute.rb +1 -1
  24. data/lib/chef-cli/command/generator_commands/base.rb +1 -1
  25. data/lib/chef-cli/command/generator_commands/chef_exts/generator_desc_resource.rb +1 -1
  26. data/lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb +1 -1
  27. data/lib/chef-cli/command/generator_commands/chef_exts/recipe_dsl_ext.rb +1 -1
  28. data/lib/chef-cli/command/generator_commands/cookbook.rb +1 -1
  29. data/lib/chef-cli/command/generator_commands/cookbook_code_file.rb +1 -1
  30. data/lib/chef-cli/command/generator_commands/cookbook_file.rb +1 -1
  31. data/lib/chef-cli/command/generator_commands/generator_generator.rb +1 -1
  32. data/lib/chef-cli/command/generator_commands/helpers.rb +1 -1
  33. data/lib/chef-cli/command/generator_commands/input.rb +1 -1
  34. data/lib/chef-cli/command/generator_commands/policyfile.rb +1 -1
  35. data/lib/chef-cli/command/generator_commands/profile.rb +1 -1
  36. data/lib/chef-cli/command/generator_commands/recipe.rb +1 -1
  37. data/lib/chef-cli/command/generator_commands/repo.rb +1 -1
  38. data/lib/chef-cli/command/generator_commands/resource.rb +1 -1
  39. data/lib/chef-cli/command/generator_commands/template.rb +1 -1
  40. data/lib/chef-cli/command/generator_commands/waiver.rb +1 -1
  41. data/lib/chef-cli/command/generator_commands.rb +1 -1
  42. data/lib/chef-cli/command/install.rb +1 -1
  43. data/lib/chef-cli/command/license.rb +111 -0
  44. data/lib/chef-cli/command/push.rb +5 -5
  45. data/lib/chef-cli/command/push_archive.rb +1 -1
  46. data/lib/chef-cli/command/shell_init.rb +7 -2
  47. data/lib/chef-cli/command/show_policy.rb +7 -7
  48. data/lib/chef-cli/command/undelete.rb +3 -3
  49. data/lib/chef-cli/command/update.rb +1 -1
  50. data/lib/chef-cli/commands_map.rb +1 -1
  51. data/lib/chef-cli/completions/bash.sh.erb +1 -1
  52. data/lib/chef-cli/completions/chef.fish.erb +1 -1
  53. data/lib/chef-cli/completions/zsh.zsh.erb +1 -1
  54. data/lib/chef-cli/configurable.rb +1 -1
  55. data/lib/chef-cli/cookbook_metadata.rb +1 -1
  56. data/lib/chef-cli/cookbook_omnifetch.rb +3 -3
  57. data/lib/chef-cli/cookbook_profiler/git.rb +1 -1
  58. data/lib/chef-cli/cookbook_profiler/identifiers.rb +1 -1
  59. data/lib/chef-cli/cookbook_profiler/null_scm.rb +1 -1
  60. data/lib/chef-cli/dist.rb +6 -0
  61. data/lib/chef-cli/exceptions.rb +1 -1
  62. data/lib/chef-cli/generator.rb +1 -1
  63. data/lib/chef-cli/helpers.rb +100 -5
  64. data/lib/chef-cli/licensing/base.rb +42 -0
  65. data/lib/chef-cli/licensing/config.rb +26 -0
  66. data/lib/chef-cli/pager.rb +1 -1
  67. data/lib/chef-cli/policyfile/artifactory_cookbook_source.rb +1 -1
  68. data/lib/chef-cli/policyfile/attribute_merge_checker.rb +1 -1
  69. data/lib/chef-cli/policyfile/chef_repo_cookbook_source.rb +1 -1
  70. data/lib/chef-cli/policyfile/chef_server_cookbook_source.rb +1 -1
  71. data/lib/chef-cli/policyfile/chef_server_lock_fetcher.rb +1 -1
  72. data/lib/chef-cli/policyfile/community_cookbook_source.rb +1 -1
  73. data/lib/chef-cli/policyfile/comparison_base.rb +1 -1
  74. data/lib/chef-cli/policyfile/cookbook_location_specification.rb +3 -2
  75. data/lib/chef-cli/policyfile/cookbook_locks.rb +1 -1
  76. data/lib/chef-cli/policyfile/cookbook_sources.rb +1 -1
  77. data/lib/chef-cli/policyfile/delivery_supermarket_source.rb +1 -1
  78. data/lib/chef-cli/policyfile/differ.rb +1 -1
  79. data/lib/chef-cli/policyfile/dsl.rb +7 -5
  80. data/lib/chef-cli/policyfile/git_lock_fetcher.rb +2 -2
  81. data/lib/chef-cli/policyfile/included_policies_cookbook_source.rb +1 -1
  82. data/lib/chef-cli/policyfile/lister.rb +1 -1
  83. data/lib/chef-cli/policyfile/local_lock_fetcher.rb +1 -1
  84. data/lib/chef-cli/policyfile/lock_applier.rb +1 -1
  85. data/lib/chef-cli/policyfile/lock_fetcher_mixin.rb +1 -1
  86. data/lib/chef-cli/policyfile/null_cookbook_source.rb +1 -1
  87. data/lib/chef-cli/policyfile/policyfile_location_specification.rb +1 -1
  88. data/lib/chef-cli/policyfile/read_cookbook_for_compat_mode_upload.rb +1 -1
  89. data/lib/chef-cli/policyfile/remote_lock_fetcher.rb +1 -1
  90. data/lib/chef-cli/policyfile/reports/install.rb +1 -1
  91. data/lib/chef-cli/policyfile/reports/table_printer.rb +1 -1
  92. data/lib/chef-cli/policyfile/reports/upload.rb +1 -1
  93. data/lib/chef-cli/policyfile/solution_dependencies.rb +1 -1
  94. data/lib/chef-cli/policyfile/source_uri.rb +1 -1
  95. data/lib/chef-cli/policyfile/storage_config.rb +1 -1
  96. data/lib/chef-cli/policyfile/undo_record.rb +1 -1
  97. data/lib/chef-cli/policyfile/undo_stack.rb +1 -1
  98. data/lib/chef-cli/policyfile/uploader.rb +1 -1
  99. data/lib/chef-cli/policyfile_compiler.rb +5 -2
  100. data/lib/chef-cli/policyfile_lock.rb +1 -1
  101. data/lib/chef-cli/policyfile_services/clean_policies.rb +1 -1
  102. data/lib/chef-cli/policyfile_services/clean_policy_cookbooks.rb +1 -1
  103. data/lib/chef-cli/policyfile_services/export_repo.rb +1 -1
  104. data/lib/chef-cli/policyfile_services/install.rb +1 -1
  105. data/lib/chef-cli/policyfile_services/push.rb +1 -1
  106. data/lib/chef-cli/policyfile_services/push_archive.rb +1 -1
  107. data/lib/chef-cli/policyfile_services/rm_policy.rb +1 -1
  108. data/lib/chef-cli/policyfile_services/rm_policy_group.rb +1 -1
  109. data/lib/chef-cli/policyfile_services/show_policy.rb +1 -1
  110. data/lib/chef-cli/policyfile_services/undelete.rb +1 -1
  111. data/lib/chef-cli/policyfile_services/update_attributes.rb +1 -1
  112. data/lib/chef-cli/service_exception_inspectors/base.rb +1 -1
  113. data/lib/chef-cli/service_exception_inspectors/http.rb +1 -1
  114. data/lib/chef-cli/service_exception_inspectors.rb +1 -1
  115. data/lib/chef-cli/service_exceptions.rb +1 -1
  116. data/lib/chef-cli/shell_out.rb +1 -1
  117. data/lib/chef-cli/skeletons/code_generator/files/default/cookbook_readmes/README.md +3 -0
  118. data/lib/chef-cli/skeletons/code_generator/recipes/cookbook.rb +5 -5
  119. data/lib/chef-cli/skeletons/code_generator/recipes/profile.rb +1 -1
  120. data/lib/chef-cli/ui.rb +1 -1
  121. data/lib/chef-cli/version.rb +2 -2
  122. data/lib/chef-cli.rb +1 -1
  123. data/lib/kitchen/provisioner/chef_zero_capture.rb +2 -2
  124. data/lib/kitchen/provisioner/policyfile_zero.rb +2 -2
  125. data/spec/shared/fixture_cookbook_checksums.rb +1 -1
  126. data/spec/shared/setup_git_committer_config.rb +1 -1
  127. data/spec/shared/setup_git_cookbooks.rb +1 -1
  128. data/spec/spec_helper.rb +1 -1
  129. data/spec/test_helpers.rb +1 -1
  130. data/spec/unit/chef_runner_spec.rb +1 -1
  131. data/spec/unit/chef_server_api_multi_spec.rb +1 -1
  132. data/spec/unit/cli_spec.rb +3 -1
  133. data/spec/unit/command/base_spec.rb +1 -1
  134. data/spec/unit/command/clean_policy_cookbooks_spec.rb +1 -1
  135. data/spec/unit/command/clean_policy_revisions_spec.rb +1 -1
  136. data/spec/unit/command/delete_policy_group_spec.rb +1 -1
  137. data/spec/unit/command/delete_policy_spec.rb +1 -1
  138. data/spec/unit/command/diff_spec.rb +1 -1
  139. data/spec/unit/command/env_spec.rb +132 -2
  140. data/spec/unit/command/exec_spec.rb +2 -1
  141. data/spec/unit/command/export_spec.rb +1 -1
  142. data/spec/unit/command/generate_spec.rb +1 -1
  143. data/spec/unit/command/generator_commands/attribute_spec.rb +1 -1
  144. data/spec/unit/command/generator_commands/base_spec.rb +1 -1
  145. data/spec/unit/command/generator_commands/chef_exts/generator_desc_resource_spec.rb +1 -1
  146. data/spec/unit/command/generator_commands/chef_exts/recipe_dsl_ext_spec.rb +1 -1
  147. data/spec/unit/command/generator_commands/cookbook_file_spec.rb +1 -1
  148. data/spec/unit/command/generator_commands/cookbook_spec.rb +1 -1
  149. data/spec/unit/command/generator_commands/generator_generator_spec.rb +1 -1
  150. data/spec/unit/command/generator_commands/helpers_spec.rb +1 -1
  151. data/spec/unit/command/generator_commands/input_spec.rb +1 -1
  152. data/spec/unit/command/generator_commands/policyfile_spec.rb +1 -1
  153. data/spec/unit/command/generator_commands/profile_spec.rb +1 -1
  154. data/spec/unit/command/generator_commands/recipe_spec.rb +1 -1
  155. data/spec/unit/command/generator_commands/repo_spec.rb +1 -1
  156. data/spec/unit/command/generator_commands/resource_spec.rb +1 -1
  157. data/spec/unit/command/generator_commands/template_spec.rb +1 -1
  158. data/spec/unit/command/generator_commands/waiver_spec.rb +1 -1
  159. data/spec/unit/command/install_spec.rb +1 -1
  160. data/spec/unit/command/license_spec.rb +162 -0
  161. data/spec/unit/command/push_archive_spec.rb +1 -1
  162. data/spec/unit/command/push_spec.rb +1 -1
  163. data/spec/unit/command/shell_init_spec.rb +99 -1
  164. data/spec/unit/command/show_policy_spec.rb +1 -1
  165. data/spec/unit/command/undelete_spec.rb +1 -1
  166. data/spec/unit/command/update_spec.rb +1 -1
  167. data/spec/unit/commands_map_spec.rb +1 -1
  168. data/spec/unit/configurable_spec.rb +1 -1
  169. data/spec/unit/cookbook_metadata_spec.rb +1 -1
  170. data/spec/unit/cookbook_omnifetch.rb +1 -1
  171. data/spec/unit/cookbook_profiler/git_spec.rb +1 -1
  172. data/spec/unit/cookbook_profiler/identifiers_spec.rb +1 -1
  173. data/spec/unit/generator_spec.rb +1 -1
  174. data/spec/unit/helpers_spec.rb +35 -2
  175. data/spec/unit/kitchen/provisioner/chef_zero_capture_spec.rb +1 -1
  176. data/spec/unit/pager_spec.rb +1 -1
  177. data/spec/unit/policyfile/artifactory_cookbook_source_spec.rb +1 -1
  178. data/spec/unit/policyfile/attribute_merge_checker_spec.rb +1 -1
  179. data/spec/unit/policyfile/chef_repo_cookbook_source_spec.rb +1 -1
  180. data/spec/unit/policyfile/chef_server_cookbook_source_spec.rb +1 -1
  181. data/spec/unit/policyfile/chef_server_lock_fetcher_spec.rb +1 -1
  182. data/spec/unit/policyfile/community_cookbook_source_spec.rb +1 -1
  183. data/spec/unit/policyfile/comparison_base_spec.rb +1 -1
  184. data/spec/unit/policyfile/cookbook_location_specification_spec.rb +1 -1
  185. data/spec/unit/policyfile/cookbook_locks_spec.rb +1 -1
  186. data/spec/unit/policyfile/delivery_supermarket_source_spec.rb +1 -1
  187. data/spec/unit/policyfile/differ_spec.rb +7 -7
  188. data/spec/unit/policyfile/git_lock_fetcher_spec.rb +1 -1
  189. data/spec/unit/policyfile/included_policies_cookbook_source_spec.rb +1 -1
  190. data/spec/unit/policyfile/lister_spec.rb +1 -1
  191. data/spec/unit/policyfile/local_lock_fetcher_spec.rb +1 -1
  192. data/spec/unit/policyfile/lock_applier_spec.rb +1 -1
  193. data/spec/unit/policyfile/lock_fetcher_mixin_spec.rb +1 -1
  194. data/spec/unit/policyfile/null_cookbook_source_spec.rb +1 -1
  195. data/spec/unit/policyfile/read_cookbook_for_compat_mode_upload_spec.rb +1 -1
  196. data/spec/unit/policyfile/remote_lock_fetcher_spec.rb +1 -1
  197. data/spec/unit/policyfile/reports/install_spec.rb +1 -1
  198. data/spec/unit/policyfile/reports/upload_spec.rb +1 -1
  199. data/spec/unit/policyfile/solution_dependencies_spec.rb +1 -1
  200. data/spec/unit/policyfile/source_uri_spec.rb +1 -1
  201. data/spec/unit/policyfile/storage_config_spec.rb +1 -1
  202. data/spec/unit/policyfile/undo_record_spec.rb +1 -1
  203. data/spec/unit/policyfile/undo_stack_spec.rb +1 -1
  204. data/spec/unit/policyfile/uploader_spec.rb +1 -1
  205. data/spec/unit/policyfile_demands_spec.rb +3 -1
  206. data/spec/unit/policyfile_evaluation_spec.rb +1 -1
  207. data/spec/unit/policyfile_includes_dsl_spec.rb +1 -1
  208. data/spec/unit/policyfile_includes_spec.rb +1 -1
  209. data/spec/unit/policyfile_install_with_includes_spec.rb +1 -1
  210. data/spec/unit/policyfile_lock_build_spec.rb +1 -1
  211. data/spec/unit/policyfile_lock_install_spec.rb +1 -1
  212. data/spec/unit/policyfile_lock_serialization_spec.rb +1 -1
  213. data/spec/unit/policyfile_lock_validation_spec.rb +1 -1
  214. data/spec/unit/policyfile_services/clean_policies_spec.rb +3 -3
  215. data/spec/unit/policyfile_services/clean_policy_cookbooks_spec.rb +1 -1
  216. data/spec/unit/policyfile_services/export_repo_spec.rb +1 -1
  217. data/spec/unit/policyfile_services/install_spec.rb +1 -1
  218. data/spec/unit/policyfile_services/push_archive_spec.rb +1 -1
  219. data/spec/unit/policyfile_services/push_spec.rb +1 -1
  220. data/spec/unit/policyfile_services/rm_policy_group_spec.rb +1 -1
  221. data/spec/unit/policyfile_services/rm_policy_spec.rb +1 -1
  222. data/spec/unit/policyfile_services/show_policy_spec.rb +1 -1
  223. data/spec/unit/policyfile_services/undelete_spec.rb +1 -1
  224. data/spec/unit/policyfile_services/update_attributes_spec.rb +1 -1
  225. data/spec/unit/policyfile_services/update_spec.rb +1 -1
  226. data/spec/unit/service_exception_inspectors/base_spec.rb +1 -1
  227. data/spec/unit/service_exception_inspectors/http_spec.rb +1 -1
  228. data/spec/unit/shell_out_spec.rb +1 -1
  229. metadata +53 -26
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -218,8 +218,8 @@ describe ChefCLI::PolicyfileServices::CleanPolicies do
218
218
  - appserver (4444444444444444444444444444444444444444444444444444444444444444): Net::HTTPClientException 403 \"Unauthorized\"
219
219
  ERROR
220
220
 
221
- expect { clean_policies_service.run }.to raise_error do |error|
222
- expect(error.message).to eq(expected_message)
221
+ expect { clean_policies_service.run }.to raise_error(ChefCLI::PolicyfileCleanError) do |error|
222
+ expect(error.message).to include("403 \"Unauthorized\"")
223
223
  end
224
224
  expected_message = <<~MESSAGE
225
225
  DELETE appserver 4444444444444444444444444444444444444444444444444444444444444444
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Chef Software Inc.
2
+ # Copyright (c) 2019-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.6.23
4
+ version: 6.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-04 00:00:00.000000000 Z
11
+ date: 2026-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-cli
@@ -88,36 +88,42 @@ dependencies:
88
88
  name: chef
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - "~>"
91
+ - - ">="
92
92
  - !ruby/object:Gem::Version
93
93
  version: '18.0'
94
+ - - "<"
95
+ - !ruby/object:Gem::Version
96
+ version: '20.0'
94
97
  type: :runtime
95
98
  prerelease: false
96
99
  version_requirements: !ruby/object:Gem::Requirement
97
100
  requirements:
98
- - - "~>"
101
+ - - ">="
99
102
  - !ruby/object:Gem::Version
100
103
  version: '18.0'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: '20.0'
101
107
  - !ruby/object:Gem::Dependency
102
108
  name: solve
103
109
  requirement: !ruby/object:Gem::Requirement
104
110
  requirements:
105
- - - "<"
106
- - !ruby/object:Gem::Version
107
- version: '5.0'
108
111
  - - ">"
109
112
  - !ruby/object:Gem::Version
110
113
  version: '2.0'
114
+ - - "<"
115
+ - !ruby/object:Gem::Version
116
+ version: '5.0'
111
117
  type: :runtime
112
118
  prerelease: false
113
119
  version_requirements: !ruby/object:Gem::Requirement
114
120
  requirements:
115
- - - "<"
116
- - !ruby/object:Gem::Version
117
- version: '5.0'
118
121
  - - ">"
119
122
  - !ruby/object:Gem::Version
120
123
  version: '2.0'
124
+ - - "<"
125
+ - !ruby/object:Gem::Version
126
+ version: '5.0'
121
127
  - !ruby/object:Gem::Dependency
122
128
  name: addressable
123
129
  requirement: !ruby/object:Gem::Requirement
@@ -156,28 +162,16 @@ dependencies:
156
162
  name: diff-lcs
157
163
  requirement: !ruby/object:Gem::Requirement
158
164
  requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- version: 1.2.4
162
- - - "!="
163
- - !ruby/object:Gem::Version
164
- version: 1.4.0
165
- - - "<"
165
+ - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: 1.6.0
167
+ version: '1.6'
168
168
  type: :runtime
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ">="
173
- - !ruby/object:Gem::Version
174
- version: 1.2.4
175
- - - "!="
176
- - !ruby/object:Gem::Version
177
- version: 1.4.0
178
- - - "<"
172
+ - - "~>"
179
173
  - !ruby/object:Gem::Version
180
- version: 1.6.0
174
+ version: '1.6'
181
175
  - !ruby/object:Gem::Dependency
182
176
  name: pastel
183
177
  requirement: !ruby/object:Gem::Requirement
@@ -212,6 +206,34 @@ dependencies:
212
206
  - - "<"
213
207
  - !ruby/object:Gem::Version
214
208
  version: '3'
209
+ - !ruby/object:Gem::Dependency
210
+ name: chef-licensing
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '1.0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '1.0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: syslog
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '0.3'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '0.3'
215
237
  description: A streamlined development and deployment workflow for Chef platform.
216
238
  email:
217
239
  - info@chef.io
@@ -263,6 +285,7 @@ files:
263
285
  - lib/chef-cli/command/generator_commands/template.rb
264
286
  - lib/chef-cli/command/generator_commands/waiver.rb
265
287
  - lib/chef-cli/command/install.rb
288
+ - lib/chef-cli/command/license.rb
266
289
  - lib/chef-cli/command/push.rb
267
290
  - lib/chef-cli/command/push_archive.rb
268
291
  - lib/chef-cli/command/shell_init.rb
@@ -283,6 +306,8 @@ files:
283
306
  - lib/chef-cli/exceptions.rb
284
307
  - lib/chef-cli/generator.rb
285
308
  - lib/chef-cli/helpers.rb
309
+ - lib/chef-cli/licensing/base.rb
310
+ - lib/chef-cli/licensing/config.rb
286
311
  - lib/chef-cli/pager.rb
287
312
  - lib/chef-cli/policyfile/artifactory_cookbook_source.rb
288
313
  - lib/chef-cli/policyfile/attribute_merge_checker.rb
@@ -437,6 +462,7 @@ files:
437
462
  - spec/unit/command/generator_commands/template_spec.rb
438
463
  - spec/unit/command/generator_commands/waiver_spec.rb
439
464
  - spec/unit/command/install_spec.rb
465
+ - spec/unit/command/license_spec.rb
440
466
  - spec/unit/command/push_archive_spec.rb
441
467
  - spec/unit/command/push_spec.rb
442
468
  - spec/unit/command/shell_init_spec.rb
@@ -664,6 +690,7 @@ test_files:
664
690
  - spec/unit/command/generator_commands/template_spec.rb
665
691
  - spec/unit/command/generator_commands/waiver_spec.rb
666
692
  - spec/unit/command/install_spec.rb
693
+ - spec/unit/command/license_spec.rb
667
694
  - spec/unit/command/push_archive_spec.rb
668
695
  - spec/unit/command/push_spec.rb
669
696
  - spec/unit/command/shell_init_spec.rb