diff options
author | Micah Anderson <micah@riseup.net> | 2010-12-07 12:46:37 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-12-07 12:46:37 -0500 |
commit | bb03c32b4589400bd03d76645db6d8bb869424ed (patch) | |
tree | d4963cf32b1f60357bcb55e61616d9fd8afa2cd6 /manifests | |
parent | 2ee70ab5e08eadfe750b5b7131b258270cbca402 (diff) |
switch the default $debian_url to use the Debian CDN mirror address.
The CDN checks your IP and uses the Max-Mind geoIP DB to determine your location and then uses your local country Debian Mirror, or if your local country doesn't have a debian mirror, it uses the local continent. It automatically checks and prunes dead mirrors. the technology for the Debian CDN setup is still improving, I believe that ASN-number associations are the next step to attempt to make more informed, finer-grained choices.
This is more useful than using ftp.debian.org because that is just a round-robin DNS entry that could get you any mirror anywhere.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 179b4d8..e7eac33 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,7 +21,7 @@ class apt { } $debian_url = $apt_debian_url ? { - '' => 'http://ftp.debian.org/debian/', + '' => 'http://cdn.debian.net/debian/', default => "${apt_debian_url}", } $security_url = $apt_security_url ? { |