Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #720 from actatux/apt-transport-https
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
init.pp
diff --git
a/manifests/init.pp
b/manifests/init.pp
index 319e0649cd74fc0695f13afc8119804f289db7fb..581ce2d32db403b91eeda05a41a4db732a5e386d 100644
(file)
--- a/
manifests/init.pp
+++ b/
manifests/init.pp
@@
-183,7
+183,7
@@
class apt (
# required for adding GPG keys on Debian 9 (and derivatives)
case $facts['os']['name'] {
'Debian': {
# required for adding GPG keys on Debian 9 (and derivatives)
case $facts['os']['name'] {
'Debian': {
- if versioncmp($facts['os']['release']['
full'], '9.0
') >= 0 {
+ if versioncmp($facts['os']['release']['
major'], '9
') >= 0 {
ensure_packages(['dirmngr'])
}
}
ensure_packages(['dirmngr'])
}
}