Method: Chef::Application#run

Defined in:
lib/chef/application.rb

#run(enforce_license: false) ⇒ Object

Get this party started



65
66
67
68
69
70
71
72
73
# File 'lib/chef/application.rb', line 65

def run(enforce_license: false)
  setup_signal_handlers
  reconfigure
  setup_application
  check_license_acceptance if enforce_license
  Context.switch_to_workstation_entitlement if Context.test_kitchen_context?
  Chef::Licensing.fetch_and_persist if ChefUtils::Dist::Infra::EXEC == "chef"
  run_application
end