diff options
author | Simo Sorce <simo@redhat.com> | 2015-05-08 13:39:29 -0400 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-10-15 14:24:33 +0200 |
commit | 463dda30679da9ac5eea5683984002989965e2a5 (patch) | |
tree | e1e6c421598e7586e47bb7d3377a19ae3f2d6d44 /ipaserver/install/server/install.py | |
parent | ba22999cefb57f344acdc63a553d569ab6249099 (diff) | |
download | freeipa-463dda30679da9ac5eea5683984002989965e2a5.tar.gz freeipa-463dda30679da9ac5eea5683984002989965e2a5.tar.xz freeipa-463dda30679da9ac5eea5683984002989965e2a5.zip |
Add ipa-custodia service
Add a customized Custodia daemon and enable it after installation.
Generates server keys and loads them in LDAP autonomously on install
or update.
Provides client code classes too.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/server/install.py')
-rw-r--r-- | ipaserver/install/server/install.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py index 72f6e4d8d..e936b6798 100644 --- a/ipaserver/install/server/install.py +++ b/ipaserver/install/server/install.py @@ -33,7 +33,7 @@ import ipaclient.ntpconf from ipaserver.install import ( bindinstance, ca, cainstance, certs, dns, dsinstance, httpinstance, installutils, kra, krbinstance, memcacheinstance, ntpinstance, - otpdinstance, replication, service, sysupgrade) + otpdinstance, custodiainstance, replication, service, sysupgrade) from ipaserver.install.installutils import ( IPA_MODULES, BadHostError, get_fqdn, get_server_ip_address, is_ipa_configured, load_pkcs12, read_password, verify_fqdn, @@ -814,6 +814,11 @@ def install(installer): otpd.create_instance('OTPD', host_name, dm_password, ipautil.realm_to_suffix(realm_name)) + custodia = custodiainstance.CustodiaInstance() + custodia.create_instance('KEYS', host_name, dm_password, + ipautil.realm_to_suffix(realm_name), + realm_name) + # Create a HTTP instance http = httpinstance.HTTPInstance(fstore) if options.http_cert_files: @@ -1078,6 +1083,7 @@ def uninstall(installer): dsinstance.DsInstance(fstore=fstore).uninstall() if _server_trust_ad_installed: adtrustinstance.ADTRUSTInstance(fstore).uninstall() + custodiainstance.CustodiaInstance().uninstall() memcacheinstance.MemcacheInstance().uninstall() otpdinstance.OtpdInstance().uninstall() tasks.restore_network_configuration(fstore, sstore) |