def qdevice_destroy(): """ delete qdevice configuration on local host """ try: if qdevice_initialized(): shutil.rmtree(settings.corosync_qdevice_net_server_certs_dir) except EnvironmentError as e: raise LibraryError(reports.qdevice_destroy_error(__model, e.strerror))
def qdevice_destroy(): """ delete qdevice configuration on local host """ try: shutil.rmtree(settings.corosync_qdevice_net_server_certs_dir) except EnvironmentError as e: raise LibraryError( reports.qdevice_destroy_error(__model, e.strerror) )
def client_destroy(): """ delete qdevice client config files on local host """ try: if client_initialized(): shutil.rmtree(settings.corosync_qdevice_net_client_certs_dir) except EnvironmentError as e: raise LibraryError( reports.qdevice_destroy_error(__model, e.strerror) )