system-config/modules/openstack_project/templates/reprepro/distributions.apt-puppetlabs.erb
Tobias Urdin d683d602eb Mirror puppet5 for Ubuntu Bionic
Puppet 5 has now been released officialy [1] for
Ubuntu Bionic so we don't have to use the nightly
builds anymore [2].

This adds bionic to be synced from apt.puppetlabs.com
but also changes the structure of the template and the
releases variable to support the Components param for reprepro.

[1] https://apt.puppetlabs.com/pool/bionic/puppet5/p/puppet-agent/
[2] https://github.com/openstack/puppet-openstack-integration/blob/master/functions#L153

Change-Id: I7a303cfcb4408faad5efb703fb127e923b801a81
2018-07-27 14:20:19 +02:00

12 lines
306 B
Plaintext

<% @releases.each do |release, components| -%>
Origin: Puppetlabs
Codename: <%= release %>
Description: PuppetLabs <%= release.capitalize %> mirror
Architectures: amd64
Components: <%= components %>
Contents: .gz
Update: puppetlabs-debs
Log: <%= @logdir %>/ubuntu-puppetlabs-<%= release %>.log
<% end -%>