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.
- checksums.yaml +4 -4
- data/Gemfile +1 -2
- data/Rakefile +12 -14
- data/knife.gemspec +6 -6
- data/lib/chef/application/knife.rb +1 -1
- data/lib/chef/chef_fs/knife.rb +1 -1
- data/lib/chef/knife/acl_add.rb +1 -1
- data/lib/chef/knife/acl_base.rb +1 -1
- data/lib/chef/knife/acl_bulk_add.rb +1 -1
- data/lib/chef/knife/acl_bulk_remove.rb +1 -1
- data/lib/chef/knife/acl_remove.rb +1 -1
- data/lib/chef/knife/acl_show.rb +1 -1
- data/lib/chef/knife/bootstrap/chef_vault_handler.rb +1 -1
- data/lib/chef/knife/bootstrap/client_builder.rb +1 -1
- data/lib/chef/knife/bootstrap/templates/windows-chef-client-msi.erb +1 -1
- data/lib/chef/knife/bootstrap/train_connector.rb +1 -1
- data/lib/chef/knife/bootstrap.rb +1 -1
- data/lib/chef/knife/client_bulk_delete.rb +1 -1
- data/lib/chef/knife/client_create.rb +1 -1
- data/lib/chef/knife/client_delete.rb +1 -1
- data/lib/chef/knife/client_edit.rb +1 -1
- data/lib/chef/knife/client_key_create.rb +1 -1
- data/lib/chef/knife/client_key_delete.rb +1 -1
- data/lib/chef/knife/client_key_edit.rb +1 -1
- data/lib/chef/knife/client_key_list.rb +1 -1
- data/lib/chef/knife/client_key_show.rb +1 -1
- data/lib/chef/knife/client_list.rb +1 -1
- data/lib/chef/knife/client_reregister.rb +1 -1
- data/lib/chef/knife/client_show.rb +1 -1
- data/lib/chef/knife/config_show.rb +1 -1
- data/lib/chef/knife/config_use.rb +1 -1
- data/lib/chef/knife/configure.rb +1 -1
- data/lib/chef/knife/configure_client.rb +1 -1
- data/lib/chef/knife/cookbook_bulk_delete.rb +1 -1
- data/lib/chef/knife/cookbook_delete.rb +1 -1
- data/lib/chef/knife/cookbook_download.rb +1 -1
- data/lib/chef/knife/cookbook_list.rb +1 -1
- data/lib/chef/knife/cookbook_metadata.rb +1 -1
- data/lib/chef/knife/cookbook_metadata_from_file.rb +1 -1
- data/lib/chef/knife/cookbook_show.rb +1 -1
- data/lib/chef/knife/cookbook_upload.rb +1 -1
- data/lib/chef/knife/core/bootstrap_context.rb +1 -1
- data/lib/chef/knife/core/cookbook_scm_repo.rb +1 -1
- data/lib/chef/knife/core/cookbook_site_streaming_uploader.rb +1 -1
- data/lib/chef/knife/core/formatting_options.rb +1 -1
- data/lib/chef/knife/core/gem_glob_loader.rb +1 -1
- data/lib/chef/knife/core/generic_presenter.rb +1 -1
- data/lib/chef/knife/core/hashed_command_loader.rb +1 -1
- data/lib/chef/knife/core/node_editor.rb +1 -1
- data/lib/chef/knife/core/node_presenter.rb +1 -1
- data/lib/chef/knife/core/object_loader.rb +1 -1
- data/lib/chef/knife/core/status_presenter.rb +1 -1
- data/lib/chef/knife/core/subcommand_loader.rb +1 -1
- data/lib/chef/knife/core/text_formatter.rb +1 -1
- data/lib/chef/knife/core/ui.rb +2 -2
- data/lib/chef/knife/core/windows_bootstrap_context.rb +1 -1
- data/lib/chef/knife/data_bag_create.rb +1 -1
- data/lib/chef/knife/data_bag_delete.rb +1 -1
- data/lib/chef/knife/data_bag_edit.rb +1 -1
- data/lib/chef/knife/data_bag_from_file.rb +1 -1
- data/lib/chef/knife/data_bag_list.rb +1 -1
- data/lib/chef/knife/data_bag_secret_options.rb +1 -1
- data/lib/chef/knife/data_bag_show.rb +1 -1
- data/lib/chef/knife/edit.rb +1 -1
- data/lib/chef/knife/environment_create.rb +1 -1
- data/lib/chef/knife/environment_delete.rb +1 -1
- data/lib/chef/knife/environment_edit.rb +1 -1
- data/lib/chef/knife/environment_from_file.rb +1 -1
- data/lib/chef/knife/environment_list.rb +1 -1
- data/lib/chef/knife/environment_show.rb +1 -1
- data/lib/chef/knife/exec.rb +1 -1
- data/lib/chef/knife/group_add.rb +1 -1
- data/lib/chef/knife/group_create.rb +1 -1
- data/lib/chef/knife/group_destroy.rb +1 -1
- data/lib/chef/knife/group_list.rb +1 -1
- data/lib/chef/knife/group_remove.rb +1 -1
- data/lib/chef/knife/group_show.rb +1 -1
- data/lib/chef/knife/key_create.rb +1 -1
- data/lib/chef/knife/key_create_base.rb +1 -1
- data/lib/chef/knife/key_delete.rb +1 -1
- data/lib/chef/knife/key_edit.rb +1 -1
- data/lib/chef/knife/key_edit_base.rb +1 -1
- data/lib/chef/knife/key_list.rb +1 -1
- data/lib/chef/knife/key_list_base.rb +1 -1
- data/lib/chef/knife/key_show.rb +1 -1
- data/lib/chef/knife/license.rb +1 -1
- data/lib/chef/knife/node_bulk_delete.rb +1 -1
- data/lib/chef/knife/node_create.rb +1 -1
- data/lib/chef/knife/node_delete.rb +1 -1
- data/lib/chef/knife/node_edit.rb +1 -1
- data/lib/chef/knife/node_from_file.rb +1 -1
- data/lib/chef/knife/node_list.rb +1 -1
- data/lib/chef/knife/node_policy_set.rb +1 -1
- data/lib/chef/knife/node_run_list_add.rb +1 -1
- data/lib/chef/knife/node_run_list_remove.rb +1 -1
- data/lib/chef/knife/node_show.rb +1 -1
- data/lib/chef/knife/org_create.rb +1 -1
- data/lib/chef/knife/org_delete.rb +1 -1
- data/lib/chef/knife/org_edit.rb +1 -1
- data/lib/chef/knife/org_list.rb +1 -1
- data/lib/chef/knife/org_show.rb +1 -1
- data/lib/chef/knife/org_user_add.rb +1 -1
- data/lib/chef/knife/org_user_remove.rb +1 -1
- data/lib/chef/knife/recipe_list.rb +1 -1
- data/lib/chef/knife/rehash.rb +1 -1
- data/lib/chef/knife/role_bulk_delete.rb +1 -1
- data/lib/chef/knife/role_create.rb +1 -1
- data/lib/chef/knife/role_delete.rb +1 -1
- data/lib/chef/knife/role_edit.rb +1 -1
- data/lib/chef/knife/role_env_run_list_add.rb +1 -1
- data/lib/chef/knife/role_env_run_list_remove.rb +1 -1
- data/lib/chef/knife/role_env_run_list_replace.rb +1 -1
- data/lib/chef/knife/role_from_file.rb +1 -1
- data/lib/chef/knife/role_list.rb +1 -1
- data/lib/chef/knife/role_run_list_add.rb +1 -1
- data/lib/chef/knife/role_run_list_remove.rb +1 -1
- data/lib/chef/knife/role_run_list_replace.rb +1 -1
- data/lib/chef/knife/role_show.rb +1 -1
- data/lib/chef/knife/search.rb +1 -1
- data/lib/chef/knife/ssh.rb +1 -1
- data/lib/chef/knife/ssl_check.rb +1 -1
- data/lib/chef/knife/ssl_fetch.rb +1 -1
- data/lib/chef/knife/supermarket_download.rb +1 -1
- data/lib/chef/knife/supermarket_install.rb +1 -1
- data/lib/chef/knife/supermarket_list.rb +1 -1
- data/lib/chef/knife/supermarket_search.rb +1 -1
- data/lib/chef/knife/supermarket_share.rb +1 -1
- data/lib/chef/knife/supermarket_show.rb +1 -1
- data/lib/chef/knife/supermarket_unshare.rb +1 -1
- data/lib/chef/knife/user_create.rb +1 -1
- data/lib/chef/knife/user_delete.rb +1 -1
- data/lib/chef/knife/user_dissociate.rb +1 -1
- data/lib/chef/knife/user_edit.rb +2 -2
- data/lib/chef/knife/user_invite_add.rb +1 -1
- data/lib/chef/knife/user_invite_list.rb +1 -1
- data/lib/chef/knife/user_invite_rescind.rb +1 -1
- data/lib/chef/knife/user_key_create.rb +1 -1
- data/lib/chef/knife/user_key_delete.rb +1 -1
- data/lib/chef/knife/user_key_edit.rb +1 -1
- data/lib/chef/knife/user_key_list.rb +1 -1
- data/lib/chef/knife/user_key_show.rb +1 -1
- data/lib/chef/knife/user_list.rb +1 -1
- data/lib/chef/knife/user_password.rb +1 -1
- data/lib/chef/knife/user_reregister.rb +1 -1
- data/lib/chef/knife/user_show.rb +1 -1
- data/lib/chef/knife/version.rb +2 -2
- data/lib/chef/knife/yaml_convert.rb +1 -1
- data/lib/chef/knife.rb +27 -11
- data/spec/data/bad-config.rb +1 -1
- data/spec/data/cb_version_cookbooks/tatft/README.rdoc +1 -1
- data/spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb +1 -1
- data/spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb +1 -1
- data/spec/data/cb_version_cookbooks/tatft/providers/lwp.rb +1 -1
- data/spec/data/cb_version_cookbooks/tatft/recipes/default.rb +1 -1
- data/spec/data/cb_version_cookbooks/tatft/resources/lwr.rb +1 -1
- data/spec/data/checksum/random.txt +1 -1
- data/spec/data/config.rb +0 -1
- data/spec/data/cookbooks/apache2/recipes/default.rb +1 -1
- data/spec/data/cookbooks/borken/recipes/default.rb +1 -1
- data/spec/data/cookbooks/borken/templates/default/borken.erb +1 -1
- data/spec/data/cookbooks/ignorken/recipes/default.rb +1 -1
- data/spec/data/cookbooks/ignorken/recipes/ignoreme.rb +1 -1
- data/spec/data/cookbooks/java/files/default/java.response +1 -1
- data/spec/data/cookbooks/name-mismatch-versionnumber/README.md +0 -1
- data/spec/data/cookbooks/name-mismatch-versionnumber/metadata.rb +0 -1
- data/spec/data/cookbooks/openldap/files/default/.ssh/id_rsa +1 -1
- data/spec/data/cookbooks/openldap/files/default/remotedir/remote_dir_file1.txt +1 -1
- data/spec/data/cookbooks/openldap/files/default/remotedir/remote_dir_file2.txt +1 -1
- data/spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file1.txt +1 -1
- data/spec/data/cookbooks/openldap/files/default/remotedir/remotesubdir/remote_subdir_file2.txt +1 -1
- data/spec/data/cookbooks/openldap/templates/default/openldap_stuff.conf.erb +1 -1
- data/spec/data/cookbooks/starter/files/sample.txt +1 -1
- data/spec/data/definitions/test.rb +1 -1
- data/spec/data/environment-config.rb +1 -1
- data/spec/data/incomplete-metadata-chef-repo/incomplete-metadata/README.md +0 -1
- data/spec/data/incomplete-metadata-chef-repo/incomplete-metadata/metadata.rb +0 -1
- data/spec/data/invalid-metadata-chef-repo/invalid-metadata/README.md +0 -1
- data/spec/data/kitchen/openldap/attributes/robinson.rb +1 -1
- data/spec/data/kitchen/openldap/definitions/drewbarrymore.rb +1 -1
- data/spec/data/kitchen/openldap/recipes/gigantor.rb +1 -1
- data/spec/data/kitchen/openldap/recipes/ignoreme.rb +1 -1
- data/spec/data/knife_subcommand/test_explicit_category.rb +1 -1
- data/spec/data/remote_directory_data/remote_dir_file.txt +1 -1
- data/spec/data/remote_directory_data/remote_subdirectory/remote_subdir_file.txt +1 -1
- data/spec/data/rubygems.org/nonexistent_gem-info +1 -1
- data/spec/data/run_context/cookbooks/circular-dep1/libraries/lib.rb +0 -1
- data/spec/data/run_context/cookbooks/circular-dep2/libraries/lib.rb +0 -1
- data/spec/data/run_context/cookbooks/dependency1/libraries/lib.rb +0 -1
- data/spec/data/run_context/cookbooks/dependency2/libraries/lib.rb +0 -1
- data/spec/data/run_context/cookbooks/test/recipes/default.rb +0 -2
- data/spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb +0 -1
- data/spec/data/sample_msu1.xml +0 -1
- data/spec/data/sample_msu2.xml +0 -1
- data/spec/data/sample_msu3.xml +0 -1
- data/spec/data/standalone_cookbook/Gemfile +1 -1
- data/spec/data/standalone_cookbook/recipes/default.rb +1 -1
- data/spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb +1 -1
- data/spec/data/templates/chef-seattle20160930-4388-1crv7ef.txt +1 -1
- data/spec/data/templates/chef-seattle20160930-4388-jjfoae.txt +1 -1
- data/spec/data/templates/chef-seattle20160930-4388-umeq2c.txt +1 -1
- data/spec/data/templates/seattle.txt +1 -1
- data/spec/functional/configure_spec.rb +1 -1
- data/spec/functional/cookbook_delete_spec.rb +1 -1
- data/spec/functional/exec_spec.rb +1 -1
- data/spec/functional/rehash_spec.rb +1 -1
- data/spec/functional/smoke_test.rb +1 -1
- data/spec/functional/ssh_spec.rb +1 -1
- data/spec/functional/version_spec.rb +1 -1
- data/spec/integration/chef_fs_data_store_spec.rb +1 -1
- data/spec/integration/chef_repo_path_spec.rb +1 -1
- data/spec/integration/chef_repository_file_system_spec.rb +1 -1
- data/spec/integration/chefignore_spec.rb +1 -1
- data/spec/integration/client_bulk_delete_spec.rb +1 -1
- data/spec/integration/client_create_spec.rb +1 -1
- data/spec/integration/client_delete_spec.rb +1 -1
- data/spec/integration/client_key_create_spec.rb +1 -1
- data/spec/integration/client_key_delete_spec.rb +1 -1
- data/spec/integration/client_key_list_spec.rb +1 -1
- data/spec/integration/client_key_show_spec.rb +1 -1
- data/spec/integration/client_list_spec.rb +1 -1
- data/spec/integration/client_show_spec.rb +1 -1
- data/spec/integration/commands_spec.rb +1 -1
- data/spec/integration/common_options_spec.rb +1 -1
- data/spec/integration/cookbook_api_ipv6_spec.rb +1 -1
- data/spec/integration/cookbook_bulk_delete_spec.rb +1 -1
- data/spec/integration/cookbook_download_spec.rb +1 -1
- data/spec/integration/cookbook_list_spec.rb +1 -1
- data/spec/integration/cookbook_show_spec.rb +1 -1
- data/spec/integration/cookbook_upload_spec.rb +1 -1
- data/spec/integration/data_bag_create_spec.rb +1 -1
- data/spec/integration/data_bag_delete_spec.rb +1 -1
- data/spec/integration/data_bag_edit_spec.rb +1 -1
- data/spec/integration/data_bag_from_file_spec.rb +1 -1
- data/spec/integration/data_bag_list_spec.rb +1 -1
- data/spec/integration/data_bag_show_spec.rb +1 -1
- data/spec/integration/delete_spec.rb +1 -1
- data/spec/integration/deps_spec.rb +1 -1
- data/spec/integration/diff_spec.rb +1 -1
- data/spec/integration/download_spec.rb +1 -1
- data/spec/integration/environment_compare_spec.rb +1 -1
- data/spec/integration/environment_create_spec.rb +1 -1
- data/spec/integration/environment_delete_spec.rb +1 -1
- data/spec/integration/environment_from_file_spec.rb +1 -1
- data/spec/integration/environment_list_spec.rb +1 -1
- data/spec/integration/environment_show_spec.rb +1 -1
- data/spec/integration/list_spec.rb +1 -1
- data/spec/integration/node_bulk_delete_spec.rb +1 -1
- data/spec/integration/node_create_spec.rb +1 -1
- data/spec/integration/node_delete_spec.rb +1 -1
- data/spec/integration/node_environment_set_spec.rb +1 -1
- data/spec/integration/node_from_file_spec.rb +1 -1
- data/spec/integration/node_list_spec.rb +1 -1
- data/spec/integration/node_run_list_add_spec.rb +1 -1
- data/spec/integration/node_run_list_remove_spec.rb +1 -1
- data/spec/integration/node_run_list_set_spec.rb +1 -1
- data/spec/integration/node_show_spec.rb +1 -1
- data/spec/integration/raw_spec.rb +1 -1
- data/spec/integration/redirection_spec.rb +1 -1
- data/spec/integration/role_bulk_delete_spec.rb +1 -1
- data/spec/integration/role_create_spec.rb +1 -1
- data/spec/integration/role_delete_spec.rb +1 -1
- data/spec/integration/role_from_file_spec.rb +1 -1
- data/spec/integration/role_list_spec.rb +1 -1
- data/spec/integration/role_show_spec.rb +1 -1
- data/spec/integration/search_node_spec.rb +1 -1
- data/spec/integration/serve_spec.rb +1 -1
- data/spec/integration/show_spec.rb +1 -1
- data/spec/integration/upload_spec.rb +1 -1
- data/spec/knife_spec_helper.rb +2 -2
- data/spec/support/chef_helpers.rb +1 -1
- data/spec/support/key_helpers.rb +1 -1
- data/spec/support/platforms/prof/gc.rb +1 -1
- data/spec/support/platforms/prof/win32.rb +1 -1
- data/spec/support/platforms/win32/spec_service.rb +1 -1
- data/spec/support/shared/functional/knife.rb +1 -1
- data/spec/support/shared/integration/integration_helper.rb +1 -1
- data/spec/support/shared/integration/knife_support.rb +1 -1
- data/spec/support/shared/unit/knife_shared.rb +1 -1
- data/spec/tiny_server.rb +1 -1
- data/spec/unit/application/knife_spec.rb +1 -1
- data/spec/unit/knife/bootstrap/chef_vault_handler_spec.rb +1 -1
- data/spec/unit/knife/bootstrap/client_builder_spec.rb +1 -1
- data/spec/unit/knife/bootstrap/templates/windows_presigned_url_spec.rb +1 -1
- data/spec/unit/knife/bootstrap/train_connector_spec.rb +1 -1
- data/spec/unit/knife/bootstrap_chef19_spec.rb +1 -1
- data/spec/unit/knife/bootstrap_spec.rb +1 -1
- data/spec/unit/knife/client_bulk_delete_spec.rb +1 -1
- data/spec/unit/knife/client_create_spec.rb +1 -1
- data/spec/unit/knife/configure_spec.rb +5 -3
- data/spec/unit/knife/cookbook_bulk_delete_spec.rb +1 -1
- data/spec/unit/knife/cookbook_metadata_from_file_spec.rb +2 -2
- data/spec/unit/knife/cookbook_show_spec.rb +1 -1
- data/spec/unit/knife/cookbook_upload_spec.rb +1 -1
- data/spec/unit/knife/core/bootstrap_context_spec.rb +1 -1
- data/spec/unit/knife/core/cookbook_scm_repo_spec.rb +1 -1
- data/spec/unit/knife/core/gem_glob_loader_spec.rb +1 -1
- data/spec/unit/knife/core/hashed_command_loader_spec.rb +1 -1
- data/spec/unit/knife/core/node_editor_spec.rb +1 -1
- data/spec/unit/knife/core/object_loader_spec.rb +1 -1
- data/spec/unit/knife/core/status_presenter_spec.rb +1 -1
- data/spec/unit/knife/core/subcommand_loader_spec.rb +1 -1
- data/spec/unit/knife/core/ui_spec.rb +1 -1
- data/spec/unit/knife/core/windows_bootstrap_context_chef19_spec.rb +1 -1
- data/spec/unit/knife/core/windows_bootstrap_context_spec.rb +1 -1
- data/spec/unit/knife/data_bag_create_spec.rb +1 -1
- data/spec/unit/knife/data_bag_edit_spec.rb +1 -1
- data/spec/unit/knife/data_bag_from_file_spec.rb +1 -1
- data/spec/unit/knife/data_bag_secret_options_spec.rb +1 -1
- data/spec/unit/knife/data_bag_show_spec.rb +1 -1
- data/spec/unit/knife/environment_create_spec.rb +1 -1
- data/spec/unit/knife/environment_delete_spec.rb +1 -1
- data/spec/unit/knife/environment_edit_spec.rb +1 -1
- data/spec/unit/knife/environment_from_file_spec.rb +1 -1
- data/spec/unit/knife/environment_list_spec.rb +1 -1
- data/spec/unit/knife/environment_show_spec.rb +1 -1
- data/spec/unit/knife/key_create_spec.rb +1 -1
- data/spec/unit/knife/key_delete_spec.rb +1 -1
- data/spec/unit/knife/key_edit_spec.rb +1 -1
- data/spec/unit/knife/key_helper.rb +1 -1
- data/spec/unit/knife/key_list_spec.rb +1 -1
- data/spec/unit/knife/key_show_spec.rb +1 -1
- data/spec/unit/knife/license_spec.rb +1 -1
- data/spec/unit/knife/node_bulk_delete_spec.rb +1 -1
- data/spec/unit/knife/node_delete_spec.rb +1 -1
- data/spec/unit/knife/node_edit_spec.rb +1 -1
- data/spec/unit/knife/node_from_file_spec.rb +1 -1
- data/spec/unit/knife/node_list_spec.rb +1 -1
- data/spec/unit/knife/node_policy_set_spec.rb +1 -1
- data/spec/unit/knife/node_run_list_add_spec.rb +1 -1
- data/spec/unit/knife/node_run_list_remove_spec.rb +1 -1
- data/spec/unit/knife/node_show_spec.rb +1 -1
- data/spec/unit/knife/org_create_spec.rb +1 -1
- data/spec/unit/knife/org_delete_spec.rb +1 -1
- data/spec/unit/knife/org_edit_spec.rb +1 -1
- data/spec/unit/knife/org_list_spec.rb +1 -1
- data/spec/unit/knife/org_show_spec.rb +1 -1
- data/spec/unit/knife/org_user_add_spec.rb +1 -1
- data/spec/unit/knife/raw_spec.rb +1 -1
- data/spec/unit/knife/role_bulk_delete_spec.rb +1 -1
- data/spec/unit/knife/role_create_spec.rb +1 -1
- data/spec/unit/knife/role_delete_spec.rb +1 -1
- data/spec/unit/knife/role_edit_spec.rb +1 -1
- data/spec/unit/knife/role_env_run_list_add_spec.rb +1 -1
- data/spec/unit/knife/role_env_run_list_clear_spec.rb +1 -1
- data/spec/unit/knife/role_env_run_list_remove_spec.rb +1 -1
- data/spec/unit/knife/role_env_run_list_replace_spec.rb +1 -1
- data/spec/unit/knife/role_env_run_list_set_spec.rb +1 -1
- data/spec/unit/knife/role_from_file_spec.rb +1 -1
- data/spec/unit/knife/role_list_spec.rb +1 -1
- data/spec/unit/knife/role_run_list_add_spec.rb +1 -1
- data/spec/unit/knife/role_run_list_clear_spec.rb +1 -1
- data/spec/unit/knife/role_run_list_remove_spec.rb +1 -1
- data/spec/unit/knife/role_run_list_replace_spec.rb +1 -1
- data/spec/unit/knife/role_run_list_set_spec.rb +1 -1
- data/spec/unit/knife/search_spec.rb +1 -1
- data/spec/unit/knife/ssh_spec.rb +1 -1
- data/spec/unit/knife/ssl_check_spec.rb +1 -1
- data/spec/unit/knife/ssl_fetch_spec.rb +1 -1
- data/spec/unit/knife/status_spec.rb +1 -1
- data/spec/unit/knife/supermarket_download_spec.rb +1 -1
- data/spec/unit/knife/supermarket_install_spec.rb +1 -1
- data/spec/unit/knife/supermarket_list_spec.rb +1 -1
- data/spec/unit/knife/supermarket_search_spec.rb +1 -1
- data/spec/unit/knife/supermarket_share_spec.rb +1 -1
- data/spec/unit/knife/supermarket_unshare_spec.rb +1 -1
- data/spec/unit/knife/user_create_spec.rb +1 -1
- data/spec/unit/knife/user_delete_spec.rb +1 -1
- data/spec/unit/knife/user_edit_spec.rb +1 -1
- data/spec/unit/knife/user_list_spec.rb +1 -1
- data/spec/unit/knife/user_password_spec.rb +1 -1
- data/spec/unit/knife/user_reregister_spec.rb +1 -1
- data/spec/unit/knife/user_show_spec.rb +1 -1
- data/spec/unit/knife/utils/licensing_handler_chef19_spec.rb +1 -1
- data/spec/unit/knife_spec.rb +63 -1
- metadata +15 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eeae2baecd778463ca309c0b348c3c531a2ff534603b7f1d3b5668a60cf460a6
|
|
4
|
+
data.tar.gz: 2ed971ba06ff2116df89ba4c20df43a93178eaf53bf80d74a9ddc4a400d49e59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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)
|
|
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
|
-
|
|
36
|
-
|
|
35
|
+
desc "Check Linting and code style."
|
|
36
|
+
task :style do
|
|
37
37
|
require "rubocop/rake_task"
|
|
38
|
+
require "cookstyle/chefstyle"
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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 "
|
|
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: [
|
|
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", "
|
|
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", "<
|
|
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/
|
|
55
|
-
"changelog_uri" => "https://github.com/chef/
|
|
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/
|
|
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)
|
|
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");
|
data/lib/chef/chef_fs/knife.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Author:: John Keiser (<jkeiser@chef.io>)
|
|
3
|
-
# Copyright:: Copyright (c)
|
|
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");
|
data/lib/chef/knife/acl_add.rb
CHANGED
|
@@ -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)
|
|
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");
|
data/lib/chef/knife/acl_base.rb
CHANGED
|
@@ -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)
|
|
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)
|
|
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)
|
|
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)
|
|
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");
|
data/lib/chef/knife/acl_show.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Author:: Steven Danna (steve@chef.io)
|
|
3
|
-
# Copyright:: Copyright (c)
|
|
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)
|
|
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)
|
|
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)
|
|
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");
|
data/lib/chef/knife/bootstrap.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Author:: Adam Jacob (<adam@chef.io>)
|
|
3
|
-
# Copyright:: Copyright (c)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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");
|
data/lib/chef/knife/configure.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Author:: Adam Jacob (<adam@chef.io>)
|
|
3
|
-
# Copyright:: Copyright (c)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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");
|
data/lib/chef/knife/core/ui.rb
CHANGED
|
@@ -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)
|
|
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/
|
|
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)
|
|
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)
|
|
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");
|