From 0497d163d9665ed429615952eb12f17fa9ea0fe9 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Tue, 25 Mar 2014 16:10:55 +0100 Subject: Remove unused method is_master of CAInstance. Reviewed-By: Petr Viktorin --- ipaserver/install/cainstance.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'ipaserver') 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() -- cgit