summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/service.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-03-26 18:06:50 +0100
committerRob Crittenden <rcritten@redhat.com>2013-04-15 16:55:27 -0400
commit4e3c1051d029363a099312eac48f337244a5610c (patch)
tree81574e96640ac9743ab7088af724233944d9cb62 /ipaserver/install/service.py
parentfe00788bb439d461e1429ffbd94e42d615e2ddf9 (diff)
downloadfreeipa.git-4e3c1051d029363a099312eac48f337244a5610c.tar.gz
freeipa.git-4e3c1051d029363a099312eac48f337244a5610c.tar.xz
freeipa.git-4e3c1051d029363a099312eac48f337244a5610c.zip
Uninstall selfsign CA on upgrade
This will convert a master with a selfsign CA to a CA-less one in ipa-upgradeconfig. The relevant files are left in place and can be used to manage certs manually. Part of the work for: https://fedorahosted.org/freeipa/ticket/3494
Diffstat (limited to 'ipaserver/install/service.py')
-rw-r--r--ipaserver/install/service.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipaserver/install/service.py b/ipaserver/install/service.py
index 83ade903..8f4a7dbb 100644
--- a/ipaserver/install/service.py
+++ b/ipaserver/install/service.py
@@ -292,6 +292,9 @@ class Service(object):
def restore_state(self, key):
return self.sstore.restore_state(self.service_name, key)
+ def get_state(self, key):
+ return self.sstore.get_state(self.service_name, key)
+
def print_msg(self, message):
print_msg(message, self.output_fd)