Commit Graph

3 Commits

Author SHA1 Message Date
Jeremy Stanley
26b75403fb Add Ubuntu's 2018 Archive Signing Key to reprepro
We're trying to start mirroring Ubuntu 22.04 LTS packages, and their
indices are now signed with the 2018 Archive Signing Key which we
haven't yet imported. Add it.

Change-Id: I88cabf8a703ef0086e58b8f6cd65bf54321f7998
2022-04-25 20:50:36 +00:00
Ian Wienand
2ff0843b9e reprepro: deploy Ubuntu keys
I missed these in the original port.  For some reason we are
installing these directly from upstream keyservers in the puppet,
rather than from files like everything else.

Change-Id: Ie1fa956b96f3e6d091b3ffcaab5e0be370da8fc7
2020-10-28 11:29:26 +11:00
Ian Wienand
3eceba5749 reprepro: convert to Ansible
This converts the reprepro configuration from our existing puppet to
Ansible.

This takes a more direct approach; the templating done by the puppet
version started simple but over the years grew several different
options to handle various use-cases.  This means you not only had to
understand the rather obscure reprepro configuration, but then *also*
figure out how to translate that from our puppet template layers.

Here the configuration files are kept directly (they were copied from
the existing mirror-update.openstack.org) and deployed with some light
wrapper tasks in reprepro/tasks/utils which avoids most duplication.

Note the initial cron jobs are left disabled so we can run some manual
testing before letting it go automatically.

Change-Id: I96a9ff1efbf51c4164621028b7a3a1e2e1077d5c
2020-10-19 14:06:57 +11:00