aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/sources.list.backports.erb6
-rw-r--r--templates/sources.list.erb10
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/sources.list.backports.erb b/templates/sources.list.backports.erb
index b271ca7..3be0c4e 100644
--- a/templates/sources.list.backports.erb
+++ b/templates/sources.list.backports.erb
@@ -1,8 +1,8 @@
# This file is brought to you by puppet
# backports
-<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%>
-# There are no backports for for <%= lsbdistcodename %>
+<% if (codename == "sid" || codename == "unstable") -%>
+# There are no backports for for <%= codename %>
<% else -%>
-deb http://backports.debian.org/debian-backports/ <%= lsbdistcodename %>-backports main
+deb http://backports.debian.org/debian-backports/ <%= codename %>-backports main
<% end -%>
diff --git a/templates/sources.list.erb b/templates/sources.list.erb
index feb5603..c3453d1 100644
--- a/templates/sources.list.erb
+++ b/templates/sources.list.erb
@@ -1,11 +1,11 @@
# This file is brought to you by puppet
-# basic <%= lsbdistcodename %>
-deb http://ftp.debian.org/debian/ <%= lsbdistcodename %> main contrib non-free
+# basic <%= codename %>
+deb http://ftp.debian.org/debian/ <%= codename %> main contrib non-free
# security suppport
-<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%>
-# There is no security mirror for <%= lsbdistcodename %>
+<% if (codename == "sid" || codename == "unstable") -%>
+# There is no security mirror for <%= codename %>
<% else -%>
-deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free
+deb http://security.debian.org/ <%= codename %>/updates main contrib non-free
<% end -%>