aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-06 19:45:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-06 19:45:01 -0300
commitb0425c65ecc61c6af3f31fba577b1e1c5d880674 (patch)
treed7035708ae6677c9f4cf960f69245794673e1cd0
parent7e2d49d6dd133d025789d334d2f72c1cbf3775be (diff)
downloadpuppet-apt-b0425c65ecc61c6af3f31fba577b1e1c5d880674.tar.gz
puppet-apt-b0425c65ecc61c6af3f31fba577b1e1c5d880674.tar.bz2
Fix include_src
-rw-r--r--templates/Debian/sources.list.erb2
1 files changed, 1 insertions, 1 deletions
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 -%>