1c66226 Don't limit role-find by hostname when searching for last KRA

1 file Authored by rcritten 2 years ago, Committed by frenaud 2 years ago,
    Don't limit role-find by hostname when searching for last KRA
    
    The "is this the last KRA" test did a role-find including the
    current server. This skewed the result if the server to be
    removed has a KRA installed, it would always return "not allowed"
    because len(roles) == 1 and the name matched, regardless of
    whether other servers also provided a KRA.
    
    https://pagure.io/freeipa/issue/8397
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    
        
file modified
+0 -1