aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2013-01-02 16:52:10 +0100
committerintrigeri <intrigeri@boum.org>2013-01-02 16:52:10 +0100
commitaac83e728c11ec576ea07e8c5ea990740c66e908 (patch)
tree1bf2b407ca2913e5a1a585d637a9831cc897c443
parent09710a29b116427a1bda8641a44d6383975e0844 (diff)
downloadpuppet-apt-aac83e728c11ec576ea07e8c5ea990740c66e908.tar.gz
puppet-apt-aac83e728c11ec576ea07e8c5ea990740c66e908.tar.bz2
Lookup next_release in template the same way we lookup next_codename.
next_release was forgotten when next_codename was fixed.
-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 04c13ea..49cf38c 100644
--- a/templates/Debian/sources.list.erb
+++ b/templates/Debian/sources.list.erb
@@ -49,7 +49,7 @@ deb-src <%= debian_url %> <%= codename %>-updates <%= lrepos %>
<% end -%>
<% if next_release=scope.lookupvar('apt::use_next_release') -%>
-### Debian next: <%= next_codename=scope.lookupvar('apt::next_codename') %>
+### Debian next: <%= next_release=scope.lookupvar('apt::next_release') ; next_codename=scope.lookupvar('apt::next_codename') %>
# basic
deb <%= debian_url %> <%= next_codename %> <%= lrepos %>