<% @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 -%>