X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=templates%2Fsource.list.erb;h=fe7f55941a1ac43098ed15b2e9aed0461818d499;hb=0ca555f5525f20ba9dfc4518459b17956b28e886;hp=75147667b50eaf61a6fbe510caa2def1be984777;hpb=95bed8902f31bf84947c4951872f712b3cbd6741;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/templates/source.list.erb b/templates/source.list.erb index 7514766..fe7f559 100644 --- a/templates/source.list.erb +++ b/templates/source.list.erb @@ -1,12 +1,11 @@ -#file generated by puppet # <%= @comment %> -<%- if @include_deb then -%> -deb <%- if @architecture or @trusted_source -%> -[<%- if @architecture %>arch=<%= @architecture %> <% end %><% if @trusted_source %>trusted=yes<% end -%> -] <%- end %><%= @location %> <%= @release_real %> <%= @repos %> +<%- 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 %> <%- end -%> -<%- if @include_src then -%> -deb-src <%- if @architecture or @trusted_source -%> -[<%- if @architecture %>arch=<%= @architecture %> <% end %><% if @trusted_source %>trusted=yes<% end -%> -] <%- end %><%= @location %> <%= @release_real %> <%= @repos %> +<%- 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 %> <%- end -%>