def METHOD_NAME(config_file, settings):
    write_setting_or_remove(
        config_file,
        settings["c_cluster_name"],
        "cluster_name",
        "c_cluster_name",
    )
    #
    write_setting_or_remove(
        config_file,
        settings["c_discovery_token"],
        "discovery_token",
        "c_discovery_token",
    )
    #
    if settings["c_members"] is not None:
        settings["c_members"] = "[" + settings["c_members"] + "]"
    write_setting_or_remove(
        config_file,
        settings["c_members"],
        "cluster_members",
        "c_members",
    )
    #
    write_setting_or_remove(
        config_file,
        settings["c_ca_path"],
        "ssl_cafile_path",
        "c_ca_path",
    )
    #
    write_setting_or_remove(
        config_file,
        settings["c_cert_path"],
        "ssl_certfile_path",
        "c_cert_path",
    )
    #
    write_setting_or_remove(
        config_file,
        settings["c_key_path"],
        "ssl_keyfile_path",
        "c_key_path",
    )
    if settings["c_ca_path"] is None:
        remove_lines_from_file(
            config_file,
            "ssl_password: ${SSL_PASSWORD}",
            True,
        )
    #
    replace_str_in_file(
        config_file,
        "c_ttl_seconds",
        f"{settings['c_ttl_seconds']}",
    )