From: Aurelien Jarno Date: Mon, 1 Apr 2019 13:23:25 +0000 (+0200) Subject: Now -backports or -updates for jessie X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f56fb99f2415ef71c226440bc9666178cfa01f2a;p=mirror%2Fdsa-puppet.git Now -backports or -updates for jessie --- diff --git a/modules/debian_org/manifests/apt.pp b/modules/debian_org/manifests/apt.pp index 33d9c6b31..f7f113bdc 100644 --- a/modules/debian_org/manifests/apt.pp +++ b/modules/debian_org/manifests/apt.pp @@ -15,12 +15,21 @@ class debian_org::apt { $mirror = [ $fallbackmirror ] } - if versioncmp($::lsbmajdistrelease, '9') <= 0 { + # jessie + if versioncmp($::lsbmajdistrelease, '8') <= 0 { + site::aptrepo { 'debian': + url => $mirror, + 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 } else { site::aptrepo { 'debian': url => $mirror,