Fix principal and keytab in owner-sync-pagure
This commit is contained in:
parent
1ab6429836
commit
0efc8ba751
1 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,8 @@ def get_options():
|
|||
'server': 'https://koji.fedoraproject.org/kojihub',
|
||||
'weburl': 'https://koji.fedoraproject.org/koji',
|
||||
}
|
||||
opts['principal'] = 'pkgdb/{0}@{1}'.format(HOSTNAME, IPA_REALM)
|
||||
opts['keytab'] = '/etc/krb5.pkgdb_{0}.keytab'.format(HOSTNAME)
|
||||
opts['principal'] = 'bodhi/{0}@{1}'.format(HOSTNAME, IPA_REALM)
|
||||
opts['keytab'] = '/etc/krb5.bodhi_{0}.keytab'.format(HOSTNAME)
|
||||
|
||||
for configFile in ('/etc/koji.conf', os.path.expanduser('~/.koji/config')):
|
||||
if os.access(configFile, os.F_OK):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue