aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-04-23 13:08:33 +0200
committerintrigeri <intrigeri@boum.org>2011-04-23 13:08:33 +0200
commitb3b704d02e6910e66fc1e23ce812185b124ca3bb (patch)
treeab77f64f866ce846d45d4e46513fa577a1d82e01 /templates
parente2b4f42b547c87bfe34d52e9c95b8f4b1d1aa15a (diff)
downloadpuppet-apt-b3b704d02e6910e66fc1e23ce812185b124ca3bb.tar.gz
puppet-apt-b3b704d02e6910e66fc1e23ce812185b124ca3bb.tar.bz2
Debian sources: don't use next release's backports.
The APT pinning we ship does not support that, and this seems a bit too much of a corner case to me to deserve being supported out-of-the-box. Anyone willing to use current release + next release + next release backports (e.g. Lenny + Squeeze + squeeze-backports) can anyway do so using apt::sources_list and apt::preferences_snippet. https://labs.riseup.net/code/issues/2856 is the bug that triggered this change.
Diffstat (limited to 'templates')
-rw-r--r--templates/Debian/sources.list.erb10
1 files changed, 0 insertions, 10 deletions
diff --git a/templates/Debian/sources.list.erb b/templates/Debian/sources.list.erb
index 3a810e3..b0f490f 100644
--- a/templates/Debian/sources.list.erb
+++ b/templates/Debian/sources.list.erb
@@ -67,16 +67,6 @@ deb-src <%= security_url %> <%= next_codename %>/updates <%= repos %>
<% end -%>
<% end -%>
-# backports
-<% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") -%>
-# There is no backports archive for <%= next_release %>
-<% else -%>
-deb <%= backports_url %> <%= next_codename %>-backports <%= repos %>
-<% if include_src then -%>
-deb-src <%= backports_url %> <%= next_codename %>-backports <%= repos %>
-<% end -%>
-<% end -%>
-
<% if use_volatile -%>
# volatile
<% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") -%>