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']
}
}