diff options
author | Martin Basti <mbasti@redhat.com> | 2015-07-16 16:26:55 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-07-17 16:47:18 +0200 |
commit | 58d0d335a4591398102f02c62a15290d64806cc4 (patch) | |
tree | beff4f5dca4e9125b77b6de6b7fdad66587cebd8 /ipaserver | |
parent | 2cd77df8f4eea0534b64aa703b59eecc4fef874d (diff) | |
download | freeipa-58d0d335a4591398102f02c62a15290d64806cc4.tar.gz freeipa-58d0d335a4591398102f02c62a15290d64806cc4.tar.xz freeipa-58d0d335a4591398102f02c62a15290d64806cc4.zip |
Allow value 'no' for replica-certify-all attr in abort-clean-ruv subcommand
--force option set replica-certify-all to 'no' during abort-clean-ruv
subcommand
https://fedorahosted.org/freeipa/ticket/4988
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/replication.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index 0f420106e..e9af88dc4 100644 --- a/ipaserver/install/replication.py +++ b/ipaserver/install/replication.py @@ -1451,7 +1451,7 @@ class ReplicationManager(object): wait_for_task(self.conn, dn) - def abortcleanallruv(self, replicaId): + def abortcleanallruv(self, replicaId, force=False): """ Create a task to abort a CLEANALLRUV operation. """ @@ -1465,6 +1465,7 @@ class ReplicationManager(object): 'replica-id': [replicaId], 'objectclass': ['top', 'extensibleObject'], 'cn': ['abort %d' % replicaId], + 'replica-certify-all': ['no'] if force else ['yes'], } ) try: |