(MODULES-1630) - Expanding source list fix to cover all needed versions
[puppet-modules/puppetlabs-apt.git] / manifests / ppa.pp
index 99af21937529d983cfa4e590ef8e48c7bd3285a9..2ed841bc30684ad49de2916b1ec226ec9e3430cb 100644 (file)
@@ -14,7 +14,7 @@ define apt::ppa(
     fail('apt::ppa is not currently supported on Debian.')
   }
 
-  if versioncmp($facts['lsbdistrelease'], '15.10') >= 0 {
+  if versioncmp($facts['lsbdistrelease'], '14.10') >= 0 {
     $distid = downcase($facts['lsbdistid'])
     $dash_filename = regsubst($name, '^ppa:([^/]+)/(.+)$', "\\1-${distid}-\\2")
     $underscore_filename = regsubst($name, '^ppa:([^/]+)/(.+)$', "\\1_${distid}_\\2")