aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gnupg/manifests/client.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gnupg/manifests/client.pp')
-rw-r--r--modules/gnupg/manifests/client.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/gnupg/manifests/client.pp b/modules/gnupg/manifests/client.pp
new file mode 100644
index 00000000..301e569a
--- /dev/null
+++ b/modules/gnupg/manifests/client.pp
@@ -0,0 +1,17 @@
+class gnupg::client {
+if versioncmp($::lsbdistrelease, '7') < 0 {
+ package {['gnupg',
+ 'rng-utils']:
+ }
+} else {
+ package {['gnupg2',
+ 'rng-utils']:
+ }
+}
+
+ mga_common::local_script { 'create_gnupg_keys.sh':
+ content => template('gnupg/create_gnupg_keys.sh')
+ }
+}
+
+