Don't pass options to ppa on lucid
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index 955954fe89f65ea1e9e00f7aaaaf9fe5a5a610c5..ae464436dadefdc3a451302ca5819db596f072ca 100644 (file)
@@ -21,11 +21,17 @@ class apt::params {
     }
     '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'
         }
       }
     }