Merge pull request #540 from szynaka/apt_conf_comments
[puppet-modules/puppetlabs-apt.git] / templates / source.list.erb
1 # <%= @comment %>
2 <%- if @_include['deb'] then -%>
3 deb <%- if @architecture or @_allow_unsigned -%>
4 [<%- if @architecture %>arch=<%= @architecture %> <% end %><% if @_allow_unsigned %>trusted=yes<% end -%>
5 ] <%- end %><%= @location %> <%= @_release %> <%= @repos %>
6 <%- end -%>
7 <%- if @_include['src'] then -%>
8 deb-src <%- if @architecture or @_allow_unsigned -%>
9 [<%- if @architecture %>arch=<%= @architecture %> <% end %><% if @_allow_unsigned %>trusted=yes<% end -%>
10 ] <%- end %><%= @location %> <%= @_release %> <%= @repos %>
11 <%- end -%>