diff options
author | Martin Basti <mbasti@redhat.com> | 2015-03-18 15:46:00 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-04-14 19:25:47 +0200 |
commit | f24f614396de809350b54423ca128b478601a64e (patch) | |
tree | 7284b80ce5c44ef57f507092e7be312ea082aa61 /install/tools | |
parent | cc19b5a76a37d1fb87deb45d9cbfc71472a99fa4 (diff) | |
download | freeipa-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 'install/tools')
-rw-r--r-- | install/tools/man/ipa-ldap-updater.1 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/install/tools/man/ipa-ldap-updater.1 b/install/tools/man/ipa-ldap-updater.1 index 83da26d5d..ce272ea26 100644 --- a/install/tools/man/ipa-ldap-updater.1 +++ b/install/tools/man/ipa-ldap-updater.1 @@ -69,7 +69,11 @@ A few rules: 6. If a DN does exist the default values are skipped 7. Only the first rule on a line is respected -Adds and updates are applied from shortest to longest length of DN. Deletes are done from longest to shortest. +ipa-ldap-updater allows to execute update plugins. +Plugins to be executed are specified with following keyword, in update files: + * plugin: name of plugin + +This keyword is not bounded to DN, and plugin names have to be registered in API. Additionally, ipa-ldap-updater can update the schema based on LDIF files. Any missing object classes and attribute types are added, and differing ones are updated to match the LDIF file. @@ -81,11 +85,8 @@ Schema files should be in LDIF format, and may only specify attributeTypes and o \fB\-d\fR, \fB\-\-debug\fR Enable debug logging when more verbose output is needed .TP -\fB\-p\fR, \fB\-\-plugins\fR -Execute update plugins as well as any update files. There is no way to execute only the plugins. -.TP \fB\-u\fR, \fB\-\-upgrade\fR -Upgrade an installed server in offline mode (implies \-\-ldapi, \-\-plugins, and \-\-schema) +Upgrade an installed server in offline mode (implies \-\-schema) .TP \fB\-s\fR, \fB\-\-schema\fR Also update the LDAP schema. If no \-\-schema-file is specified, update to the built-in IPA schema. |