diff --git a/templates/source_deb822.epp b/templates/source_deb822.epp index 10802b05d5..5d09542ef5 100644 --- a/templates/source_deb822.epp +++ b/templates/source_deb822.epp @@ -12,10 +12,12 @@ | -%> # <%= $comment %> Enabled: <%= $enabled %> -Types: <% $types.each |String $type| { -%> <%= $type %> <% } %> +Types: <% $types.each | String $type | { -%> <%= $type %> <% } %> URIs: <% $uris.each | String $uri | { -%> <%= $uri %> <% } %> Suites: <% $suites.each | String $suite | { -%> <%= $suite %> <% } %> +<% if $suites[0] !~ /\/$/ { -%> Components: <% $components.each | String $component | { -%> <%= $component %> <% } %> +<% } -%> <% if $architectures { -%> Architectures:<% $architectures.each | String $arch | { %> <%= $arch %><% } %> <%- } -%>