mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 12:23:06 +08:00
Fix principal and keytab in owner-sync-pagure
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user