File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1212| -%>
1313# <%= $comment %>
1414Enabled: <%= $enabled %>
15- Types: <% $types.each |String $type| { -%> <%= $type %> <% } %>
16- URIs: <% $uris.each | String $uri | { -%> <%= $uri %> <% } %>
17- Suites: <% $suites.each | String $suite | { -%> <%= $suite %> <% } %>
18- Components: <% $components.each | String $component | { -%> <%= $component %> <% } %>
15+ Types: <%= $types.join(' ') %>
16+ URIs: <%= $uris.join(' ') %>
17+ Suites: <%= $suites.join(' ') %>
18+ Components: <%= $components.join(' ') %>
1919<% if $architectures { -%>
20- Architectures:<% $architectures.each | String $arch | { %> <%= $arch %><% } %>
20+ Architectures: <%= $architectures.join(' ') %>
2121<%- } -%>
2222<% if $allow_insecure { -%>
2323Allow-Insecure: <%= $allow_insecure %>
@@ -29,8 +29,5 @@ Trusted: <%= $repo_trusted %>
2929Check-Valid-Until: <%= $check_valid_until %>
3030<% } -%>
3131<% if $signed_by { -%>
32- Signed-By: <% if type($signed_by) =~ Type[Array] { -%><%- $signed_by.each |String $keyring| { -%><%= $keyring %> <% } -%>
33- <%- } -%>
34- <%- elsif type($signed_by) =~ Type[String] { -%>
35- <%= $signed_by -%>
36- <%- }} %>
32+ Signed-By: <%= [$signed_by].flatten.join(' ') %>
33+ <% } -%>
You can’t perform that action at this time.
0 commit comments