Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #282 from laurenrother/security
[puppet-modules/puppetlabs-apt.git]
/
templates
/
source.list.erb
diff --git
a/templates/source.list.erb
b/templates/source.list.erb
index 65764b2612cac71780f8cbef50cb2b2d9faaf9d6..9946966ee5322dab85336320c1adfba88999381e 100644
(file)
--- a/
templates/source.list.erb
+++ b/
templates/source.list.erb
@@
-1,5
+1,5
@@
# <%= @name %>
# <%= @name %>
-deb <%= @location %> <%= @release_real %> <%= @repos %>
+deb <%
if @architecture %>[arch=<%= @architecture %>] <% end %><%
= @location %> <%= @release_real %> <%= @repos %>
<%- if @include_src then -%>
<%- if @include_src then -%>
-deb-src <%= @location %> <%= @release_real %> <%= @repos %>
+deb-src <%
if @architecture %>[arch=<%= @architecture %>] <% end %><%
= @location %> <%= @release_real %> <%= @repos %>
<%- end -%>
<%- end -%>