summaryrefslogtreecommitdiff
path: root/templates/Debian/sources.list.erb
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/sources.list.erb
parent0c86627838c5cafbc4f6c5ecfaf389a90e0dcc20 (diff)
Increased Ubuntu support
Diffstat (limited to 'templates/Debian/sources.list.erb')
-rw-r--r--templates/Debian/sources.list.erb11
1 files changed, 11 insertions, 0 deletions
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 -%>
+