kojivmd: fix typo in serverca path and also fix cert value
This commit is contained in:
parent
3461e334b2
commit
ca9bd3941b
1 changed files with 3 additions and 3 deletions
|
|
@ -132,7 +132,7 @@ def get_options():
|
|||
'offline_retry': True,
|
||||
'offline_retry_interval': 120,
|
||||
'allowed_scms': '',
|
||||
'cert': '/etc/kojivmd/client.crt',
|
||||
'cert': None,
|
||||
'ca': '', # FIXME: Remove in next major release
|
||||
'serverca': None}
|
||||
if config.has_section('kojivmd'):
|
||||
|
|
@ -159,8 +159,8 @@ def get_options():
|
|||
|
||||
# special handling for cert defaults
|
||||
cert_defaults = {
|
||||
'cert': '/etc/kojira/client.crt',
|
||||
'serverca': '/etc/kojira/serverca.crt',
|
||||
'cert': '/etc/kojivmd/client.crt',
|
||||
'serverca': '/etc/kojivmd/serverca.crt',
|
||||
}
|
||||
for name in cert_defaults:
|
||||
if getattr(options, name, None) is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue