Issue #1771 ยป 0001-Add-a-migration-that-writes-Importer-TLS-files-to-lo.patch
server/pulp/server/db/migrations/0023_importer_tls_storage.py | ||
---|---|---|
"""
|
||
This migration inspects all the Importers and writes any TLS certificates or keys they have to local
|
||
storage, as required by the streamer.
|
||
"""
|
||
from pulp.server.db import model
|
||
def migrate():
|
||
"""
|
||
Write the TLS certificates and keys for each Importer to local storage.
|
||
"""
|
||
for importer in model.Importer.objects.all():
|
||
importer.save()
|