summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-04-01 22:39:44 -0400
committerRob Crittenden <rcritten@redhat.com>2009-04-03 14:06:09 -0400
commit484eff1016ab00cc7c3c3dc4be3fb0fd7179a994 (patch)
tree65965f10a2f4b1650bbef5de667a6f6d1a882c42 /ipaserver/install/dsinstance.py
parenta6294ba041aa4568b414b5f25a345c00a031667e (diff)
downloadfreeipa-484eff1016ab00cc7c3c3dc4be3fb0fd7179a994.tar.gz
freeipa-484eff1016ab00cc7c3c3dc4be3fb0fd7179a994.tar.xz
freeipa-484eff1016ab00cc7c3c3dc4be3fb0fd7179a994.zip
Implement an installer for the Dogtag certificate system.
The CA is currently not automatically installed. You have to pass in the --ca flag to install it. What works: - installation - unistallation - cert/ra plugins can issue and retrieve server certs What doesn't work: - self-signed CA is still created and issues Apache and DS certs - dogtag and python-nss not in rpm requires - requires that CS be in the "pre" install state from pkicreate
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index e8dfdaedf..d6a386e47 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -248,7 +248,7 @@ class DsInstance(service.Service):
logging.critical("failed to restart ds instance %s" % e)
logging.debug("restarting ds instance")
try:
- self.restart()
+ self.restart(self.serverid)
logging.debug("done restarting ds instance")
except ipautil.CalledProcessError, e:
print "failed to restart ds instance", e
@@ -276,7 +276,7 @@ class DsInstance(service.Service):
def __restart_instance(self):
try:
- self.restart()
+ self.restart(self.serverid)
if not is_ds_running():
logging.critical("Failed to restart the directory server. See the installation log for details.")
sys.exit(1)