switch default $debian_url to use http.debian.net which is more accurate and up-to-date than cdn.debian.net

This commit is contained in:
Micah Anderson 2012-12-18 16:41:10 -05:00
parent 4f433dbd52
commit e66823269e

View file

@ -21,7 +21,7 @@ class apt {
}
$debian_url = $apt_debian_url ? {
'' => 'http://cdn.debian.net/debian/',
'' => 'http://http.debian.net/debian/',
default => "${apt_debian_url}",
}
$security_url = $apt_security_url ? {
@ -68,6 +68,9 @@ class apt {
$codename = $lsbdistcodename
$release = $lsbdistrelease
}
'n/a': {
fail("Unknown lsbdistcodename reported by facter: '$lsbdistcodename', please fix this by setting this variable in your manifest.")
}
default: {
$codename = $lsbdistcodename
$release = debian_release($codename)