X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=templates%2Fsource.list.erb;h=84cd2cf72862bedcb557823b6d5a690cd6119b10;hb=0f9327bbf4c71f346a51eb554ba116f93ff26177;hp=26838db51b100fbe0380c2dbb826cf96067b4a6f;hpb=bca85cd945f8511edb0aa2dcf5e549772abea805;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/templates/source.list.erb b/templates/source.list.erb index 26838db..84cd2cf 100644 --- a/templates/source.list.erb +++ b/templates/source.list.erb @@ -1,11 +1,9 @@ # <%= @comment %> <%- if @_include['deb'] then -%> -deb <%- if @architecture or @allow_unsigned -%> -[<%- if @architecture %>arch=<%= @architecture %> <% end %><% if @allow_unsigned %>trusted=yes<% end -%> -] <%- end %><%= @location %> <%= @release %> <%= @repos %> +deb <%- if @architecture or @_allow_unsigned -%> +[<%- if @architecture %>arch=<%= @architecture %><% end %><%if @architecture and @_allow_unsigned %> <% end%><% if @_allow_unsigned %>trusted=yes<% end %>] <%- end %><%= @location %> <%= @_release %> <%= @repos %> <%- end -%> <%- if @_include['src'] then -%> -deb-src <%- if @architecture or @allow_unsigned -%> -[<%- if @architecture %>arch=<%= @architecture %> <% end %><% if @allow_unsigned %>trusted=yes<% end -%> -] <%- end %><%= @location %> <%= @release %> <%= @repos %> +deb-src <%- if @architecture or @_allow_unsigned -%> +[<%- if @architecture %>arch=<%= @architecture %><% end %><%if @architecture and @_allow_unsigned %> <% end%><% if @_allow_unsigned %>trusted=yes<% end %>] <%- end %><%= @location %> <%= @_release %> <%= @repos %> <%- end -%>