mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove unused method is_master of CAInstance.
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
parent
cf6edf4a92
commit
0497d163d9
@ -1543,21 +1543,6 @@ class CAInstance(service.Service):
|
||||
return True
|
||||
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):
|
||||
if not self.admin_conn:
|
||||
self.ldap_connect()
|
||||
|
Loading…
Reference in New Issue
Block a user