summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-03-18 15:46:00 +0100
committerPetr Vobornik <pvoborni@redhat.com>2015-04-14 19:25:47 +0200
commitf24f614396de809350b54423ca128b478601a64e (patch)
tree7284b80ce5c44ef57f507092e7be312ea082aa61 /ipalib/frontend.py
parentcc19b5a76a37d1fb87deb45d9cbfc71472a99fa4 (diff)
downloadfreeipa-f24f614396de809350b54423ca128b478601a64e.tar.gz
freeipa-f24f614396de809350b54423ca128b478601a64e.tar.xz
freeipa-f24f614396de809350b54423ca128b478601a64e.zip
Server Upgrade: specify order of plugins in update files
* add 'plugin' directive * specify plugins order in update files * remove 'run plugins' options * use ldapupdater API instance in plugins * add update files representing former PreUpdate and PostUpdate order of plugins https://fedorahosted.org/freeipa/ticket/4904 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index 36d9ab2d4..19190c378 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -1371,7 +1371,7 @@ class Method(Attribute, Command):
@register.base()
-class Updater(Method):
+class Updater(Plugin):
"""
An LDAP update with an associated object (always update).
@@ -1397,8 +1397,8 @@ class Updater(Method):
>>> api.Updater.my_update # doctest:+ELLIPSIS
ipalib.frontend.my_update()
"""
- def __init__(self):
- super(Updater, self).__init__()
+ def execute(self, **options):
+ raise NotImplementedError('%s.execute()' % self.name)
def __call__(self, **options):
self.debug(