e3d134e ipatests/pytest_ipa/integration/tasks.py: Configure firewall

Authored and Committed by twoerner 5 years ago
    ipatests/pytest_ipa/integration/tasks.py: Configure firewall
    
    install_master: Enable firewall services freeipa-ldap and freeipa-ldaps by
    default, enable dns if setup_dns is set and enable freeipa-trust if
    setup_adtrust is set. The services are enabled after the master has been
    successfully installed.
    
    install_replica: Enable firewall services freeipa-ldap and freeipa-ldaps
    by default, enable dns if setup_dns is set and enable freeipa-trust if
    setup_adtrust is set. The services are enabled before the replica gets
    installed and disabled if the installation failed.
    
    install_adtrust: Enable firewall service freeipa-trust after
    ipa-adtrust-install has been called.
    
    uninstall_master: Disable services freeipa-ldap, freeipa-ldaps,
    freeipa-trust and dns after ipa-server-install --uninstall -U has been
    called.
    
    install_dns: Enable firewall service dns after ipa-dns-install has been
    called.
    
    See: https://pagure.io/freeipa/issue/7755
    Signed-off-by: Thomas Woerner <twoerner@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Armando Neto <abiagion@redhat.com>