- 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.org':
- ensure => absent,
- keyid => '16BA136C',
- key => 'puppet:///modules/debian-org/backports.org.asc',
- }
-
- site::aptrepo { 'debian.org':
- ensure => absent,
- }
-
- site::aptrepo { 'db.debian.org':
- url => 'http://db.debian.org/debian-admin',
- suite => 'lenny',
- components => 'main',
- key => 'puppet:///modules/debian-org/db.debian.org.asc',
- }
-
- if getfromhash($site::nodeinfo, 'hoster', 'mirror-debian') {
- site::aptrepo { 'debian':
- url => getfromhash($site::nodeinfo, 'hoster', 'mirror-debian'),
- suite => $::lsbdistcodename,
- components => ['main','contrib','non-free']
- }
- }