diff options
author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2015-05-08 18:12:06 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2015-05-08 16:34:02 -0400 |
commit | 485baf6ee7a315d1af1086fe5b5da8cff6c4ba37 (patch) | |
tree | 80620b1ccf7bcfa052122559a9dddab638420bf4 /ipsilon/providers/common.py | |
parent | 9b7f9756d89f0a7908d9b7323f682f34b37d200e (diff) | |
download | ipsilon.git-485baf6ee7a315d1af1086fe5b5da8cff6c4ba37.tar.gz ipsilon.git-485baf6ee7a315d1af1086fe5b5da8cff6c4ba37.tar.xz ipsilon.git-485baf6ee7a315d1af1086fe5b5da8cff6c4ba37.zip |
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 <puiterwijk@redhat.com>
Reviewed-by: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'ipsilon/providers/common.py')
-rw-r--r-- | ipsilon/providers/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |