$location = $::apt::distcodename ? {
'squeeze' => 'http://backports.debian.org/debian-backports',
'wheezy' => 'http://ftp.debian.org/debian/',
- default => 'http://us.archive.ubuntu.com/ubuntu',
+ default => 'http://archive.ubuntu.com/ubuntu',
}
if $::apt::distid == 'debian' {
# set up the actual backports
apt::pin { 'backports':
- before => Apt::Source['backports'],
release => "${release}-backports",
priority => 200,
}
release => "${release}-backports",
repos => $repos,
key => {
- id => $key,
- server => 'pgp.mit.edu',
+ id => $key,
+ server => 'pgp.mit.edu',
},
}
-#Note: This is generally a bad idea. You should not disable keys.
+#Note: This is generally a bad idea. You should not disable verifying repository signatures.
apt::conf { 'unauth':
priority => 99,
content => 'APT::Get::AllowUnauthenticated 1;'