Location changed:
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
1 class apt::params {
2   $root           = '/etc/apt'
3   $provider       = '/usr/bin/apt-get'
4   $sources_list_d = "${root}/sources.list.d"
5   $apt_conf_d     = "${root}/apt.conf.d"
6   $preferences_d  = "${root}/preferences.d"
7
8   case $::lsbdistid {
9     'debian': {
10       case $::lsbdistcodename {
11         'squeeze': {
12           $backports_location = 'http://backports.debian.org/debian-backports'
13         }
14         default: {
15           $backports_location = 'http://ftp.debian.org/debian/'
16         }
17       }
18     }
19     'ubuntu': {
20       case $::lsbdistcodename {
21         'hardy','lucid','maverick','natty','oneiric','precise': {
22           $backports_location = 'http://us.archive.ubuntu.com/ubuntu'
23         }
24         default: {
25           $backports_location = 'http://old-releases.ubuntu.com/ubuntu'
26         }
27       }
28     }
29   }
30 }