}
}
+ # ca-certificates is installed by the ssl module
+ if versioncmp($::lsbmajdistrelease, '9') <= 0 {
+ package { 'apt-transport-https':
+ ensure => installed,
+ }
+ } else {
+ # transitional package in buster
+ package { 'apt-transport-https':
+ ensure => purged,
+ }
+ }
$dbdosuites = [ 'debian-all', $::lsbdistcodename ]
site::aptrepo { 'db.debian.org':
- url => 'http://db.debian.org/debian-admin',
+ url => 'https://db.debian.org/debian-admin',
suite => $dbdosuites,
components => 'main',
key => 'puppet:///modules/debian_org/db.debian.org.gpg',