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/providers/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipsilon/providers/common.py') diff --git a/ipsilon/providers/common.py b/ipsilon/providers/common.py index b842b39..c4d6658 100644 --- a/ipsilon/providers/common.py +++ b/ipsilon/providers/common.py @@ -105,7 +105,7 @@ class ProviderInstaller(object): self.ptype = 'provider' self.name = None - def unconfigure(self, opts): + def unconfigure(self, opts, changes): return def install_args(self, group): @@ -114,7 +114,7 @@ class ProviderInstaller(object): def validate_args(self, args): return - def configure(self, opts): + def configure(self, opts, changes): raise NotImplementedError -- cgit