Allow custom comment for sources list
[puppet-modules/puppetlabs-apt.git] / templates / source.list.erb
index e8b68659406b256b27c991d9d6c53c3534001c65..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 -%>