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:
73d200f
)
ensure dirmngr is installed on Debian Stretch
author
Tomas Barton
<barton.tomas@gmail.com>
Mon, 11 Sep 2017 15:14:16 +0000
(17:14 +0200)
committer
Tomas Barton
<barton.tomas@gmail.com>
Mon, 11 Sep 2017 15:14:16 +0000
(17:14 +0200)
manifests/setting.pp
patch
|
blob
|
history
diff --git
a/manifests/setting.pp
b/manifests/setting.pp
index 507ec9495d66ac2e6d305f71596996d34e7e1973..cee854c9e8aecef48872035cf915e6e8dcaa215d 100644
(file)
--- a/
manifests/setting.pp
+++ b/
manifests/setting.pp
@@
-49,4
+49,14
@@
define apt::setting (
source => $source,
notify => $_notify,
}
+
+ case $::operatingsystem {
+ 'Debian': {
+ if versioncmp($facts['os']['release']['full'], '9.0') >= 0 {
+ # require for adding apt GPG keys
+ ensure_packages(['dirmngr'])
+ }
+ }
+ }
+
}