summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-09-27 16:12:27 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-09-27 16:12:27 -0400
commit675c427fb5f6b5dae683b35521e69e186bca5746 (patch)
tree4770cee7ef30aac8c066ae01c45af9fc79c24d61 /scripts
parent6625dd4cbbd7b998ddb890666733da602757f38b (diff)
downloadthird_party-func-675c427fb5f6b5dae683b35521e69e186bca5746.tar.gz
third_party-func-675c427fb5f6b5dae683b35521e69e186bca5746.tar.xz
third_party-func-675c427fb5f6b5dae683b35521e69e186bca5746.zip
port certmaster to using an ini-style config file
import config.py from yum + some cleanups modify certmaster-ca to the same
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/certmaster-ca9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/certmaster-ca b/scripts/certmaster-ca
index 14f7c2f..d103265 100755
--- a/scripts/certmaster-ca
+++ b/scripts/certmaster-ca
@@ -14,13 +14,6 @@ import func.certmaster
from optparse import OptionParser
-defaults = { 'listen_addr': 'localhost',
- 'listen_port': '51235',
- 'cadir': '/etc/pki/func/ca',
- 'certroot': '/var/lib/func/certmaster/certs',
- 'csrroot': '/var/lib/func/certmaster/csrs',
- 'autosign': 'false'
- }
def errorprint(stuff):
print >> sys.stderr, stuff
@@ -41,7 +34,7 @@ def parseargs(args):
return (opts, args)
def main(args):
- cm = func.certmaster.CertMaster('/etc/func/certmaster.conf', defaults)
+ cm = func.certmaster.CertMaster('/etc/func/certmaster.conf')
(opts, args) = parseargs(args)
if opts.list: