Merge "Remove old debian-ceph mirrors"
This commit is contained in:
commit
89a1edce3d
@ -1,7 +0,0 @@
|
||||
Name: debian-ceph-hammer
|
||||
Method: http://download.ceph.com/debian-hammer/
|
||||
Components: main
|
||||
UDebComponents: main
|
||||
Architectures: amd64
|
||||
GetInRelease: no
|
||||
VerifyRelease: 460f3994
|
@ -1,7 +0,0 @@
|
||||
Name: debian-ceph-jewel
|
||||
Method: http://download.ceph.com/debian-jewel/
|
||||
Components: main
|
||||
UDebComponents: main
|
||||
Architectures: amd64
|
||||
GetInRelease: no
|
||||
VerifyRelease: 460f3994
|
@ -1,7 +0,0 @@
|
||||
Name: debian-ceph-luminous
|
||||
Method: http://download.ceph.com/debian-luminous/
|
||||
Components: main
|
||||
UDebComponents: main
|
||||
Architectures: amd64
|
||||
GetInRelease: no
|
||||
VerifyRelease: 460f3994
|
@ -1,7 +0,0 @@
|
||||
Name: debian-ceph-mimic
|
||||
Method: http://download.ceph.com/debian-mimic/
|
||||
Components: main
|
||||
UDebComponents: main
|
||||
Architectures: amd64
|
||||
GetInRelease: no
|
||||
VerifyRelease: 460f3994
|
@ -209,94 +209,6 @@ class openstack_project::mirror_update (
|
||||
key_type => 'public',
|
||||
}
|
||||
|
||||
::openstack_project::reprepro { 'debian-ceph-hammer-reprepro-mirror':
|
||||
confdir => '/etc/reprepro/debian-ceph-hammer',
|
||||
basedir => '/afs/.openstack.org/mirror/ceph-deb-hammer',
|
||||
distributions => 'openstack_project/reprepro/distributions.debian-ceph-hammer.erb',
|
||||
updates_file => 'puppet:///modules/openstack_project/reprepro/debian-ceph-hammer-updates',
|
||||
releases => ['xenial'],
|
||||
}
|
||||
|
||||
cron { 'reprepro debian ceph hammer':
|
||||
user => 'root',
|
||||
hour => '*/2',
|
||||
minute => fqdn_rand(45, 'debian-ceph-hammer'),
|
||||
command => 'flock -n /var/run/reprepro/debian-ceph-hammer.lock reprepro-mirror-update /etc/reprepro/debian-ceph-hammer mirror.deb-hammer >>/var/log/reprepro/debian-ceph-hammer-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-hammer-reprepro-mirror'],
|
||||
]
|
||||
}
|
||||
|
||||
::openstack_project::reprepro { 'debian-ceph-jewel-reprepro-mirror':
|
||||
confdir => '/etc/reprepro/debian-ceph-jewel',
|
||||
basedir => '/afs/.openstack.org/mirror/ceph-deb-jewel',
|
||||
distributions => 'openstack_project/reprepro/distributions.debian-ceph-jewel.erb',
|
||||
updates_file => 'puppet:///modules/openstack_project/reprepro/debian-ceph-jewel-updates',
|
||||
releases => ['xenial'],
|
||||
}
|
||||
|
||||
cron { 'reprepro debian ceph jewel':
|
||||
user => 'root',
|
||||
hour => '*/2',
|
||||
minute => fqdn_rand(45, 'debian-ceph-jewel'),
|
||||
command => 'flock -n /var/run/reprepro/debian-ceph-jewel.lock reprepro-mirror-update /etc/reprepro/debian-ceph-jewel mirror.deb-jewel >>/var/log/reprepro/debian-ceph-jewel-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-jewel-reprepro-mirror'],
|
||||
]
|
||||
}
|
||||
|
||||
::openstack_project::reprepro { 'debian-ceph-luminous-reprepro-mirror':
|
||||
confdir => '/etc/reprepro/debian-ceph-luminous',
|
||||
basedir => '/afs/.openstack.org/mirror/ceph-deb-luminous',
|
||||
distributions => 'openstack_project/reprepro/distributions.debian-ceph-luminous.erb',
|
||||
updates_file => 'puppet:///modules/openstack_project/reprepro/debian-ceph-luminous-updates',
|
||||
releases => ['stretch', 'xenial'],
|
||||
}
|
||||
|
||||
cron { 'reprepro debian ceph luminous':
|
||||
user => 'root',
|
||||
hour => '*/2',
|
||||
minute => fqdn_rand(45, 'debian-ceph-luminous'),
|
||||
command => 'flock -n /var/run/reprepro/debian-ceph-luminous.lock reprepro-mirror-update /etc/reprepro/debian-ceph-luminous mirror.deb-luminous >>/var/log/reprepro/debian-ceph-luminous-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-luminous-reprepro-mirror'],
|
||||
]
|
||||
}
|
||||
|
||||
::openstack_project::reprepro { 'debian-ceph-mimic-reprepro-mirror':
|
||||
confdir => '/etc/reprepro/debian-ceph-mimic',
|
||||
basedir => '/afs/.openstack.org/mirror/ceph-deb-mimic',
|
||||
distributions => 'openstack_project/reprepro/distributions.debian-ceph-mimic.erb',
|
||||
updates_file => 'puppet:///modules/openstack_project/reprepro/debian-ceph-mimic-updates',
|
||||
releases => ['stretch', 'xenial', 'bionic'],
|
||||
}
|
||||
|
||||
cron { 'reprepro debian ceph mimic':
|
||||
user => 'root',
|
||||
hour => '*/2',
|
||||
minute => fqdn_rand(45, 'debian-ceph-mimic'),
|
||||
command => 'flock -n /var/run/reprepro/debian-ceph-mimic.lock reprepro-mirror-update /etc/reprepro/debian-ceph-mimic mirror.deb-mimic >>/var/log/reprepro/debian-ceph-mimic-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-mimic-reprepro-mirror'],
|
||||
]
|
||||
}
|
||||
|
||||
::openstack_project::reprepro { 'debian-ceph-nautilus-reprepro-mirror':
|
||||
confdir => '/etc/reprepro/debian-ceph-nautilus',
|
||||
basedir => '/afs/.openstack.org/mirror/ceph-deb-nautilus',
|
||||
|
@ -1,11 +0,0 @@
|
||||
<% @releases.each do |release| -%>
|
||||
Origin: Ceph Hammer
|
||||
Codename: <%= release %>
|
||||
Description: OpenStack Debian Ceph Hammer <%= release.capitalize %> mirror
|
||||
Architectures: amd64
|
||||
Components: main
|
||||
Contents: .gz
|
||||
Update: debian-ceph-hammer
|
||||
Log: <%= @logdir %>/debian-ceph-hammer-<%= release %>.log
|
||||
|
||||
<% end -%>
|
@ -1,11 +0,0 @@
|
||||
<% @releases.each do |release| -%>
|
||||
Origin: Ceph Jewel
|
||||
Codename: <%= release %>
|
||||
Description: OpenStack Debian Ceph Jewel <%= release.capitalize %> mirror
|
||||
Architectures: amd64
|
||||
Components: main
|
||||
Contents: .gz
|
||||
Update: debian-ceph-jewel
|
||||
Log: <%= @logdir %>/debian-ceph-jewel-<%= release %>.log
|
||||
|
||||
<% end -%>
|
@ -1,11 +0,0 @@
|
||||
<% @releases.each do |release| -%>
|
||||
Origin: Ceph Luminous
|
||||
Codename: <%= release %>
|
||||
Description: OpenStack Debian Ceph Luminous <%= release.capitalize %> mirror
|
||||
Architectures: amd64
|
||||
Components: main
|
||||
Contents: .gz
|
||||
Update: debian-ceph-luminous
|
||||
Log: <%= @logdir %>/debian-ceph-luminous-<%= release %>.log
|
||||
|
||||
<% end -%>
|
@ -1,11 +0,0 @@
|
||||
<% @releases.each do |release| -%>
|
||||
Origin: Ceph Mimic
|
||||
Codename: <%= release %>
|
||||
Description: OpenStack Debian Ceph Mimic <%= release.capitalize %> mirror
|
||||
Architectures: amd64
|
||||
Components: main
|
||||
Contents: .gz
|
||||
Update: debian-ceph-mimic
|
||||
Log: <%= @logdir %>/debian-ceph-mimic-<%= release %>.log
|
||||
|
||||
<% end -%>
|
Loading…
Reference in New Issue
Block a user