which will install the package unattended-upgrades and configure it to
daily upgrade the system.
+$apt_use_volatile
+-----------------
+
+If this variable is set to true the Debian Volatile sources are added.
+By default this is false for backward compatibility with older
+versions of this module.
+
Classes
=======
require => undef,
}
+ $use_volatile = $apt_use_volatile ? {
+ '' => false,
+ default => $apt_use_volatile,
+ }
+
# init $release, $next_release, $codename, $next_codename
case $lsbdistcodename {
'': {
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 %>
+