def configure_cluster(cluster, dataset_backend_configuration, provider, logging_config=None):
 return sequence([configure_control_node(cluster, provider, logging_config), parallel([sequence([configure_node(cluster, node, certnkey, dataset_backend_configuration, provider, logging_config)]) for (certnkey, node) in zip(cluster.certificates.nodes, cluster.agent_nodes)])])

def configure_cluster ( cluster , dataset_backend_configuration , provider , logging_config = None ) : return sequence ( [ configure_control_node ( cluster , provider , logging_config ) , parallel ( [ sequence ( [ configure_node ( cluster , node , certnkey , dataset_backend_configuration , provider , logging_config ) ] ) for ( certnkey , node ) in zip ( cluster . certificates . nodes , cluster . agent_nodes ) ] ) ] )
configure flocker-control .