knife 19.0.102 → 19.0.128

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 (375) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -2
  3. data/Rakefile +12 -14
  4. data/knife.gemspec +6 -6
  5. data/lib/chef/application/knife.rb +1 -1
  6. data/lib/chef/chef_fs/knife.rb +1 -1
  7. data/lib/chef/knife/acl_add.rb +1 -1
  8. data/lib/chef/knife/acl_base.rb +1 -1
  9. data/lib/chef/knife/acl_bulk_add.rb +1 -1
  10. data/lib/chef/knife/acl_bulk_remove.rb +1 -1
  11. data/lib/chef/knife/acl_remove.rb +1 -1
  12. data/lib/chef/knife/acl_show.rb +1 -1
  13. data/lib/chef/knife/bootstrap/chef_vault_handler.rb +1 -1
  14. data/lib/chef/knife/bootstrap/client_builder.rb +1 -1
  15. data/lib/chef/knife/bootstrap/templates/windows-chef-client-msi.erb +1 -1
  16. data/lib/chef/knife/bootstrap/train_connector.rb +1 -1
  17. data/lib/chef/knife/bootstrap.rb +1 -1
  18. data/lib/chef/knife/client_bulk_delete.rb +1 -1
  19. data/lib/chef/knife/client_create.rb +1 -1
  20. data/lib/chef/knife/client_delete.rb +1 -1
  21. data/lib/chef/knife/client_edit.rb +1 -1
  22. data/lib/chef/knife/client_key_create.rb +1 -1
  23. data/lib/chef/knife/client_key_delete.rb +1 -1
  24. data/lib/chef/knife/client_key_edit.rb +1 -1
  25. data/lib/chef/knife/client_key_list.rb +1 -1
  26. data/lib/chef/knife/client_key_show.rb +1 -1
  27. data/lib/chef/knife/client_list.rb +1 -1
  28. data/lib/chef/knife/client_reregister.rb +1 -1
  29. data/lib/chef/knife/client_show.rb +1 -1
  30. data/lib/chef/knife/config_show.rb +1 -1
  31. data/lib/chef/knife/config_use.rb +1 -1
  32. data/lib/chef/knife/configure.rb +1 -1
  33. data/lib/chef/knife/configure_client.rb +1 -1
  34. data/lib/chef/knife/cookbook_bulk_delete.rb +1 -1
  35. data/lib/chef/knife/cookbook_delete.rb +1 -1
  36. data/lib/chef/knife/cookbook_download.rb +1 -1
  37. data/lib/chef/knife/cookbook_list.rb +1 -1
  38. data/lib/chef/knife/cookbook_metadata.rb +1 -1
  39. data/lib/chef/knife/cookbook_metadata_from_file.rb +1 -1
  40. data/lib/chef/knife/cookbook_show.rb +1 -1
  41. data/lib/chef/knife/cookbook_upload.rb +1 -1
  42. data/lib/chef/knife/core/bootstrap_context.rb +1 -1
  43. data/lib/chef/knife/core/cookbook_scm_repo.rb +1 -1
  44. data/lib/chef/knife/core/cookbook_site_streaming_uploader.rb +1 -1
  45. data/lib/chef/knife/core/formatting_options.rb +1 -1
  46. data/lib/chef/knife/core/gem_glob_loader.rb +1 -1
  47. data/lib/chef/knife/core/generic_presenter.rb +1 -1
  48. data/lib/chef/knife/core/hashed_command_loader.rb +1 -1
  49. data/lib/chef/knife/core/node_editor.rb +1 -1
  50. data/lib/chef/knife/core/node_presenter.rb +1 -1
  51. data/lib/chef/knife/core/object_loader.rb +1 -1
  52. data/lib/chef/knife/core/status_presenter.rb +1 -1
  53. data/lib/chef/knife/core/subcommand_loader.rb +1 -1
  54. data/lib/chef/knife/core/text_formatter.rb +1 -1
  55. data/lib/chef/knife/core/ui.rb +2 -2
  56. data/lib/chef/knife/core/windows_bootstrap_context.rb +1 -1
  57. data/lib/chef/knife/data_bag_create.rb +1 -1
  58. data/lib/chef/knife/data_bag_delete.rb +1 -1
  59. data/lib/chef/knife/data_bag_edit.rb +1 -1
  60. data/lib/chef/knife/data_bag_from_file.rb +1 -1
  61. data/lib/chef/knife/data_bag_list.rb +1 -1
  62. data/lib/chef/knife/data_bag_secret_options.rb +1 -1
  63. data/lib/chef/knife/data_bag_show.rb +1 -1
  64. data/lib/chef/knife/edit.rb +1 -1
  65. data/lib/chef/knife/environment_create.rb +1 -1
  66. data/lib/chef/knife/environment_delete.rb +1 -1
  67. data/lib/chef/knife/environment_edit.rb +1 -1
  68. data/lib/chef/knife/environment_from_file.rb +1 -1
  69. data/lib/chef/knife/environment_list.rb +1 -1
  70. data/lib/chef/knife/environment_show.rb +1 -1
  71. data/lib/chef/knife/exec.rb +1 -1
  72. data/lib/chef/knife/group_add.rb +1 -1
  73. data/lib/chef/knife/group_create.rb +1 -1
  74. data/lib/chef/knife/group_destroy.rb +1 -1
  75. data/lib/chef/knife/group_list.rb +1 -1
  76. data/lib/chef/knife/group_remove.rb +1 -1
  77. data/lib/chef/knife/group_show.rb +1 -1
  78. data/lib/chef/knife/key_create.rb +1 -1
  79. data/lib/chef/knife/key_create_base.rb +1 -1
  80. data/lib/chef/knife/key_delete.rb +1 -1
  81. data/lib/chef/knife/key_edit.rb +1 -1
  82. data/lib/chef/knife/key_edit_base.rb +1 -1
  83. data/lib/chef/knife/key_list.rb +1 -1
  84. data/lib/chef/knife/key_list_base.rb +1 -1
  85. data/lib/chef/knife/key_show.rb +1 -1
  86. data/lib/chef/knife/license.rb +1 -1
  87. data/lib/chef/knife/node_bulk_delete.rb +1 -1
  88. data/lib/chef/knife/node_create.rb +1 -1
  89. data/lib/chef/knife/node_delete.rb +1 -1
  90. data/lib/chef/knife/node_edit.rb +1 -1
  91. data/lib/chef/knife/node_from_file.rb +1 -1
  92. data/lib/chef/knife/node_list.rb +1 -1
  93. data/lib/chef/knife/node_policy_set.rb +1 -1
  94. data/lib/chef/knife/node_run_list_add.rb +1 -1
  95. data/lib/chef/knife/node_run_list_remove.rb +1 -1
  96. data/lib/chef/knife/node_show.rb +1 -1
  97. data/lib/chef/knife/org_create.rb +1 -1
  98. data/lib/chef/knife/org_delete.rb +1 -1
  99. data/lib/chef/knife/org_edit.rb +1 -1
  100. data/lib/chef/knife/org_list.rb +1 -1
  101. data/lib/chef/knife/org_show.rb +1 -1
  102. data/lib/chef/knife/org_user_add.rb +1 -1
  103. data/lib/chef/knife/org_user_remove.rb +1 -1
  104. data/lib/chef/knife/recipe_list.rb +1 -1
  105. data/lib/chef/knife/rehash.rb +1 -1
  106. data/lib/chef/knife/role_bulk_delete.rb +1 -1
  107. data/lib/chef/knife/role_create.rb +1 -1
  108. data/lib/chef/knife/role_delete.rb +1 -1
  109. data/lib/chef/knife/role_edit.rb +1 -1
  110. data/lib/chef/knife/role_env_run_list_add.rb +1 -1
  111. data/lib/chef/knife/role_env_run_list_remove.rb +1 -1
  112. data/lib/chef/knife/role_env_run_list_replace.rb +1 -1
  113. data/lib/chef/knife/role_from_file.rb +1 -1
  114. data/lib/chef/knife/role_list.rb +1 -1
  115. data/lib/chef/knife/role_run_list_add.rb +1 -1
  116. data/lib/chef/knife/role_run_list_remove.rb +1 -1
  117. data/lib/chef/knife/role_run_list_replace.rb +1 -1
  118. data/lib/chef/knife/role_show.rb +1 -1
  119. data/lib/chef/knife/search.rb +1 -1
  120. data/lib/chef/knife/ssh.rb +1 -1
  121. data/lib/chef/knife/ssl_check.rb +1 -1
  122. data/lib/chef/knife/ssl_fetch.rb +1 -1
  123. data/lib/chef/knife/supermarket_download.rb +1 -1
  124. data/lib/chef/knife/supermarket_install.rb +1 -1
  125. data/lib/chef/knife/supermarket_list.rb +1 -1
  126. data/lib/chef/knife/supermarket_search.rb +1 -1
  127. data/lib/chef/knife/supermarket_share.rb +1 -1
  128. data/lib/chef/knife/supermarket_show.rb +1 -1
  129. data/lib/chef/knife/supermarket_unshare.rb +1 -1
  130. data/lib/chef/knife/user_create.rb +1 -1
  131. data/lib/chef/knife/user_delete.rb +1 -1
  132. data/lib/chef/knife/user_dissociate.rb +1 -1
  133. data/lib/chef/knife/user_edit.rb +2 -2
  134. data/lib/chef/knife/user_invite_add.rb +1 -1
  135. data/lib/chef/knife/user_invite_list.rb +1 -1
  136. data/lib/chef/knife/user_invite_rescind.rb +1 -1
  137. data/lib/chef/knife/user_key_create.rb +1 -1
  138. data/lib/chef/knife/user_key_delete.rb +1 -1
  139. data/lib/chef/knife/user_key_edit.rb +1 -1
  140. data/lib/chef/knife/user_key_list.rb +1 -1
  141. data/lib/chef/knife/user_key_show.rb +1 -1
  142. data/lib/chef/knife/user_list.rb +1 -1
  143. data/lib/chef/knife/user_password.rb +1 -1
  144. data/lib/chef/knife/user_reregister.rb +1 -1
  145. data/lib/chef/knife/user_show.rb +1 -1
  146. data/lib/chef/knife/version.rb +2 -2
  147. data/lib/chef/knife/yaml_convert.rb +1 -1
  148. data/lib/chef/knife.rb +27 -11
  149. data/spec/data/bad-config.rb +1 -1
  150. data/spec/data/cb_version_cookbooks/tatft/README.rdoc +1 -1
  151. data/spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb +1 -1
  152. data/spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb +1 -1
  153. data/spec/data/cb_version_cookbooks/tatft/providers/lwp.rb +1 -1
  154. data/spec/data/cb_version_cookbooks/tatft/recipes/default.rb +1 -1
  155. data/spec/data/cb_version_cookbooks/tatft/resources/lwr.rb +1 -1
  156. data/spec/data/checksum/random.txt +1 -1
  157. data/spec/data/config.rb +0 -1
  158. data/spec/data/cookbooks/apache2/recipes/default.rb +1 -1
  159. data/spec/data/cookbooks/borken/recipes/default.rb +1 -1
  160. data/spec/data/cookbooks/borken/templates/default/borken.erb +1 -1
  161. data/spec/data/cookbooks/ignorken/recipes/default.rb +1 -1
  162. data/spec/data/cookbooks/ignorken/recipes/ignoreme.rb +1 -1
  163. data/spec/data/cookbooks/java/files/default/java.response +1 -1
  164. data/spec/data/cookbooks/name-mismatch-versionnumber/README.md +0 -1
  165. data/spec/data/cookbooks/name-mismatch-versionnumber/metadata.rb +0 -1
  166. data/spec/data/cookbooks/openldap/files/default/.ssh/id_rsa +1 -1
  167. data/spec/data/cookbooks/openldap/files/default/remotedir/remote_dir_file1.txt +1 -1
  168. data/spec/data/cookbooks/openldap/files/default/remotedir/remote_dir_file2.txt +1 -1
  169. data/spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file1.txt +1 -1
  170. data/spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file2.txt +1 -1
  171. data/spec/data/cookbooks/openldap/templates/default/openldap_stuff.conf.erb +1 -1
  172. data/spec/data/cookbooks/starter/files/sample.txt +1 -1
  173. data/spec/data/definitions/test.rb +1 -1
  174. data/spec/data/environment-config.rb +1 -1
  175. data/spec/data/incomplete-metadata-chef-repo/incomplete-metadata/README.md +0 -1
  176. data/spec/data/incomplete-metadata-chef-repo/incomplete-metadata/metadata.rb +0 -1
  177. data/spec/data/invalid-metadata-chef-repo/invalid-metadata/README.md +0 -1
  178. data/spec/data/kitchen/openldap/attributes/robinson.rb +1 -1
  179. data/spec/data/kitchen/openldap/definitions/drewbarrymore.rb +1 -1
  180. data/spec/data/kitchen/openldap/recipes/gigantor.rb +1 -1
  181. data/spec/data/kitchen/openldap/recipes/ignoreme.rb +1 -1
  182. data/spec/data/knife_subcommand/test_explicit_category.rb +1 -1
  183. data/spec/data/remote_directory_data/remote_dir_file.txt +1 -1
  184. data/spec/data/remote_directory_data/remote_subdirectory/remote_subdir_file.txt +1 -1
  185. data/spec/data/rubygems.org/nonexistent_gem-info +1 -1
  186. data/spec/data/run_context/cookbooks/circular-dep1/libraries/lib.rb +0 -1
  187. data/spec/data/run_context/cookbooks/circular-dep2/libraries/lib.rb +0 -1
  188. data/spec/data/run_context/cookbooks/dependency1/libraries/lib.rb +0 -1
  189. data/spec/data/run_context/cookbooks/dependency2/libraries/lib.rb +0 -1
  190. data/spec/data/run_context/cookbooks/test/recipes/default.rb +0 -2
  191. data/spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb +0 -1
  192. data/spec/data/sample_msu1.xml +0 -1
  193. data/spec/data/sample_msu2.xml +0 -1
  194. data/spec/data/sample_msu3.xml +0 -1
  195. data/spec/data/standalone_cookbook/Gemfile +1 -1
  196. data/spec/data/standalone_cookbook/recipes/default.rb +1 -1
  197. data/spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb +1 -1
  198. data/spec/data/templates/chef-seattle20160930-4388-1crv7ef.txt +1 -1
  199. data/spec/data/templates/chef-seattle20160930-4388-jjfoae.txt +1 -1
  200. data/spec/data/templates/chef-seattle20160930-4388-umeq2c.txt +1 -1
  201. data/spec/data/templates/seattle.txt +1 -1
  202. data/spec/functional/configure_spec.rb +1 -1
  203. data/spec/functional/cookbook_delete_spec.rb +1 -1
  204. data/spec/functional/exec_spec.rb +1 -1
  205. data/spec/functional/rehash_spec.rb +1 -1
  206. data/spec/functional/smoke_test.rb +1 -1
  207. data/spec/functional/ssh_spec.rb +1 -1
  208. data/spec/functional/version_spec.rb +1 -1
  209. data/spec/integration/chef_fs_data_store_spec.rb +1 -1
  210. data/spec/integration/chef_repo_path_spec.rb +1 -1
  211. data/spec/integration/chef_repository_file_system_spec.rb +1 -1
  212. data/spec/integration/chefignore_spec.rb +1 -1
  213. data/spec/integration/client_bulk_delete_spec.rb +1 -1
  214. data/spec/integration/client_create_spec.rb +1 -1
  215. data/spec/integration/client_delete_spec.rb +1 -1
  216. data/spec/integration/client_key_create_spec.rb +1 -1
  217. data/spec/integration/client_key_delete_spec.rb +1 -1
  218. data/spec/integration/client_key_list_spec.rb +1 -1
  219. data/spec/integration/client_key_show_spec.rb +1 -1
  220. data/spec/integration/client_list_spec.rb +1 -1
  221. data/spec/integration/client_show_spec.rb +1 -1
  222. data/spec/integration/commands_spec.rb +1 -1
  223. data/spec/integration/common_options_spec.rb +1 -1
  224. data/spec/integration/cookbook_api_ipv6_spec.rb +1 -1
  225. data/spec/integration/cookbook_bulk_delete_spec.rb +1 -1
  226. data/spec/integration/cookbook_download_spec.rb +1 -1
  227. data/spec/integration/cookbook_list_spec.rb +1 -1
  228. data/spec/integration/cookbook_show_spec.rb +1 -1
  229. data/spec/integration/cookbook_upload_spec.rb +1 -1
  230. data/spec/integration/data_bag_create_spec.rb +1 -1
  231. data/spec/integration/data_bag_delete_spec.rb +1 -1
  232. data/spec/integration/data_bag_edit_spec.rb +1 -1
  233. data/spec/integration/data_bag_from_file_spec.rb +1 -1
  234. data/spec/integration/data_bag_list_spec.rb +1 -1
  235. data/spec/integration/data_bag_show_spec.rb +1 -1
  236. data/spec/integration/delete_spec.rb +1 -1
  237. data/spec/integration/deps_spec.rb +1 -1
  238. data/spec/integration/diff_spec.rb +1 -1
  239. data/spec/integration/download_spec.rb +1 -1
  240. data/spec/integration/environment_compare_spec.rb +1 -1
  241. data/spec/integration/environment_create_spec.rb +1 -1
  242. data/spec/integration/environment_delete_spec.rb +1 -1
  243. data/spec/integration/environment_from_file_spec.rb +1 -1
  244. data/spec/integration/environment_list_spec.rb +1 -1
  245. data/spec/integration/environment_show_spec.rb +1 -1
  246. data/spec/integration/list_spec.rb +1 -1
  247. data/spec/integration/node_bulk_delete_spec.rb +1 -1
  248. data/spec/integration/node_create_spec.rb +1 -1
  249. data/spec/integration/node_delete_spec.rb +1 -1
  250. data/spec/integration/node_environment_set_spec.rb +1 -1
  251. data/spec/integration/node_from_file_spec.rb +1 -1
  252. data/spec/integration/node_list_spec.rb +1 -1
  253. data/spec/integration/node_run_list_add_spec.rb +1 -1
  254. data/spec/integration/node_run_list_remove_spec.rb +1 -1
  255. data/spec/integration/node_run_list_set_spec.rb +1 -1
  256. data/spec/integration/node_show_spec.rb +1 -1
  257. data/spec/integration/raw_spec.rb +1 -1
  258. data/spec/integration/redirection_spec.rb +1 -1
  259. data/spec/integration/role_bulk_delete_spec.rb +1 -1
  260. data/spec/integration/role_create_spec.rb +1 -1
  261. data/spec/integration/role_delete_spec.rb +1 -1
  262. data/spec/integration/role_from_file_spec.rb +1 -1
  263. data/spec/integration/role_list_spec.rb +1 -1
  264. data/spec/integration/role_show_spec.rb +1 -1
  265. data/spec/integration/search_node_spec.rb +1 -1
  266. data/spec/integration/serve_spec.rb +1 -1
  267. data/spec/integration/show_spec.rb +1 -1
  268. data/spec/integration/upload_spec.rb +1 -1
  269. data/spec/knife_spec_helper.rb +2 -2
  270. data/spec/support/chef_helpers.rb +1 -1
  271. data/spec/support/key_helpers.rb +1 -1
  272. data/spec/support/platforms/prof/gc.rb +1 -1
  273. data/spec/support/platforms/prof/win32.rb +1 -1
  274. data/spec/support/platforms/win32/spec_service.rb +1 -1
  275. data/spec/support/shared/functional/knife.rb +1 -1
  276. data/spec/support/shared/integration/integration_helper.rb +1 -1
  277. data/spec/support/shared/integration/knife_support.rb +1 -1
  278. data/spec/support/shared/unit/knife_shared.rb +1 -1
  279. data/spec/tiny_server.rb +1 -1
  280. data/spec/unit/application/knife_spec.rb +1 -1
  281. data/spec/unit/knife/bootstrap/chef_vault_handler_spec.rb +1 -1
  282. data/spec/unit/knife/bootstrap/client_builder_spec.rb +1 -1
  283. data/spec/unit/knife/bootstrap/templates/windows_presigned_url_spec.rb +1 -1
  284. data/spec/unit/knife/bootstrap/train_connector_spec.rb +1 -1
  285. data/spec/unit/knife/bootstrap_chef19_spec.rb +1 -1
  286. data/spec/unit/knife/bootstrap_spec.rb +1 -1
  287. data/spec/unit/knife/client_bulk_delete_spec.rb +1 -1
  288. data/spec/unit/knife/client_create_spec.rb +1 -1
  289. data/spec/unit/knife/configure_spec.rb +5 -3
  290. data/spec/unit/knife/cookbook_bulk_delete_spec.rb +1 -1
  291. data/spec/unit/knife/cookbook_metadata_from_file_spec.rb +2 -2
  292. data/spec/unit/knife/cookbook_show_spec.rb +1 -1
  293. data/spec/unit/knife/cookbook_upload_spec.rb +1 -1
  294. data/spec/unit/knife/core/bootstrap_context_spec.rb +1 -1
  295. data/spec/unit/knife/core/cookbook_scm_repo_spec.rb +1 -1
  296. data/spec/unit/knife/core/gem_glob_loader_spec.rb +1 -1
  297. data/spec/unit/knife/core/hashed_command_loader_spec.rb +1 -1
  298. data/spec/unit/knife/core/node_editor_spec.rb +1 -1
  299. data/spec/unit/knife/core/object_loader_spec.rb +1 -1
  300. data/spec/unit/knife/core/status_presenter_spec.rb +1 -1
  301. data/spec/unit/knife/core/subcommand_loader_spec.rb +1 -1
  302. data/spec/unit/knife/core/ui_spec.rb +1 -1
  303. data/spec/unit/knife/core/windows_bootstrap_context_chef19_spec.rb +1 -1
  304. data/spec/unit/knife/core/windows_bootstrap_context_spec.rb +1 -1
  305. data/spec/unit/knife/data_bag_create_spec.rb +1 -1
  306. data/spec/unit/knife/data_bag_edit_spec.rb +1 -1
  307. data/spec/unit/knife/data_bag_from_file_spec.rb +1 -1
  308. data/spec/unit/knife/data_bag_secret_options_spec.rb +1 -1
  309. data/spec/unit/knife/data_bag_show_spec.rb +1 -1
  310. data/spec/unit/knife/environment_create_spec.rb +1 -1
  311. data/spec/unit/knife/environment_delete_spec.rb +1 -1
  312. data/spec/unit/knife/environment_edit_spec.rb +1 -1
  313. data/spec/unit/knife/environment_from_file_spec.rb +1 -1
  314. data/spec/unit/knife/environment_list_spec.rb +1 -1
  315. data/spec/unit/knife/environment_show_spec.rb +1 -1
  316. data/spec/unit/knife/key_create_spec.rb +1 -1
  317. data/spec/unit/knife/key_delete_spec.rb +1 -1
  318. data/spec/unit/knife/key_edit_spec.rb +1 -1
  319. data/spec/unit/knife/key_helper.rb +1 -1
  320. data/spec/unit/knife/key_list_spec.rb +1 -1
  321. data/spec/unit/knife/key_show_spec.rb +1 -1
  322. data/spec/unit/knife/license_spec.rb +1 -1
  323. data/spec/unit/knife/node_bulk_delete_spec.rb +1 -1
  324. data/spec/unit/knife/node_delete_spec.rb +1 -1
  325. data/spec/unit/knife/node_edit_spec.rb +1 -1
  326. data/spec/unit/knife/node_from_file_spec.rb +1 -1
  327. data/spec/unit/knife/node_list_spec.rb +1 -1
  328. data/spec/unit/knife/node_policy_set_spec.rb +1 -1
  329. data/spec/unit/knife/node_run_list_add_spec.rb +1 -1
  330. data/spec/unit/knife/node_run_list_remove_spec.rb +1 -1
  331. data/spec/unit/knife/node_show_spec.rb +1 -1
  332. data/spec/unit/knife/org_create_spec.rb +1 -1
  333. data/spec/unit/knife/org_delete_spec.rb +1 -1
  334. data/spec/unit/knife/org_edit_spec.rb +1 -1
  335. data/spec/unit/knife/org_list_spec.rb +1 -1
  336. data/spec/unit/knife/org_show_spec.rb +1 -1
  337. data/spec/unit/knife/org_user_add_spec.rb +1 -1
  338. data/spec/unit/knife/raw_spec.rb +1 -1
  339. data/spec/unit/knife/role_bulk_delete_spec.rb +1 -1
  340. data/spec/unit/knife/role_create_spec.rb +1 -1
  341. data/spec/unit/knife/role_delete_spec.rb +1 -1
  342. data/spec/unit/knife/role_edit_spec.rb +1 -1
  343. data/spec/unit/knife/role_env_run_list_add_spec.rb +1 -1
  344. data/spec/unit/knife/role_env_run_list_clear_spec.rb +1 -1
  345. data/spec/unit/knife/role_env_run_list_remove_spec.rb +1 -1
  346. data/spec/unit/knife/role_env_run_list_replace_spec.rb +1 -1
  347. data/spec/unit/knife/role_env_run_list_set_spec.rb +1 -1
  348. data/spec/unit/knife/role_from_file_spec.rb +1 -1
  349. data/spec/unit/knife/role_list_spec.rb +1 -1
  350. data/spec/unit/knife/role_run_list_add_spec.rb +1 -1
  351. data/spec/unit/knife/role_run_list_clear_spec.rb +1 -1
  352. data/spec/unit/knife/role_run_list_remove_spec.rb +1 -1
  353. data/spec/unit/knife/role_run_list_replace_spec.rb +1 -1
  354. data/spec/unit/knife/role_run_list_set_spec.rb +1 -1
  355. data/spec/unit/knife/search_spec.rb +1 -1
  356. data/spec/unit/knife/ssh_spec.rb +1 -1
  357. data/spec/unit/knife/ssl_check_spec.rb +1 -1
  358. data/spec/unit/knife/ssl_fetch_spec.rb +1 -1
  359. data/spec/unit/knife/status_spec.rb +1 -1
  360. data/spec/unit/knife/supermarket_download_spec.rb +1 -1
  361. data/spec/unit/knife/supermarket_install_spec.rb +1 -1
  362. data/spec/unit/knife/supermarket_list_spec.rb +1 -1
  363. data/spec/unit/knife/supermarket_search_spec.rb +1 -1
  364. data/spec/unit/knife/supermarket_share_spec.rb +1 -1
  365. data/spec/unit/knife/supermarket_unshare_spec.rb +1 -1
  366. data/spec/unit/knife/user_create_spec.rb +1 -1
  367. data/spec/unit/knife/user_delete_spec.rb +1 -1
  368. data/spec/unit/knife/user_edit_spec.rb +1 -1
  369. data/spec/unit/knife/user_list_spec.rb +1 -1
  370. data/spec/unit/knife/user_password_spec.rb +1 -1
  371. data/spec/unit/knife/user_reregister_spec.rb +1 -1
  372. data/spec/unit/knife/user_show_spec.rb +1 -1
  373. data/spec/unit/knife/utils/licensing_handler_chef19_spec.rb +1 -1
  374. data/spec/unit/knife_spec.rb +63 -1
  375. metadata +15 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e81df965f27a2730a8f310e40991536aafda0c7609e55f675590a377bcb36b4
4
- data.tar.gz: a35923d15f53192047e35fc0ef653a803e3f77935e53d2fc836fd2d7c1a29be4
3
+ metadata.gz: eeae2baecd778463ca309c0b348c3c531a2ff534603b7f1d3b5668a60cf460a6
4
+ data.tar.gz: 2ed971ba06ff2116df89ba4c20df43a93178eaf53bf80d74a9ddc4a400d49e59
5
5
  SHA512:
6
- metadata.gz: 94bc90f91341236767cf87dd5ec077385c38d45b66060606a3d0fbcb00d0336319c4be41b62a9745ec362458ef8467430450904e7b67f890e3a403619c03e87f
7
- data.tar.gz: b99225e2db049fe4cdb2f85a60cf223c1e1c5c2d87e6f2aa65b5ddd3ba2f47ba2499b562c5918723e0f72aa1cd3752bb8dc5aae546a6e72f4df29bf8ebf4f294
6
+ metadata.gz: 7c323e72f2c9e1fbe0208ca8416f0ea139486c26ed986b0e81ac182ce9223635cc0d8b0f93d70eb9885e904ee830619027b0e2715690852af64413c82ac6017f
7
+ data.tar.gz: 339034783d91f0b83bf0ca27f990ab1b5b5d85acf7a4d7447756a509734017392eabe8f1de18ed77bbb654c3305e5c9c06632c417821e0ccf14984291c1ad40b
data/Gemfile CHANGED
@@ -28,7 +28,7 @@ gem "mixlib-authentication", "=3.0.10" #Pinning this to a specific version to av
28
28
  group :development, :test do
29
29
  gem "cheffish", ">= 14"
30
30
  gem "webmock"
31
- gem "crack", "< 0.4.6"
31
+ gem "crack", "< 1.0.2"
32
32
  gem "rake", ">= 12.3.3"
33
33
  gem "rspec"
34
34
  gem "abbrev"
@@ -41,4 +41,3 @@ group :omnibus_package, :pry do
41
41
  gem "pry-byebug"
42
42
  gem "pry-stack_explorer"
43
43
  end
44
-
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright (c) Chef Software Inc.
1
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
2
2
  # License:: Apache License, Version 2.0
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -32,25 +32,23 @@ rescue LoadError
32
32
  puts "rspec not available. bundle install first to make sure all dependencies are installed."
33
33
  end
34
34
 
35
- begin
36
- require "cookstyle/chefstyle"
35
+ desc "Check Linting and code style."
36
+ task :style do
37
37
  require "rubocop/rake_task"
38
+ require "cookstyle/chefstyle"
38
39
 
39
- namespace :style do
40
- desc "Run cookstyle style checks"
41
- RuboCop::RakeTask.new(:cookstyle) do |task|
42
- task.options += ["--display-cop-names", "--no-color"]
43
- end
40
+ if RbConfig::CONFIG["host_os"] =~ /mswin|mingw|cygwin/
41
+ # Windows-specific command, rubocop erroneously reports the CRLF in each file which is removed when your PR is uploaded to GitHub.
42
+ # This is a workaround to ignore the CRLF from the files before running cookstyle.
43
+ sh "cookstyle --chefstyle -c .rubocop.yml --except Layout/EndOfLine"
44
+ else
45
+ sh "cookstyle --chefstyle -c .rubocop.yml"
44
46
  end
45
-
46
- # Alias for convenience
47
- desc "Run cookstyle style checks"
48
- task style: "style:cookstyle"
49
47
  rescue LoadError
50
- puts "cookstyle/chefstyle is not available. (sudo) gem install cookstyle to do style checking."
48
+ puts "Rubocop or Cookstyle gems are not installed. bundle install first to make sure all dependencies are installed."
51
49
  end
52
50
 
53
51
  desc "Run all quality tasks"
54
- task quality: ["style:cookstyle"]
52
+ task quality: [:style]
55
53
 
56
54
  task default: [:spec]
data/knife.gemspec CHANGED
@@ -21,16 +21,16 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency "mixlib-cli", ">= 2.1.1", "< 3.0"
22
22
  s.add_dependency "mixlib-archive", ">= 0.4", "< 2.0"
23
23
  s.add_dependency "ffi", ">= 1.15", "< 1.18.0"
24
- s.add_dependency "ffi-yajl", "~> 2.2"
24
+ s.add_dependency "ffi-yajl", ">= 2.2", "< 4.0"
25
25
  s.add_dependency "net-ssh", ">= 5.1", "< 8"
26
26
  s.add_dependency "net-ssh-multi", "~> 1.2", ">= 1.2.1"
27
27
  s.add_dependency "bcrypt_pbkdf", "~> 1.1" # ed25519 ssh key support
28
28
  s.add_dependency "ed25519", ">= 1.2", "< 2.0" # ed25519 ssh key support
29
29
  # disabling this until we get get it to compile on RHEL 7
30
30
  # s.add_dependency "x25519", ">= 1.0.9" # ed25519 KEX module. 1.0.9+ required to resolve sigill failures
31
- s.add_dependency "highline", ">= 1.6.9", "< 3" # Used in UI to present a list, no other usage.
31
+ s.add_dependency "highline", ">= 1.6.9", "< 4" # Used in UI to present a list, no other usage.
32
32
  s.add_dependency "abbrev"
33
-
33
+
34
34
  s.add_dependency "tty-prompt", "~> 0.21" # knife ui.ask prompt
35
35
  s.add_dependency "tty-screen", "~> 0.6" # knife list
36
36
  s.add_dependency "tty-table", "~> 0.11" # knife render table output.
@@ -51,11 +51,11 @@ Gem::Specification.new do |s|
51
51
  Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
52
52
 
53
53
  s.metadata = {
54
- "bug_tracker_uri" => "https://github.com/chef/chef/issues",
55
- "changelog_uri" => "https://github.com/chef/chef/blob/main/CHANGELOG.md",
54
+ "bug_tracker_uri" => "https://github.com/chef/knife/issues",
55
+ "changelog_uri" => "https://github.com/chef/knife/blob/main/CHANGELOG.md",
56
56
  "documentation_uri" => "https://docs.chef.io/",
57
57
  "homepage_uri" => "https://www.chef.io",
58
58
  "mailing_list_uri" => "https://discourse.chef.io/",
59
- "source_code_uri" => "https://github.com/chef/chef/",
59
+ "source_code_uri" => "https://github.com/chef/knife/",
60
60
  }
61
61
  end
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: John Keiser (<jkeiser@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Steven Danna (steve@chef.io)
3
3
  # Author:: Jeremiah Snapp (jeremiah@chef.io)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Steven Danna (steve@chef.io)
3
3
  # Author:: Jeremiah Snapp (<jeremiah@chef.io>)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Jeremiah Snapp (jeremiah@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Jeremiah Snapp (jeremiah@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Steven Danna (steve@chef.io)
3
3
  # Author:: Jeremiah Snapp (jeremiah@chef.io)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Steven Danna (steve@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Lamont Granquist (<lamont@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Lamont Granquist (<lamont@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  @rem
2
2
  @rem Author:: Seth Chisamore (<schisamo@chef.io>)
3
- @rem Copyright:: Copyright (c) 2011-2019 Chef Software, Inc.
3
+ @rem Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  @rem License:: Apache License, Version 2.0
5
5
  @rem
6
6
  @rem Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright (c) Chef Software Inc.
1
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
2
2
  #
3
3
  # License:: Apache License, Version 2.0
4
4
  #
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Tyler Cloke (tyler@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Tyler Cloke (tyler@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Tyler Cloke (tyler@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Tyler Cloke (tyler@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Tyler Cloke (tyler@chef.io)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Vivek Singh (<vsingh@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Vivek Singh (<vsingh@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Daniel DeLeo (<dan@chef.io>)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Christopher Walters (<cw@chef.io>)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Nuo Yan (<nuo@chef.io>)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Matthew Kent (<mkent@magoazul.com>)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # Copyright:: Copyright 2010-2016, Matthew Kent
6
6
  # License:: Apache License, Version 2.0
7
7
  #
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -2,7 +2,7 @@
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Christopher Walters (<cw@chef.io>)
4
4
  # Author:: Nuo Yan (<yan.nuo@gmail.com>)
5
- # Copyright:: Copyright (c) Chef Software Inc.
5
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
6
6
  # License:: Apache License, Version 2.0
7
7
  #
8
8
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -2,7 +2,7 @@
2
2
  # Author:: Stanislav Vitvitskiy
3
3
  # Author:: Nuo Yan (nuo@chef.io)
4
4
  # Author:: Christopher Walters (<cw@chef.io>)
5
- # Copyright:: Copyright (c) Chef Software Inc.
5
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
6
6
  # License:: Apache License, Version 2.0
7
7
  #
8
8
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Nicolas DUPEUX (<nicolas.dupeux@arkea.com>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  # Author:: Christopher Brown (<cb@chef.io>)
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  # Author:: Steven Danna (<steve@chef.io>)
2
- # Copyright:: Copyright (c) Chef Software Inc.
2
+ # Copyright:: Copyright (c) 2009-2026 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,7 +1,7 @@
1
1
  #
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
3
  # Author:: Jordan Running (<jr@chef.io>)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Nicolas DUPEUX (<nicolas.dupeux@arkea.com>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  # Author:: Christopher Brown (<cb@chef.io>)
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Daniel DeLeo (<dan@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -2,7 +2,7 @@
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Christopher Brown (<cb@chef.io>)
4
4
  # Author:: Daniel DeLeo (<dan@chef.io>)
5
- # Copyright:: Copyright (c) Chef Software Inc.
5
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
6
6
  # License:: Apache License, Version 2.0
7
7
  #
8
8
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -234,7 +234,7 @@ class Chef
234
234
  tf.sync = true
235
235
  tf.puts output
236
236
  tf.close
237
- raise "Please set EDITOR environment variable. See https://docs.chef.io/workstation/knife_setup/#setting-your-text-editor for details." unless system("#{config[:editor]} #{tf.path}")
237
+ raise "Please set EDITOR environment variable. See https://docs.chef.io/workstation/26/tools/knife/set_up/#set-a-text-editor for details." unless system("#{config[:editor]} #{tf.path}")
238
238
 
239
239
  output = File.read(tf.path)
240
240
  end
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Seth Chisamore (<schisamo@chef.io>)
3
- # Copyright:: Copyright (c) Chef Software Inc.
3
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Seth Falcon (<seth@chef.io>)
4
- # Copyright:: Copyright (c) Chef Software Inc.
4
+ # Copyright:: Copyright (c) 2009-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");