summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-17 01:12:19 +0200
committerintrigeri <intrigeri@boum.org>2010-10-17 01:18:33 +0200
commit7613ddde674f4688c99bc26502d12007b933f061 (patch)
treebfc2c6f74a207687400e3927c8488349ce600ed1
parent7ed78d549b27a8ffeb945c76b5a365257e7df788 (diff)
Rename $apt_use_volatile to $apt_volatile_enabled.
This will help merging with Nadir's changes.
-rw-r--r--README2
-rw-r--r--manifests/init.pp4
2 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 8a29141..d1249a0 100644
--- a/README
+++ b/README
@@ -76,7 +76,7 @@ If this variable is set to true apt::unattended_upgrades is included,
which will install the package unattended-upgrades and configure it to
daily upgrade the system.
-$apt_use_volatile
+$apt_volatile_enabled
-----------------
If this variable is set to true the Debian Volatile sources are added.
diff --git a/manifests/init.pp b/manifests/init.pp
index dc581f5..85cab9f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -11,9 +11,9 @@ class apt {
default => $apt_clean,
}
- $use_volatile = $apt_use_volatile ? {
+ $use_volatile = $apt_volatile_enabled ? {
'' => false,
- default => $apt_use_volatile,
+ default => $apt_volatile_enabled,
}
$include_src = $apt_include_src ? {