summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/server/install.py
diff options
context:
space:
mode:
authorStanislav Laznicka <slaznick@redhat.com>2016-10-18 10:16:29 +0200
committerJan Cholasta <jcholast@redhat.com>2016-11-11 12:13:56 +0100
commit7279ef1d0f28dae9f3203362ca9e2245e56e111f (patch)
tree7a8fa7a7678d6443c5e9c3d9f92cfe45b68b6cca /ipaserver/install/server/install.py
parent83e72d704630b9cc5a1f713dfee30601950eb5e9 (diff)
downloadfreeipa-7279ef1d0f28dae9f3203362ca9e2245e56e111f.tar.gz
freeipa-7279ef1d0f28dae9f3203362ca9e2245e56e111f.tar.xz
freeipa-7279ef1d0f28dae9f3203362ca9e2245e56e111f.zip
Moved update of DNA plugin among update plugins
To make the code more general, moved the update_dna_shared_config among other update plugins. Bugfix: DNA shared config connection protocol was compared to a method string which would result in a try to always update it even if there was no need to. https://fedorahosted.org/389/ticket/48373 causes that two shared DNA config entries are created instead of one. https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/server/install.py')
-rw-r--r--ipaserver/install/server/install.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py
index 34d6793d1..b5826f3f9 100644
--- a/ipaserver/install/server/install.py
+++ b/ipaserver/install/server/install.py
@@ -869,10 +869,6 @@ def install(installer):
service.print_msg("Restarting the web server")
http.restart()
- # update DNA shared config entry is done as far as possible
- # from restart to avoid waiting for its creation
- ds.update_dna_shared_config()
-
# Set the admin user kerberos password
ds.change_admin_password(admin_password)