def dlrn_http_factory(host, config_file=None, link_name=None, logger=getLogger()):
    '\n    Create a DlrnData instance based on a host.\n\n    :param host: A host name string to build instances\n    :param config_file: A dlrn config file(s) to use in addition to\n                        the default.\n    :param link_name: A dlrn symlink to use. This overrides the config files\n                      link parameter.\n    :param logger: An atkinson logger to use. Default is the base logger.\n    :return: A DlrnData instance\n    '
    manager = None
    files = ['dlrn.yml']
    if (config_file is not None):
        if isinstance(config_file, list):
            files.extend(config_file)
        else:
            files.append(config_file)
    local_path = os.path.realpath(os.path.dirname(__file__))
    manager = ConfigManager(filenames=files, paths=local_path)
    if (manager is None):
        return None
    config = manager.config
    if (host not in config):
        return None
    link = config[host]['link']
    if (link_name is not None):
        link = link_name
    return DlrnHttpData(config[host]['url'], config[host]['release'], link_name=link, logger=logger)
Create a DlrnData instance based on a host.

:param host: A host name string to build instances
:param config_file: A dlrn config file(s) to use in addition to
                    the default.
:param link_name: A dlrn symlink to use. This overrides the config files
                  link parameter.
:param logger: An atkinson logger to use. Default is the base logger.
:return: A DlrnData instance
def dlrn_http_factory(host, config_file=None, link_name=None, logger=getLogger()):
    '\n    Create a DlrnData instance based on a host.\n\n    :param host: A host name string to build instances\n    :param config_file: A dlrn config file(s) to use in addition to\n                        the default.\n    :param link_name: A dlrn symlink to use. This overrides the config files\n                      link parameter.\n    :param logger: An atkinson logger to use. Default is the base logger.\n    :return: A DlrnData instance\n    '
    manager = None
    files = ['dlrn.yml']
    if (config_file is not None):
        if isinstance(config_file, list):
            files.extend(config_file)
        else:
            files.append(config_file)
    local_path = os.path.realpath(os.path.dirname(__file__))
    manager = ConfigManager(filenames=files, paths=local_path)
    if (manager is None):
        return None
    config = manager.config
    if (host not in config):
        return None
    link = config[host]['link']
    if (link_name is not None):
        link = link_name
    return DlrnHttpData(config[host]['url'], config[host]['release'], link_name=link, logger=logger)