Debian Jessie to AFS mirrors

So project using debian-jessie DIB can benefit from our AFS infra.

Change-Id: I30206d6802120f5b89f58f1c1dc3548515fcef76
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-07-15 11:53:52 -04:00
parent 65bab038bc
commit f21939340c
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 183 additions and 4 deletions

View File

@ -0,0 +1,140 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.5
Comment: Hostname: keyserver.ubuntu.com
mQINBFRvqBkBEADAe63Jl0pw5Ry9LDwn31BJSBat+2WYJXT4Iqsgtmm79drvAcVUJjtGZX11
XdJj/aIVxeafghYxVj4Ld+yxiB25GAcxGr5O3Acv7DOlBQnqFZ7jvZUdqwSCpsoDoBt5rX+F
lHl/NB8VGjpS0cgC+wuSrLRW6Qux0/tn2Dow7KzB5B7YvaCiChF2M7ZPJhhp5QGoI+ucEwSJ
/NIeOguZWiOEl+Tbglz5YTHuVjZViNIX4Xdw+N7l1//oR8k/GEWuVU4dFsWmc6UCEClCotYH
XoPHHGJpIUDBMk3sU5v3ULjKcIDkHOHXqu91lk9OEdteieWS6npsuyy2pOOgRgXKxi1mAc7j
PTLejT2GTCoUl6anP6/MbMdCuMww1TadVaVTnw7zxW0t/uQ97wr1YtwnB6mLdfgCbUTtXMoF
dijGJx+k/qb4cmmrhPBXn5frUdwA3He6x5gkGINxy6scHhwYXpLuvpgf6WCOMRQ7afeKokHN
1ctnnKCrLJbV/Y8wkWI62O0XkqqfFyaz0fhhnaoEbMjksWYo86GeAtZysrw0MwZfANf9/l5E
GfUZIAQNiMIsGjNmyc+pSyzbBQoaJpQOdzER7z6ywzUETLQp2TRIUg2BvDkLPzLJLun4KdCh
r8TKHoq3EtiV0hIAeGDD173b5x8Mukb2DSyvzc2vPorqRyqawQARAQABiQI3BB8BCAAhBQJU
c6YzFwyAAYDpdvFKUIpI6co/6bw3IlLKHPlkAgcAAAoJEHY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uFg0q6Fl+MmuE
F22o2M/r0FB91h8ZYpydCTQ+XFZrL0QYCMGMreasHabFaU5ZSTu6nOxxgTSW/5NRTQ6lvHAY
R5rZ35hoFL9lLLfIYyu/yR/hUz+JlQNhaysH/Sr5JFB5ooTbgD2QN47iRNV682iWhEvBKShe
cH0XuFhsPcE43InmV9avXEvvhQ+8JgpknFxUnSu60RFg7GO8D6B40ekFlrUt0qDUpZ5kjs+l
ocTX03ne7yFJ4UyRpMKoUuGTZaYRjJS2LOolbehIWKohymLJ837Sst60ZrRayUOdIiHJyV/E
48wfXg==
=larH
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -63,6 +63,17 @@ class openstack_project::mirror (
] ]
} }
# Create the symlink to debian
file { "${www_root}/debian":
ensure => link,
target => "${mirror_root}/debian",
owner => root,
group => root,
require => [
File["${www_root}"],
]
}
# Create the symlink to Debian OpenStack Packaging Team reprepro. # Create the symlink to Debian OpenStack Packaging Team reprepro.
file { "${www_root}/debian-openstack": file { "${www_root}/debian-openstack":
ensure => link, ensure => link,

View File

@ -9,6 +9,7 @@ class openstack_project::mirror_update (
$centos_keytab = '', $centos_keytab = '',
$epel_keytab = '', $epel_keytab = '',
) { ) {
include ::gnupg
include ::openstack_project::reprepro_mirror include ::openstack_project::reprepro_mirror
class { 'openstack_project::server': class { 'openstack_project::server':
@ -112,6 +113,37 @@ class openstack_project::mirror_update (
source => 'puppet:///modules/openstack_project/reprepro/reprepro-mirror-update.sh', source => 'puppet:///modules/openstack_project/reprepro/reprepro-mirror-update.sh',
} }
### Debian mirror ###
::openstack_project::reprepro { 'debian-reprepro-mirror':
confdir => '/etc/reprepro/debian',
basedir => '/afs/.openstack.org/mirror/debian',
distributions => 'openstack_project/reprepro/distributions.debian.erb',
updates_file => 'puppet:///modules/openstack_project/reprepro/debuntu-updates',
releases => ['jessie'],
}
cron { 'reprepro debian':
user => $user,
hour => '*/2',
minute => '0',
command => 'flock -n /var/run/reprepro/debian.lock reprepro-mirror-update /etc/reprepro/debian mirror.debian >>/var/log/reprepro/debian-mirror.log 2>&1',
environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin',
require => [
File['/usr/local/bin/reprepro-mirror-update'],
File['/etc/afsadmin.keytab'],
File['/etc/reprepro.keytab'],
::openstack_project::reprepro['debian-reprepro-mirror'],
]
}
gnupg_key { 'Debian Archive':
ensure => present,
key_id => '7638d0442b90d010',
user => 'root',
key_source => 'puppet:///modules/openstack_project/reprepro/debian-mirror-gpg-key.asc',
key_type => 'public',
}
::openstack_project::reprepro { 'ubuntu-reprepro-mirror': ::openstack_project::reprepro { 'ubuntu-reprepro-mirror':
confdir => '/etc/reprepro/ubuntu', confdir => '/etc/reprepro/ubuntu',
basedir => '/afs/.openstack.org/mirror/ubuntu', basedir => '/afs/.openstack.org/mirror/ubuntu',
@ -134,8 +166,6 @@ class openstack_project::mirror_update (
] ]
} }
include ::gnupg
gnupg_key { 'Ubuntu Archive': gnupg_key { 'Ubuntu Archive':
ensure => present, ensure => present,
key_id => '40976EAF437D05B5', key_id => '40976EAF437D05B5',
@ -264,6 +294,4 @@ class openstack_project::mirror_update (
key_type => 'public', key_type => 'public',
key_source => 'puppet:///modules/openstack_project/reprepro/ubuntu-cloud-archive-gpg-key.asc', key_source => 'puppet:///modules/openstack_project/reprepro/ubuntu-cloud-archive-gpg-key.asc',
} }
} }