From ac16f1a5f660d81a5eeae6682c94db835768ae0d Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Mon, 8 Apr 2019 21:14:17 +0200 Subject: [PATCH] Enable backports on buster --- modules/debian_org/manifests/apt.pp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/modules/debian_org/manifests/apt.pp b/modules/debian_org/manifests/apt.pp index f7f113bdc..62feca2f4 100644 --- a/modules/debian_org/manifests/apt.pp +++ b/modules/debian_org/manifests/apt.pp @@ -22,18 +22,11 @@ class debian_org::apt { suite => [ $::lsbdistcodename ], components => ['main','contrib','non-free'] } - # stretch - } elsif versioncmp($::lsbmajdistrelease, '9') <= 0 { - site::aptrepo { 'debian': - url => $mirror, - suite => [ $::lsbdistcodename, "${::lsbdistcodename}-backports", "${::lsbdistcodename}-updates" ], - components => ['main','contrib','non-free'] - } - # buster or newer + # stretch or buster } else { site::aptrepo { 'debian': url => $mirror, - suite => [ $::lsbdistcodename, "${::lsbdistcodename}-updates" ], + suite => [ $::lsbdistcodename, "${::lsbdistcodename}-backports", "${::lsbdistcodename}-updates" ], components => ['main','contrib','non-free'] } } -- 2.20.1