X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fparams.pp;h=51a01be91a9f07772a606a6afbc30801ccedbc34;hb=8453d40138e0f94fea8291c8299fc15aced9afed;hp=aa0f80d60c9d292e04545898ce972c303feaa97b;hpb=256c90e0fd3e9034477b81a7a3454393f1ed576c;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/params.pp b/manifests/params.pp index aa0f80d..51a01be 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -11,18 +11,27 @@ class apt::params { 'squeeze': { $backports_location = 'http://backports.debian.org/debian-backports' } - default: { + 'wheezy': { $backports_location = 'http://ftp.debian.org/debian/' } + default: { + $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' } } }