diff options
| author | Jan Cholasta <jcholast@redhat.com> | 2015-12-09 08:18:21 +0100 |
|---|---|---|
| committer | Tomas Babej <tbabej@redhat.com> | 2015-12-11 18:44:13 +0100 |
| commit | 8d7f67e08c8320712321501451e4a444b89a4423 (patch) | |
| tree | ced31cce2bf2c83a8d1e3106d6b72f8b5c9bff80 /ipaserver/install/plugins | |
| parent | 00f591d4e93cfe1f6f020a1c708a3d90b5b34288 (diff) | |
| download | freeipa-8d7f67e08c8320712321501451e4a444b89a4423.tar.gz freeipa-8d7f67e08c8320712321501451e4a444b89a4423.tar.xz freeipa-8d7f67e08c8320712321501451e4a444b89a4423.zip | |
replica install: add remote connection check over API
Add server_conncheck command which calls ipa-replica-conncheck --replica
over oddjob.
https://fedorahosted.org/freeipa/ticket/5497
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipaserver/install/plugins')
| -rw-r--r-- | ipaserver/install/plugins/adtrust.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ipaserver/install/plugins/adtrust.py b/ipaserver/install/plugins/adtrust.py index 45bcc5f2f..5510dfd36 100644 --- a/ipaserver/install/plugins/adtrust.py +++ b/ipaserver/install/plugins/adtrust.py @@ -164,26 +164,5 @@ class update_default_trust_view(Updater): return False, [update] - -class update_oddjobd_for_adtrust(Updater): - """ - Enables and starts oddjobd daemon if ipa-adtrust-install has been run - on this system. - """ - - def execute(self, **options): - adtrust_is_enabled = self.api.Command['adtrust_is_enabled']()['result'] - - if adtrust_is_enabled: - self.log.debug('Try to enable and start oddjobd') - sstore = sysrestore.StateFile(paths.SYSRESTORE) - installutils.enable_and_start_oddjobd(sstore) - else: - self.log.debug('ADTrust not configured on this server, do not ' - 'start and enable oddjobd') - - return False, [] - api.register(update_default_range) api.register(update_default_trust_view) -api.register(update_oddjobd_for_adtrust) |
