Allow custom comment for sources list
[puppet-modules/puppetlabs-apt.git] / templates / source.list.erb
index 65764b2612cac71780f8cbef50cb2b2d9faaf9d6..a57244fce81e61be50470cdbdd7c39c741468312 100644 (file)
@@ -1,5 +1,6 @@
-# <%= @name %>
-deb <%= @location %> <%= @release_real %> <%= @repos %>
+#file generated by puppet
+# <%= @comment %>
+deb <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
 <%- if @include_src then -%>
-deb-src <%= @location %> <%= @release_real %> <%= @repos %>
+deb-src <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
 <%- end -%>