(MODULES-1630) - Expanding source list fix to cover all needed versions
authorDavid Swan <david.swan@puppet.com>
Wed, 29 Aug 2018 09:19:30 +0000 (10:19 +0100)
committerDavid Swan <david.swan@puppet.com>
Wed, 29 Aug 2018 10:52:55 +0000 (11:52 +0100)
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")