Merge pull request #788 from david22swan/MODULES-1630
authorTP Honey <tphoney@users.noreply.github.com>
Wed, 29 Aug 2018 13:08:57 +0000 (14:08 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Aug 2018 13:08:57 +0000 (14:08 +0100)
(MODULES-1630) - Expanding source list fix to cover all needed versions

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")