Merge pull request #667 from HelenCampbell/firstRelease
[puppet-modules/puppetlabs-apt.git] / templates / source.list.epp
1 <%- | String $comment, Hash $includes, $architecture, Boolean $allow_unsigned, $location, $release, String $repos | -%>
2 # <%= $comment %>
3 <%- if $includes['deb'] { -%>
4 deb <%- if ($architecture or $allow_unsigned) {-%>
5  [<%- if ($architecture) {%>arch=<%= $architecture %><% } %><%if ($architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
6 <%- } -%>
7 <%- if $includes['src'] { -%>
8 deb-src <%- if $architecture or $allow_unsigned { -%>
9  [<%- if ($architecture) {%>arch=<%= $architecture %><% } %><%if ($architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
10 <%- } -%>