4 |
# to follow them |
# to follow them |
5 |
# however, for testing purpose, 4096 is too strong, |
# however, for testing purpose, 4096 is too strong, |
6 |
# this empty the entropy of my vm |
# this empty the entropy of my vm |
7 |
class gnupg::keys($email, |
define gnupg::keys($email, |
8 |
$key_name, |
$key_name, |
9 |
$key_type = 'RSA', |
$key_type = 'RSA', |
10 |
$key_length = '4096', |
$key_length = '4096', |
11 |
$expire_date = '400d', |
$expire_date = '400d', |
12 |
$login = 'signbot', |
$login = 'signbot', |
13 |
$batchdir = '/var/lib/signbot/batches', |
$batchdir = '/var/lib/signbot/batches', |
14 |
$keydir = '/var/lib/signbot/keys') { |
$keydir = '/var/lib/signbot/keys') { |
15 |
|
|
16 |
include gnupg::client |
include gnupg::client |
17 |
file { "$name.batch": |
file { "$name.batch": |