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.erb22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/sources.list+backports.erb b/templates/sources.list+backports.erb
new file mode 100644
index 0000000..7b99434
--- /dev/null
+++ b/templates/sources.list+backports.erb
@@ -0,0 +1,22 @@
+# This file is brought to you by puppet
+
+# basic <%= lsbdistcodename %>
+deb http://ftp.at.debian.org/debian <%= lsbdistcodename %> main contrib non-free
+# security suppport
+<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%>
+# There is no security mirror for <%= lsbdistcodename %>
+<% else -%>
+deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free
+<% end -%>
+# local packages
+#deb http://puppetmaster:81/ /
+
+# additional packages, see preferences
+#deb http://ftp.at.debian.org/debian sid main
+
+# backports
+<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%>
+# There are no backports for for <%= lsbdistcodename %>
+<% else -%>
+deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main
+<% end -%>