site::aptrepo { 'security':
ensure => absent,
}
- } else {
+ } elsif versioncmp($::lsbmajdistrelease, '8') <= 0 {
site::aptrepo { 'security':
url => [ 'http://security-cdn.debian.org/', 'http://security.debian.org/' ],
suite => "${::lsbdistcodename}/updates",
components => ['main','contrib','non-free']
}
+ } else {
+ site::aptrepo { 'security':
+ url => [ 'http://security.debian.org/' ],
+ suite => "${::lsbdistcodename}/updates",
+ components => ['main','contrib','non-free']
+ }
}
$dbdosuites = [ 'debian-all', $::lsbdistcodename ]