]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Use the main Debian archive's URL as the default URL for backports on Wheezy.
authorintrigeri <intrigeri@boum.org>
Wed, 20 Mar 2013 21:11:46 +0000 (22:11 +0100)
committerintrigeri <intrigeri@boum.org>
Wed, 20 Mar 2013 21:11:46 +0000 (22:11 +0100)
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

manifests/params.pp

index f71570b41132f7b454654e8d46c8b818ad9088bb..b210ff640423acec72fc7efe10a31cca9df209af 100644 (file)
@@ -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'