Remove unused method is_master of CAInstance.

Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
Jan Cholasta 2014-03-25 16:10:55 +01:00 committed by Petr Viktorin
parent cf6edf4a92
commit 0497d163d9

View File

@ -1543,21 +1543,6 @@ class CAInstance(service.Service):
return True return True
return False return False
def is_master(self):
"""
There are some tasks that are only done on a single dogtag master.
By default this is the first one installed. Use this to determine if
that is the case.
If users have changed their topology so the initial master is either
gone or no longer performing certain duties then it is their
responsibility to handle changes on upgrades.
"""
master = installutils.get_directive(
self.dogtag_constants.CS_CFG_PATH, 'subsystem.select', '=')
return master == 'New'
def is_renewal_master(self): def is_renewal_master(self):
if not self.admin_conn: if not self.admin_conn:
self.ldap_connect() self.ldap_connect()