Merge "Add ceph octopus mirrors"
This commit is contained in:
commit
8c599a5bd0
@ -0,0 +1,7 @@
|
||||
Name: debian-ceph-octopus
|
||||
Method: http://download.ceph.com/debian-octopus/
|
||||
Components: main
|
||||
UDebComponents: main
|
||||
Architectures: amd64
|
||||
GetInRelease: no
|
||||
VerifyRelease: 460f3994
|
@ -319,6 +319,28 @@ class openstack_project::mirror_update (
|
||||
]
|
||||
}
|
||||
|
||||
::openstack_project::reprepro { 'debian-ceph-octopus-reprepro-mirror':
|
||||
confdir => '/etc/reprepro/debian-ceph-octopus',
|
||||
basedir => '/afs/.openstack.org/mirror/ceph-deb-octopus',
|
||||
distributions => 'openstack_project/reprepro/distributions.debian-ceph-octopus.erb',
|
||||
updates_file => 'puppet:///modules/openstack_project/reprepro/debian-ceph-octopus-updates',
|
||||
releases => ['buster'],
|
||||
}
|
||||
|
||||
cron { 'reprepro debian ceph octopus':
|
||||
user => 'root',
|
||||
hour => '*/2',
|
||||
minute => fqdn_rand(45, 'debian-ceph-octopus'),
|
||||
command => 'flock -n /var/run/reprepro/debian-ceph-octopus.lock reprepro-mirror-update /etc/reprepro/debian-ceph-octopus mirror.deb-octopus >>/var/log/reprepro/debian-ceph-octopus-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-ceph-octopus-reprepro-mirror'],
|
||||
]
|
||||
}
|
||||
|
||||
gnupg_key { 'Ceph Archive':
|
||||
ensure => present,
|
||||
# 08B7 3419 AC32 B4E9 66C1 A330 E84A C2C0 460F 3994
|
||||
|
@ -0,0 +1,11 @@
|
||||
<% @releases.each do |release| -%>
|
||||
Origin: Ceph Octopus
|
||||
Codename: <%= release %>
|
||||
Description: OpenStack Debian Ceph Octopus <%= release.capitalize %> mirror
|
||||
Architectures: amd64
|
||||
Components: main
|
||||
Contents: .gz
|
||||
Update: debian-ceph-octopus
|
||||
Log: <%= @logdir %>/debian-ceph-octopus-<%= release %>.log
|
||||
|
||||
<% end -%>
|
@ -84,6 +84,7 @@
|
||||
- ceph-deb-luminous
|
||||
- ceph-deb-mimic
|
||||
- ceph-deb-nautilus
|
||||
- ceph-deb-octopus
|
||||
- deb-docker
|
||||
- debian
|
||||
- debian-security
|
||||
|
Loading…
Reference in New Issue
Block a user