From: Silvio Rhatto Date: Mon, 6 Jul 2015 22:45:01 +0000 (-0300) Subject: Fix include_src X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b0425c65ecc61c6af3f31fba577b1e1c5d880674;p=puppet-apt.git Fix include_src --- diff --git a/templates/Debian/sources.list.erb b/templates/Debian/sources.list.erb index 2aac837..b2ea727 100644 --- a/templates/Debian/sources.list.erb +++ b/templates/Debian/sources.list.erb @@ -14,7 +14,7 @@ deb-src <%= debian_url %> <%= codename %> <%= lrepos %> # There is no security support for <%= release %> <% else -%> deb <%= security_url=scope.lookupvar('apt::security_url') %> <%= codename %>/updates <%= lrepos %> -<% if include_src -%> +<% if @include_src -%> deb-src <%= security_url %> <%= codename %>/updates <%= lrepos %> <% end -%> <% end -%>