From: Daniele Sluijters Date: Sun, 15 Feb 2015 18:40:42 +0000 (+0100) Subject: Remove some vars for unattended_upgrades. X-Git-Tag: 2.0.0~45^2~9^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4def3987e0cdfba7bd76824fc97ffee9a00949f5;p=puppet-modules%2Fpuppetlabs-apt.git Remove some vars for unattended_upgrades. --- diff --git a/manifests/params.pp b/manifests/params.pp index ce8a6df..aa90a7d 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -37,41 +37,16 @@ class apt::params { } } case $distid { - 'debian': { - case $distcodename { - 'squeeze': { - $legacy_origin = true - $origins = ['${distro_id} oldstable', #lint:ignore:single_quote_string_with_variables - '${distro_id} ${distro_codename}-security', #lint:ignore:single_quote_string_with_variables - '${distro_id} ${distro_codename}-lts'] #lint:ignore:single_quote_string_with_variables - } - 'wheezy': { - $legacy_origin = false - $origins = ['origin=Debian,archive=stable,label=Debian-Security', - 'origin=Debian,archive=oldstable,label=Debian-Security'] - } - default: { - $legacy_origin = false - $origins = ['origin=Debian,archive=stable,label=Debian-Security'] - } - } - } 'ubuntu': { case $distcodename { 'lucid': { $ppa_options = undef - $legacy_origin = true - $origins = ['${distro_id} ${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables } 'precise', 'trusty', 'utopic', 'vivid': { $ppa_options = '-y' - $legacy_origin = true - $origins = ['${distro_id}:${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables } default: { $ppa_options = '-y' - $legacy_origin = true - $origins = ['${distro_id}:${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables } } }