- if $::lsbdistcodename != 'wheezy' {
- site::aptrepo { 'backports.debian.org':
- url => 'http://backports.debian.org/debian-backports/',
- suite => "${::lsbdistcodename}-backports",
- components => ['main','contrib','non-free']
- }
-
- if getfromhash($site::nodeinfo, 'hoster', 'mirror-debian') {
- site::aptrepo { 'volatile':
- url => getfromhash($site::nodeinfo, 'hoster', 'mirror-debian'),
- suite => "${::lsbdistcodename}-updates",
- components => ['main','contrib','non-free']
- }
- } else {
- site::aptrepo { 'volatile':
- url => 'http://ftp.debian.org/debian',
- suite => "${::lsbdistcodename}-updates",
- components => ['main','contrib','non-free']
- }
- }
+ site::aptrepo { 'backports.debian.org':
+ url => $mirror_backports,
+ suite => "${::lsbdistcodename}-backports",
+ components => ['main','contrib','non-free']