class ChefCLI::Command::Install

def run(params = [])

def run(params = [])
  return 1 unless apply_params!(params)
  # Force config file to be loaded. We don't use the configuration
  # directly, but the user may have SSL configuration options that they
  # need to talk to a private supermarket (e.g., trusted_certs or
  # ssl_verify_mode)
  chef_config
  installer.run
  0
rescue PolicyfileServiceError => e
  handle_error(e)
  1
end