aboutsummaryrefslogtreecommitdiff
path: root/templates/sources.list.backports.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sources.list.backports.erb')
-rw-r--r--templates/sources.list.backports.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/sources.list.backports.erb b/templates/sources.list.backports.erb
new file mode 100644
index 0000000..b271ca7
--- /dev/null
+++ b/templates/sources.list.backports.erb
@@ -0,0 +1,8 @@
+# This file is brought to you by puppet
+
+# backports
+<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%>
+# There are no backports for for <%= lsbdistcodename %>
+<% else -%>
+deb http://backports.debian.org/debian-backports/ <%= lsbdistcodename %>-backports main
+<% end -%>