bc2e338 replicainstall: move common checks to common_check()

1 file Authored by stlaz 7 years ago, Committed by jcholast 7 years ago,
    replicainstall: move common checks to common_check()
    
    install_check() and promote_check() have some common checks that can
    be safely moved to common grounds.
    
    https://fedorahosted.org/freeipa/ticket/6392
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>