From 7613ddde674f4688c99bc26502d12007b933f061 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 17 Oct 2010 01:12:19 +0200 Subject: Rename $apt_use_volatile to $apt_volatile_enabled. This will help merging with Nadir's changes. --- README | 2 +- manifests/init.pp | 4 ++-- 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 ? { -- cgit v1.2.3