mirror of
https://github.com/xcat2/confluent.git
synced 2026-06-18 01:20:47 +00:00
Add all gpgkeys to local repositories
gpgkey can take multiple, and better to specify them all instead of just one.
This commit is contained in:
@@ -59,4 +59,5 @@ for sec in c.sections():
|
||||
repout.write('baseurl=https://{}/confluent-public/os/{}/distribution/{}\n'.format(server, profile, repopath))
|
||||
repout.write('enabled=1\n')
|
||||
if gpgkeys:
|
||||
repout.write('gpgkey=file://' + gpgkeys[0] + '\n')
|
||||
gpgkeyvals = ['file://{}'.format(x) for x in gpgkeys]
|
||||
repout.write('gpgkey=' + ' '.join(gpgkeyvals) + '\n')
|
||||
|
||||
Reference in New Issue
Block a user