aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorVarac <varacanero@zeromail.org>2009-12-10 11:00:00 +0100
committerVarac <varacanero@zeromail.org>2009-12-10 11:00:00 +0100
commitc1694ae3372352d975d5f49b4c2fd0e12e8e827e (patch)
treeac70fdb4d4735f82b408d593cd6a136b06574c54 /templates
parent802e591a25f8627c28d691b3408eb504c74feb97 (diff)
downloadpuppet-apt-c1694ae3372352d975d5f49b4c2fd0e12e8e827e.tar.gz
puppet-apt-c1694ae3372352d975d5f49b4c2fd0e12e8e827e.tar.bz2
added $backports_enabled for including backports repository
Diffstat (limited to 'templates')
-rw-r--r--templates/sources.list.backports.erb8
-rw-r--r--templates/sources.list.erb6
2 files changed, 8 insertions, 6 deletions
diff --git a/templates/sources.list.backports.erb b/templates/sources.list.backports.erb
new file mode 100644
index 0000000..b62f6d3
--- /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://www.backports.org/debian/ <%= lsbdistcodename %>-backports main
+<% end -%>
diff --git a/templates/sources.list.erb b/templates/sources.list.erb
index 169d7b5..feb5603 100644
--- a/templates/sources.list.erb
+++ b/templates/sources.list.erb
@@ -9,9 +9,3 @@ deb http://ftp.debian.org/debian/ <%= lsbdistcodename %> main contrib non-free
deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free
<% end -%>
-# backports
-<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%>
-# There are no backports for for <%= lsbdistcodename %>
-<% else -%>
-deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main
-<% end -%>