Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
de8a79e
)
Merge pull request #788 from david22swan/MODULES-1630
author
TP Honey
<tphoney@users.noreply.github.com>
Wed, 29 Aug 2018 13:08:57 +0000
(14:08 +0100)
committer
GitHub
<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
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")