Allow custom comment for sources list
[puppet-modules/puppetlabs-apt.git] / templates / source.list.erb
index 845b8ae161726ade3f617868362dfc9da975fec4..a57244fce81e61be50470cdbdd7c39c741468312 100644 (file)
@@ -1,5 +1,6 @@
-# <%= @name %>
-deb <% if @architecture %>[arch=<%= @architecture %>]<% end %> <%= @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 <% if @architecture %>[arch=<%= @architecture %>]<% end %> <%= @location %> <%= @release_real %> <%= @repos %>
+deb-src <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
 <%- end -%>