From 7ad204c13898245cdea5acfa90be83e767276994 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 4 Feb 2015 10:58:14 +0100 Subject: Add uninstallation support. As part of this, made all plugins use a Installer baseclass. https://fedorahosted.org/ipsilon/ticket/38 Signed-off-by: Patrick Uiterwijk Reviewed-by: Rob Crittenden --- ipsilon/helpers/common.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ipsilon/helpers/common.py') diff --git a/ipsilon/helpers/common.py b/ipsilon/helpers/common.py index e2839bf..dcbde2b 100644 --- a/ipsilon/helpers/common.py +++ b/ipsilon/helpers/common.py @@ -21,6 +21,22 @@ from ipsilon.util.plugin import PluginInstaller FACILITY = 'environment_helpers' +class EnvHelpersInstaller(object): + def __init__(self): + self.facility = FACILITY + self.ptype = 'helper' + self.name = None + + def unconfigure(self, opts): + return + + def install_args(self, group): + raise NotImplementedError + + def configure_server(self, opts): + raise NotImplementedError + + class EnvHelpersInstall(object): def __init__(self): -- cgit