aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2019-09-16 12:04:42 +0300
committerThomas Backlund <tmb@mageia.org>2019-09-16 12:04:42 +0300
commit8046384f6816c7b27837e7f8a53cd39d5876d4c6 (patch)
tree6a2e7f23b481ec0668564faa2f3be8c3c32cf036 /modules
parent25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be (diff)
downloadpuppet-8046384f6816c7b27837e7f8a53cd39d5876d4c6.tar
puppet-8046384f6816c7b27837e7f8a53cd39d5876d4c6.tar.gz
puppet-8046384f6816c7b27837e7f8a53cd39d5876d4c6.tar.bz2
puppet-8046384f6816c7b27837e7f8a53cd39d5876d4c6.tar.xz
puppet-8046384f6816c7b27837e7f8a53cd39d5876d4c6.zip
adjust gnupg deps for mga7
Diffstat (limited to 'modules')
-rw-r--r--modules/gnupg/manifests/client.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gnupg/manifests/client.pp b/modules/gnupg/manifests/client.pp
index ac123094..d818c55c 100644
--- a/modules/gnupg/manifests/client.pp
+++ b/modules/gnupg/manifests/client.pp
@@ -1,5 +1,9 @@
class gnupg::client {
+if versioncmp($::lsbdistrelease, '7') < 0 {
package {['gnupg',
+} else {
+ package {['gnupg2',
+}
'rng-utils']:
}