Method: Chef::Application#check_license_acceptance

Defined in:
lib/chef/application.rb

#check_license_acceptanceObject



249
250
251
252
253
254
255
256
# File 'lib/chef/application.rb', line 249

def check_license_acceptance
  LicenseAcceptance::Acceptor.check_and_persist!(
    "infra-client",
    Chef::VERSION.to_s,
    logger: logger,
    provided: Chef::Config[:chef_license]
  )
end