<% @codenames.each do |dist| -%>
Origin: <%= node[:reprepro][:fqdn] %>
Label: apt repository
Codename: <%= dist %>
Architectures: <%= @architectures.join(" ") %>
Components: <%= @pulls["component"] %>
Description: <%= node[:reprepro][:description] %>
SignWith: <%= node[:reprepro][:pgp_email] %>
<%   unless @pulls["name"] == dist -%>
Pull: <%= dist %>
<%   end -%>
<% end -%>


<% @codenames.each do |dist| -%>
Origin: <%= node[:reprepro][:fqdn] %>
Label: apt repository
Codename: <%= dist %>
Architectures: <%= @architectures.join(" ") %>
Components: <%= @pulls["component"] %>
Description: <%= node[:reprepro][:description] %>
SignWith: <%= node[:reprepro][:pgp_email] %>
<%   unless @pulls["name"] == dist -%>
Pull: <%= dist %>
<%   end -%>

<% end -%>

Fix support for multiple distribution releases
[COOK-3545] Fix support for multiple distribution releases

Signed-off-by: Seth Vargo <81550dbf04dfd8537ff7b3c014c6fbf86e0889dc@gmail.com>
