aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 18:11:43 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 18:11:43 +0000
commit32ceb2bfe497deda3e137a0c776e0d183e0e1fc4 (patch)
treea58d9efbb5dbaed3a103539059de9acf7cc8e0c7 /modules
parent3ff63b90060132b567a27ce2a3e3073cdcb37cf9 (diff)
downloadpuppet-32ceb2bfe497deda3e137a0c776e0d183e0e1fc4.tar
puppet-32ceb2bfe497deda3e137a0c776e0d183e0e1fc4.tar.gz
puppet-32ceb2bfe497deda3e137a0c776e0d183e0e1fc4.tar.bz2
puppet-32ceb2bfe497deda3e137a0c776e0d183e0e1fc4.tar.xz
puppet-32ceb2bfe497deda3e137a0c776e0d183e0e1fc4.zip
fix gnupg::keys type
Diffstat (limited to 'modules')
-rw-r--r--modules/gnupg/manifests/keys.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/gnupg/manifests/keys.pp b/modules/gnupg/manifests/keys.pp
index ec45de87..948619a2 100644
--- a/modules/gnupg/manifests/keys.pp
+++ b/modules/gnupg/manifests/keys.pp
@@ -4,14 +4,14 @@
# to follow them
# however, for testing purpose, 4096 is too strong,
# this empty the entropy of my vm
-class gnupg::keys($email,
- $key_name,
- $key_type = 'RSA',
- $key_length = '4096',
- $expire_date = '400d',
- $login = 'signbot',
- $batchdir = '/var/lib/signbot/batches',
- $keydir = '/var/lib/signbot/keys') {
+define gnupg::keys($email,
+ $key_name,
+ $key_type = 'RSA',
+ $key_length = '4096',
+ $expire_date = '400d',
+ $login = 'signbot',
+ $batchdir = '/var/lib/signbot/batches',
+ $keydir = '/var/lib/signbot/keys') {
include gnupg::client
file { "$name.batch":