Merge pull request #79 from sathlan/feature/apt-force-timeout
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index 79989c08a45f57c3566c0b50499070f54bff76ca..ed698e72bed8bba502d2081483e3052b2103d0c6 100644 (file)
@@ -5,17 +5,17 @@ class apt::params {
   $apt_conf_d     = "${root}/apt.conf.d"
   $preferences_d  = "${root}/preferences.d"
 
-  case $lsbdistid {
+  case $::lsbdistid {
     'debian': {
       $backports_location = 'http://backports.debian.org/debian-backports'
     }
     'ubuntu': {
-      case $lsbdistcodename {
+      case $::lsbdistcodename {
         'hardy','lucid','maverick','natty','oneiric','precise': {
-          $backports_location = http://us.archive.ubuntu.com/ubuntuk
+          $backports_location = 'http://us.archive.ubuntu.com/ubuntu'
         }
         default: {
-          $backports_location = 'http://old-releases.ubuntu.com/ubuntu',
+          $backports_location = 'http://old-releases.ubuntu.com/ubuntu'
         }
       }
     }