From: intrigeri Date: Sat, 16 Oct 2010 23:12:19 +0000 (+0200) Subject: Rename $apt_use_volatile to $apt_volatile_enabled. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7613ddde674f4688c99bc26502d12007b933f061;p=puppet-apt.git Rename $apt_use_volatile to $apt_volatile_enabled. This will help merging with Nadir's changes. --- 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 ? {