diff options
author | intrigeri <intrigeri@boum.org> | 2013-03-20 22:11:46 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2013-03-20 22:11:46 +0100 |
commit | 46c58b07bfd6d6d6ed4bc4139ed4fd14bfe8ada3 (patch) | |
tree | ac9e1fe57290027570d68a2d1835035400307133 | |
parent | 5ec8ffb4ef1bdb6194d306f4e24b063b83c09982 (diff) | |
download | puppet-apt-46c58b07bfd6d6d6ed4bc4139ed4fd14bfe8ada3.tar.gz puppet-apt-46c58b07bfd6d6d6ed4bc4139ed4fd14bfe8ada3.tar.bz2 |
Use the main Debian archive's URL as the default URL for backports on Wheezy.
The backports are now fully integrated with the main archive.
See:
https://labs.riseup.net/code/issues/4270
https://lists.debian.org/debian-devel-announce/2013/03/msg00007.html
-rw-r--r-- | manifests/params.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index f71570b..b210ff6 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -5,7 +5,10 @@ class apt::params () { $use_next_release = false $debian_url = 'http://http.debian.net/debian/' $security_url = 'http://security.debian.org/' - $backports_url = 'http://backports.debian.org/debian-backports/' + $backports_url = $::lsbdistcodename ? { + 'wheezy' => $debian_url, + default => 'http://backports.debian.org/debian-backports/', + } $volatile_url = 'http://volatile.debian.org/debian-volatile/' $ubuntu_url = 'http://archive.ubuntu.com/ubuntu' $repos = 'auto' |