summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/bindinstance.py
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2014-02-26 11:06:29 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-02-26 12:44:56 +0100
commit090a9669d8457a47880554bfbd1d99d0584e24ff (patch)
treed84e95104c0cc1be9da46715b52bb4025c6cf270 /ipaserver/install/bindinstance.py
parent00d6b529c977c19fc5bb2e230da551ac01c79d79 (diff)
downloadfreeipa-090a9669d8457a47880554bfbd1d99d0584e24ff.tar.gz
freeipa-090a9669d8457a47880554bfbd1d99d0584e24ff.tar.xz
freeipa-090a9669d8457a47880554bfbd1d99d0584e24ff.zip
bindinstance: make sure zone manager is initialized in add_master_dns_records
Bind instance is configured using a short-circuited way when replica is set up. Make sure required properties are in place for that. https://fedorahosted.org/freeipa/ticket/4186 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r--ipaserver/install/bindinstance.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 7c0085c6b..908807a1c 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -831,6 +831,7 @@ class BindInstance(service.Service):
self.reverse_zone = reverse_zone
self.ca_configured = ca_configured
self.first_instance = False
+ self.zonemgr = 'hostmaster.%s' % self.domain
self.__add_self()
self.__add_ipa_ca_record()