From 4def3987e0cdfba7bd76824fc97ffee9a00949f5 Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Sun, 15 Feb 2015 19:40:42 +0100 Subject: [PATCH 1/1] Remove some vars for unattended_upgrades. --- manifests/params.pp | 25 ------------------------- 1 file changed, 25 deletions(-) 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 } } } -- 2.32.3