# jessie
if versioncmp($::lsbmajdistrelease, '8') <= 0 {
- site::aptrepo { 'debian':
+ base::aptrepo { 'debian':
url => $mirror,
suite => [ $::lsbdistcodename ],
components => ['main','contrib','non-free']
}
# stretch or buster
} else {
- site::aptrepo { 'debian':
+ base::aptrepo { 'debian':
url => $mirror,
suite => [ $::lsbdistcodename, "${::lsbdistcodename}-backports", "${::lsbdistcodename}-updates" ],
components => ['main','contrib','non-free']
}
if versioncmp($::lsbmajdistrelease, '8') <= 0 {
- site::aptrepo { 'security':
+ base::aptrepo { 'security':
url => [ 'http://security-cdn.debian.org/', 'http://security.debian.org/' ],
suite => "${::lsbdistcodename}/updates",
components => ['main','contrib','non-free']
}
} else {
- site::aptrepo { 'security':
+ base::aptrepo { 'security':
url => [ 'http://security.debian.org/' ],
suite => "${::lsbdistcodename}/updates",
components => ['main','contrib','non-free']
}
}
$dbdosuites = [ 'debian-all', $::lsbdistcodename ]
- site::aptrepo { 'db.debian.org':
+ base::aptrepo { 'db.debian.org':
url => 'https://db.debian.org/debian-admin',
suite => $dbdosuites,
components => 'main',
}
if ($::hostname in []) {
- site::aptrepo { 'proposed-updates':
+ base::aptrepo { 'proposed-updates':
url => $mirror,
suite => "${::lsbdistcodename}-proposed-updates",
components => ['main','contrib','non-free']
}
} else {
- site::aptrepo { 'proposed-updates':
+ base::aptrepo { 'proposed-updates':
ensure => absent,
}
}
- site::aptrepo { 'debian-cdn':
+ base::aptrepo { 'debian-cdn':
ensure => absent,
}
- site::aptrepo { 'debian.org':
+ base::aptrepo { 'debian.org':
ensure => absent,
}
- site::aptrepo { 'debian2':
+ base::aptrepo { 'debian2':
ensure => absent,
}
- site::aptrepo { 'backports2.debian.org':
+ base::aptrepo { 'backports2.debian.org':
ensure => absent,
}
- site::aptrepo { 'backports.debian.org':
+ base::aptrepo { 'backports.debian.org':
ensure => absent,
}
- site::aptrepo { 'volatile':
+ base::aptrepo { 'volatile':
ensure => absent,
}
- site::aptrepo { 'db.debian.org-suite':
+ base::aptrepo { 'db.debian.org-suite':
ensure => absent,
}
- site::aptrepo { 'debian-lts':
+ base::aptrepo { 'debian-lts':
ensure => absent,
}