From: Stefan van Wouw Date: Wed, 23 Oct 2013 09:22:33 +0000 (+0200) Subject: If architecture is provided, an invalid source line is generated (no space between... X-Git-Tag: 1.4.1~19^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fe594950c5e0aab25d5f4759d904b59e31c7d751;p=puppet-modules%2Fpuppetlabs-apt.git If architecture is provided, an invalid source line is generated (no space between location and architecture) --- diff --git a/templates/source.list.erb b/templates/source.list.erb index e8b6865..9946966 100644 --- a/templates/source.list.erb +++ b/templates/source.list.erb @@ -1,5 +1,5 @@ # <%= @name %> -deb <% if @architecture %>[arch=<%= @architecture %>]<% end %><%= @location %> <%= @release_real %> <%= @repos %> +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 -%>