Merge pull request #114 from johnnyrun/master
[puppet-modules/puppetlabs-apt.git] / templates / source.list.erb
index 345269162b55add1d6938bc2bc3e4df23c0c1564..845b8ae161726ade3f617868362dfc9da975fec4 100644 (file)
@@ -1,5 +1,5 @@
-# <%= name %>
-deb <%= location %> <%= release %> <%= repos %>
-<%- if include_src then -%>
-deb-src <%= location %> <%= release %> <%= repos %>
+# <%= @name %>
+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 %>
 <%- end -%>