apt::source: pass the weak_ssl param to apt::key
[puppet-modules/puppetlabs-apt.git] / templates / source.list.epp
1 <%- | String $comment, Hash $includes, $opt_architecture, Boolean $allow_unsigned, $location, $release, String $repos | -%>
2 # <%= $comment %>
3 <%- if $includes['deb'] { -%>
4 deb <%- if ($opt_architecture or $allow_unsigned) {-%>
5  [<%- if ($opt_architecture) {%>arch=<%= $opt_architecture %><% } %><%if ($opt_architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
6 <%- } -%>
7 <%- if $includes['src'] { -%>
8 deb-src <%- if $opt_architecture or $allow_unsigned { -%>
9  [<%- if ($opt_architecture) {%>arch=<%= $opt_architecture %><% } %><%if ($opt_architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
10 <%- } -%>