class ChefConfig::WorkstationConfigLoader

def load

def load
  # Ignore it if there's no explicit_config_file and can't find one at a
  # default path.
  return false if config_location.nil?
  if explicit_config_file && !path_exists?(config_location)
    raise ChefConfig::ConfigurationError, "Specified config file #{config_location} does not exist"
  end
  # Have to set Config.config_file b/c other config is derived from it.
  Config.config_file = config_location
  read_config(IO.read(config_location), config_location)
end