aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-06 12:00:32 +0200
committerintrigeri <intrigeri@boum.org>2010-10-06 12:04:17 +0200
commitde94b807ee9495d63d1afe16579bd435826e20f0 (patch)
tree21fb2cee199c9015306218ab757d9615be62d88a /templates
parent967df2f0104908e0fd19021158aaec8e3814188c (diff)
downloadpuppet-apt-de94b807ee9495d63d1afe16579bd435826e20f0.tar.gz
puppet-apt-de94b807ee9495d63d1afe16579bd435826e20f0.tar.bz2
Add opt-in support for Debian Volatile.
Diffstat (limited to 'templates')
-rw-r--r--templates/sources.list.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/sources.list.erb b/templates/sources.list.erb
index 989d98d..d3739ff 100644
--- a/templates/sources.list.erb
+++ b/templates/sources.list.erb
@@ -19,3 +19,12 @@ deb http://security.debian.org/ <%= codename %>/updates <%= repos %>
deb http://backports.debian.org/debian-backports/ <%= codename %>-backports <%= repos %>
<% end %>
+<% if use_volatile %>
+# volatile
+<% if (release == "testing" || release == "unstable" || release == "experimental") %>
+# There is no volatile archive for <%= release %>
+<% else %>
+deb http://volatile.debian.org/debian-volatile/ <%= codename %>/volatile <%= repos %>
+<% end %>
+<% end %>
+