summaryrefslogtreecommitdiff
path: root/manifests/init.pp
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 /manifests/init.pp
parent967df2f0104908e0fd19021158aaec8e3814188c (diff)
Add opt-in support for Debian Volatile.
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a211006..d79e79a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,6 +16,11 @@ class apt {
require => undef,
}
+ $use_volatile = $apt_use_volatile ? {
+ '' => false,
+ default => $apt_use_volatile,
+ }
+
# init $release, $next_release, $codename, $next_codename
case $lsbdistcodename {
'': {