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:
parent
4f433dbd52
commit
e66823269e
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue