Added a kdestroy call to clean ccache at master/client uninstallation

https://fedorahosted.org/freeipa/ticket/5741

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Oleg Fayans 2016-03-30 12:34:12 +02:00 committed by Martin Basti
parent 49c015b2ed
commit f836ee7b9c

View File

@ -171,6 +171,8 @@ def fix_apache_semaphores(master):
def unapply_fixes(host): def unapply_fixes(host):
restore_files(host) restore_files(host)
restore_hostname(host) restore_hostname(host)
# Clean ccache to prevent issues like 5741
host.run_command(['kdestroy', '-A'])
# Clean up the test directory # Clean up the test directory
host.run_command(['rm', '-rvf', host.config.test_dir]) host.run_command(['rm', '-rvf', host.config.test_dir])