system-config/modules/openstack_project/templates/reprepro/distributions.ubuntu.erb
Paul Belanger 6207deef52
Add source to ubuntu mirror distributions
This is a follow up patch to our previous attempt to mirror source
packages, we forgot to actually download the first pass of packages.
We have correctly added the code to update them.

Change-Id: Ia2776d60f2b6d8b526b6866462299c7bf2f6bc5a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-18 21:11:44 -04:00

45 lines
1.2 KiB
Plaintext

<% @releases.each do |release| -%>
Origin: Ubuntu
Codename: <%= release %>
Description: OpenStack Ubuntu <%= release.capitalize %> mirror
Architectures: amd64 source
Components: main universe
UDebComponents: main
Contents: .gz
Update: ubuntu
Log: <%= @logdir %>/ubuntu-<%= release %>.log
Origin: Ubuntu
Codename: <%= release %>-updates
Description: OpenStack Ubuntu <%= release.capitalize %> Updates mirror
Architectures: amd64 source
Components: main universe
UDebComponents: main
Contents: .gz
Update: ubuntu
Log: <%= @logdir %>/ubuntu-<%= release %>-updates.log
Origin: Ubuntu
Codename: <%= release %>-backports
Description: OpenStack Ubuntu <%= release.capitalize %> Backports mirror
Architectures: amd64 source
Components: main universe
UDebComponents: main
Contents: .gz
Update: ubuntu
NotAutomatic: yes
ButAutomaticUpgrades: yes
Log: <%= @logdir %>/ubuntu-<%= release %>-backports.log
Origin: Ubuntu
Codename: <%= release %>-security
Description: OpenStack Ubuntu <%= release.capitalize %> Security mirror
Architectures: amd64 source
Components: main universe
UDebComponents: main
Contents: .gz
Update: ubuntu-security
Log: <%= @logdir %>/ubuntu-<%= release %>-security.log
<% end -%>