summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2014-03-25 16:10:55 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-03-25 16:54:56 +0100
commit0497d163d9665ed429615952eb12f17fa9ea0fe9 (patch)
tree2c1fec9b00171a26c05329fb064dad075bcd6c5e
parentcf6edf4a92f030aea84187fbf3c1e2407a42b159 (diff)
downloadfreeipa-0497d163d9665ed429615952eb12f17fa9ea0fe9.tar.gz
freeipa-0497d163d9665ed429615952eb12f17fa9ea0fe9.tar.xz
freeipa-0497d163d9665ed429615952eb12f17fa9ea0fe9.zip
Remove unused method is_master of CAInstance.
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
-rw-r--r--ipaserver/install/cainstance.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
index 0b93b7234..f52870424 100644
--- a/ipaserver/install/cainstance.py
+++ b/ipaserver/install/cainstance.py
@@ -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()