diff options
author | tyler-ball <tball@chef.io> | 2019-04-18 15:27:54 -0600 |
---|---|---|
committer | Mark Anderson <mark@chef.io> | 2019-05-03 21:40:19 -0700 |
commit | db12e959e88aae92b9414a7637007ce7263fed1a (patch) | |
tree | 08169d58c8ec86e3b0675dc4aff84e33dd5ca889 /lib/chef/application | |
parent | f02fe6b3ad2711f7e84f310bf19128b74fc3cd0e (diff) | |
download | chef-db12e959e88aae92b9414a7637007ce7263fed1a.tar.gz |
knife bootstrap is only knife command to have license acceptance flow
Because in order to run `chef-client` on the bootstrapped node the user
needs to have accepted the licenses locally. Right now we have commented
out this code because we will enforce it in a different PR.
Signed-off-by: tyler-ball <tball@chef.io>
Diffstat (limited to 'lib/chef/application')
-rw-r--r-- | lib/chef/application/knife.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/application/knife.rb b/lib/chef/application/knife.rb index cc4e66c52f..52d447891f 100644 --- a/lib/chef/application/knife.rb +++ b/lib/chef/application/knife.rb @@ -21,10 +21,8 @@ require "mixlib/log" require "ohai/config" require "chef/monkey_patches/net_http.rb" require "chef/dist" -require "license_acceptance/cli_flags/mixlib_cli" class Chef::Application::Knife < Chef::Application - include LicenseAcceptance::CLIFlags::MixlibCLI NO_COMMAND_GIVEN = "You need to pass a sub-command (e.g., knife SUB-COMMAND)\n".freeze @@ -161,7 +159,6 @@ class Chef::Application::Knife < Chef::Application Mixlib::Log::Formatter.show_time = false validate_and_parse_options quiet_traps - check_license_acceptance Chef::Knife.run(ARGV, options) exit 0 end |