diff options
author | Jan Cholasta <jcholast@redhat.com> | 2014-03-25 16:10:55 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-03-25 16:54:56 +0100 |
commit | 0497d163d9665ed429615952eb12f17fa9ea0fe9 (patch) | |
tree | 2c1fec9b00171a26c05329fb064dad075bcd6c5e /ipaserver | |
parent | cf6edf4a92f030aea84187fbf3c1e2407a42b159 (diff) | |
download | freeipa-0497d163d9665ed429615952eb12f17fa9ea0fe9.tar.gz freeipa-0497d163d9665ed429615952eb12f17fa9ea0fe9.tar.xz freeipa-0497d163d9665ed429615952eb12f17fa9ea0fe9.zip |
Remove unused method is_master of CAInstance.
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/cainstance.py | 15 |
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() |