debmonitor¶
Debmonitor module.
-
class
spicerack.debmonitor.
Debmonitor
(host, cert, key, dry_run=True)[source]¶ Bases:
object
Class to interact with a Debmonitor website.
-
host_delete
(hostname)[source]¶ Remove a host and all its packages from Debmonitor.
Parameters: host (str) -- the FQDN of the host to remove from Debmonitor. Raises: spicerack.debmonitor.DebmonitorError
-- on failure to delete. It doesn't raise if the host is already absent in Debmonitor.
-
-
exception
spicerack.debmonitor.
DebmonitorError
[source]¶ Bases:
spicerack.exceptions.SpicerackError
Custom exception class for errors of the Debmonitor class.