summaryrefslogtreecommitdiff
path: root/templates/Debian
diff options
context:
space:
mode:
authorVarac <varacanero@zeromail.org>2009-12-17 15:53:27 +0100
committerVarac <varacanero@zeromail.org>2009-12-17 15:53:27 +0100
commit5972a3556617b4a9acfb0046ee44164bf9b2f517 (patch)
tree0474fefca78799dad8d14ce8dc504a59778fac35 /templates/Debian
parent0c86627838c5cafbc4f6c5ecfaf389a90e0dcc20 (diff)
Increased Ubuntu support
Diffstat (limited to 'templates/Debian')
-rw-r--r--templates/Debian/sources.list.backports.erb8
-rw-r--r--templates/Debian/sources.list.deb-src.erb11
-rw-r--r--templates/Debian/sources.list.erb11
-rw-r--r--templates/Debian/sources.list.volatile.erb7
4 files changed, 37 insertions, 0 deletions
diff --git a/templates/Debian/sources.list.backports.erb b/templates/Debian/sources.list.backports.erb
new file mode 100644
index 0000000..b62f6d3
--- /dev/null
+++ b/templates/Debian/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://www.backports.org/debian/ <%= lsbdistcodename %>-backports main
+<% end -%>
diff --git a/templates/Debian/sources.list.deb-src.erb b/templates/Debian/sources.list.deb-src.erb
new file mode 100644
index 0000000..6811eca
--- /dev/null
+++ b/templates/Debian/sources.list.deb-src.erb
@@ -0,0 +1,11 @@
+# This file is brought to you by puppet
+
+# basic <%= lsbdistcodename %>
+deb-src http://ftp.debian.org/debian/ <%= lsbdistcodename %> main contrib non-free
+# security suppport
+<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%>
+# There is no security mirror for <%= lsbdistcodename %>
+<% else -%>
+deb-src http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free
+<% end -%>
+
diff --git a/templates/Debian/sources.list.erb b/templates/Debian/sources.list.erb
new file mode 100644
index 0000000..feb5603
--- /dev/null
+++ b/templates/Debian/sources.list.erb
@@ -0,0 +1,11 @@
+# This file is brought to you by puppet
+
+# basic <%= lsbdistcodename %>
+deb http://ftp.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 -%>
+
diff --git a/templates/Debian/sources.list.volatile.erb b/templates/Debian/sources.list.volatile.erb
new file mode 100644
index 0000000..06d6590
--- /dev/null
+++ b/templates/Debian/sources.list.volatile.erb
@@ -0,0 +1,7 @@
+# This file is brought to you by puppet
+
+<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable" || lsbdistcodename == "squeeze") -%>
+# There are no backports for for <%= lsbdistcodename %>
+<% else -%>
+deb http://volatile.debian.org/debian-volatile <%= lsbdistcodename %>/volatile main contrib non-free
+<% end -%>