def read_magnum_cluster_template(client, cluster):
    """Get the actual template associated with the one specified in the given Magnum
    cluster resource.

    Args:
        client (MagnumV1Client): the Magnum client to use to connect to the Magnum
            service.
        cluster (krake.data.openstack.MagnumCluster): the template given is the one
            specified by this Magnum cluster.

    Returns:
        magnumclient.v1.cluster_templates.ClusterTemplate

    """
    return client.cluster_templates.get(cluster.status.template)