X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fparams.pp;h=b35bb1c8d91b0a667d2fbb3a2ae986628db86261;hb=4c9174e51728503c99d2ce224b5443a3c4286df3;hp=c9d0344bcb02450c6cd210c192481ded988c9de4;hpb=a1a677da66a0746724f22f3b0cd745847306b5fc;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/params.pp b/manifests/params.pp index c9d0344..b35bb1c 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -15,19 +15,28 @@ class apt::params { $backports_location = 'http://ftp.debian.org/debian/' } default: { - $backports_location = 'http://ftp.debian.org/debian/' + $backports_location = 'http://http.debian.net/debian/' } } } 'ubuntu': { case $::lsbdistcodename { - 'hardy','lucid','maverick','natty','oneiric','precise': { + 'hardy','maverick','natty','oneiric','precise': { + $backports_location = 'http://us.archive.ubuntu.com/ubuntu' + $ppa_options = '-y' + } + 'lucid': { $backports_location = 'http://us.archive.ubuntu.com/ubuntu' + $ppa_options = undef } default: { $backports_location = 'http://old-releases.ubuntu.com/ubuntu' + $ppa_options = '-y' } } } + default: { + fail("Unsupported osfamily (${::osfamily}) or lsbdistid (${::lsbdistid})") + } } }