From 485baf6ee7a315d1af1086fe5b5da8cff6c4ba37 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 8 May 2015 18:12:06 +0200 Subject: Implement change registration This will make it possible for plugins to register what they have changed during installation, so that they can revert any changes they made during the uninstallation. https://fedorahosted.org/ipsilon/ticket/67 Signed-off-by: Patrick Uiterwijk Reviewed-by: Rob Crittenden --- ipsilon/helpers/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipsilon/helpers/common.py') diff --git a/ipsilon/helpers/common.py b/ipsilon/helpers/common.py index d3f7125..bdaa82f 100644 --- a/ipsilon/helpers/common.py +++ b/ipsilon/helpers/common.py @@ -12,7 +12,7 @@ class EnvHelpersInstaller(object): self.ptype = 'helper' self.name = None - def unconfigure(self, opts): + def unconfigure(self, opts, changes): return def install_args(self, group): @@ -21,7 +21,7 @@ class EnvHelpersInstaller(object): def validate_args(self, args): return - def configure_server(self, opts): + def configure_server(self, opts, changes): raise NotImplementedError -- cgit