diff options
author | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-27 16:12:27 -0400 |
---|---|---|
committer | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-27 16:12:27 -0400 |
commit | 675c427fb5f6b5dae683b35521e69e186bca5746 (patch) | |
tree | 4770cee7ef30aac8c066ae01c45af9fc79c24d61 /scripts | |
parent | 6625dd4cbbd7b998ddb890666733da602757f38b (diff) | |
download | third_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-x | scripts/certmaster-ca | 9 |
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: |