Merge branch 'master' into 'master'

updates for debian sources

There have been some recent changes in debian resulting in changes to sources

* jessie was released and very soon there will be a jessie-backports, so the backports logic needs to handle that
* the http.debian.net redirector has a new official url

See merge request !8
This commit is contained in:
LeLutin 2015-04-28 22:25:51 +00:00
commit 5a9e3a456e

View file

@ -4,11 +4,11 @@ class apt::params () {
$use_volatile = false $use_volatile = false
$include_src = false $include_src = false
$use_next_release = false $use_next_release = false
$debian_url = 'http://http.debian.net/debian/' $debian_url = 'http://httpredir.debian.org/debian/'
$security_url = 'http://security.debian.org/' $security_url = 'http://security.debian.org/'
$backports_url = $::lsbdistcodename ? { $backports_url = $::lsbdistcodename ? {
'wheezy' => $debian_url, 'squeeze' => 'http://backports.debian.org/debian-backports/',
default => 'http://backports.debian.org/debian-backports/', default => $debian_url
} }
$lts_url = $debian_url $lts_url = $debian_url
$volatile_url = 'http://volatile.debian.org/debian-volatile/' $volatile_url = 'http://volatile.debian.org/debian-volatile/'