diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-04-02 12:26:12 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-04-04 12:07:00 +0200 |
commit | 81b5adee804cc3bdf28f3019adf34df4feef3e1c (patch) | |
tree | 629e41198aba5aba873cedaea2aa4a9c49230625 /ipatests/test_integration/tasks.py | |
parent | 34fc447c00189d53ccf44184cfd5ed48cde6bf86 (diff) | |
download | freeipa-81b5adee804cc3bdf28f3019adf34df4feef3e1c.tar.gz freeipa-81b5adee804cc3bdf28f3019adf34df4feef3e1c.tar.xz freeipa-81b5adee804cc3bdf28f3019adf34df4feef3e1c.zip |
ipatests: Make sure that remnants of PKI are removed
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipatests/test_integration/tasks.py')
-rw-r--r-- | ipatests/test_integration/tasks.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 0d916ca46..a86210cfb 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -445,6 +445,15 @@ def uninstall_master(host): host.run_command(['ipa-server-install', '--uninstall', '-U'], raiseonerr=False) + host.run_command(['pkidestroy', '-s', 'CA', '-i', 'pki-tomcat'], + raiseonerr=False) + host.run_command(['rm', '-rf', + '/var/log/pki/pki-tomcat', + '/etc/sysconfig/pki-tomcat', + '/etc/sysconfig/pki/tomcat/pki-tomcat', + '/var/lib/pki/pki-tomcat', + '/etc/pki/pki-tomcat'], + raiseonerr=False) unapply_fixes(host) |