Blob Blame History Raw
From ea96ad03312cecad4ff6853aafc30d3cf2c618a9 Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <abokovoy@redhat.com>
Date: Wed, 26 Feb 2014 11:06:29 +0200
Subject: [PATCH 47/51] 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>
---
 ipaserver/install/bindinstance.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 6d5a1d44d30c89278c24fe7ab5278355cb65b0b4..4dc4103f7cb94877d0652f0094b41feec56cee94 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -828,6 +828,7 @@ def add_master_dns_records(self, fqdn, ip_address, realm_name, domain_name,
         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()
-- 
1.8.5.3