Add utopic support
[puppet-modules/puppetlabs-apt.git] / templates / source.list.erb
index 845b8ae161726ade3f617868362dfc9da975fec4..01b2176a6ea5d0d357cb37444e4def4067111eb3 100644 (file)
@@ -1,5 +1,8 @@
-# <%= @name %>
-deb <% if @architecture %>[arch=<%= @architecture %>]<% end %> <%= @location %> <%= @release_real %> <%= @repos %>
+#file generated by puppet
+# <%= @comment %>
+<%- if @include_deb then -%>
+deb <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
+<%- end -%>
 <%- 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 -%>