def test_05_reinstall_cds():
    '''
    add one of the CDSs again by reinstalling it
    '''
    # choose a random CDS hostname from the list
    cds = random.choice(CDS_HOSTNAMES)
    status = RHUICLI.reinstall(RHUA, "cds", cds)
    nose.tools.ok_(status,
                   msg="unexpected %s reinstallation status: %s" %
                   (cds, status))
def test_05_reinstall_hap():
    '''
    add the HAProxy Load-balancer again by reinstalling it
    '''
    status = RHUICLI.reinstall(RHUA, "haproxy", HA_HOSTNAME)
    nose.tools.ok_(status, msg="unexpected reinstallation status: %s" % status)