Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e99d83c
)
(MODULES-1630) - Expanding source list fix to cover all needed versions
author
David Swan
<david.swan@puppet.com>
Wed, 29 Aug 2018 09:19:30 +0000
(10:19 +0100)
committer
David Swan
<david.swan@puppet.com>
Wed, 29 Aug 2018 10:52:55 +0000
(11:52 +0100)
manifests/ppa.pp
patch
|
blob
|
history
diff --git
a/manifests/ppa.pp
b/manifests/ppa.pp
index 99af21937529d983cfa4e590ef8e48c7bd3285a9..2ed841bc30684ad49de2916b1ec226ec9e3430cb 100644
(file)
--- a/
manifests/ppa.pp
+++ b/
manifests/ppa.pp
@@
-14,7
+14,7
@@
define apt::ppa(
fail('apt::ppa is not currently supported on Debian.')
}
- if versioncmp($facts['lsbdistrelease'], '1
5
.10') >= 0 {
+ if versioncmp($facts['lsbdistrelease'], '1
4
.10') >= 0 {
$distid = downcase($facts['lsbdistid'])
$dash_filename = regsubst($name, '^ppa:([^/]+)/(.+)$', "\\1-${distid}-\\2")
$underscore_filename = regsubst($name, '^ppa:([^/]+)/(.+)$', "\\1_${distid}_\\2")