mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-22 19:58:03 +00:00
11 lines
787 B
Plaintext
11 lines
787 B
Plaintext
<%- | String $comment, Hash $includes, $opt_architecture, Boolean $allow_unsigned, $location, $release, String $repos | -%>
|
|
# <%= $comment %>
|
|
<%- if $includes['deb'] { -%>
|
|
deb <%- if ($opt_architecture or $allow_unsigned) {-%>
|
|
[<%- if ($opt_architecture) {%>arch=<%= $opt_architecture %><% } %><%if ($opt_architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
|
|
<%- } -%>
|
|
<%- if $includes['src'] { -%>
|
|
deb-src <%- if $opt_architecture or $allow_unsigned { -%>
|
|
[<%- if ($opt_architecture) {%>arch=<%= $opt_architecture %><% } %><%if ($opt_architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
|
|
<%- } -%>
|