-# <%= name %>
-deb <%= location %> <%= release %> <%= repos %>
-<%- if include_src then -%>
-deb-src <%= location %> <%= release %> <%= 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 %>
<%- end -%>