summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorAdrian Likins <alikins@grimlock.devel.redhat.com>2008-02-25 16:59:34 -0500
committerAdrian Likins <alikins@grimlock.devel.redhat.com>2008-02-25 16:59:34 -0500
commit903cf2e90885bed9f5715e2241b99b335c374250 (patch)
tree42eb9fe31d558b4c95f922c698399142f8f44675 /func
parent30fb32a3ab011c2132ac6732c4044174ce0c25d9 (diff)
downloadthird_party-func-903cf2e90885bed9f5715e2241b99b335c374250.tar.gz
third_party-func-903cf2e90885bed9f5715e2241b99b335c374250.tar.xz
third_party-func-903cf2e90885bed9f5715e2241b99b335c374250.zip
fix up some paths.
Note: these paths probably shouldn't be as hardcoded as they are now...
Diffstat (limited to 'func')
-rwxr-xr-xfunc/overlord/client.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/func/overlord/client.py b/func/overlord/client.py
index fdcf875..25924b2 100755
--- a/func/overlord/client.py
+++ b/func/overlord/client.py
@@ -189,13 +189,15 @@ class Client(object):
# certmaster key, cert, ca
# funcd key, cert, ca
# raise FuncClientError
- ol_key = '%s/funcmaster.key' % self.config.cadir
- ol_crt = '%s/funcmaster.crt' % self.config.cadir
+ ol_key = '%s/certmaster.key' % self.config.cadir
+ ol_crt = '%s/certmaster.crt' % self.config.cadir
myname = utils.get_hostname()
+
+ # FIXME: should be config -akl?
# maybe /etc/pki/func is a variable somewhere?
- fd_key = '/etc/pki/func/%s.pem' % myname
- fd_crt = '/etc/pki/func/%s.cert' % myname
- self.ca = '%s/funcmaster.crt' % self.config.cadir
+ fd_key = '/etc/pki/certmaster/%s.pem' % myname
+ fd_crt = '/etc/pki/certmaster/%s.cert' % myname
+ self.ca = '%s/certmaster.crt' % self.config.cadir
if client_key and client_cert and ca:
if (os.access(client_key, os.R_OK) and os.access(client_cert, os.R_OK)
and os.access(ca, os.R_OK)):