blob: cbe770e6b619e52ada82732fdd8ae5ede8f519e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
define nodo::subsystem::monkeysphere(
$port = lookup('nodo::monkeysphere_host::ssh_port', undef, undef, ''),
$mail_recipient = lookup('mail::root_mail_recipient', undef, undef, 'nobody')
) {
include monkeysphere
# Ensure the server's ssh key is imported into your monkeysphere key ring
monkeysphere::import_key { "ssh":
port => $port,
}
# Currently we don't have a defined policy regarding whether to publish all
# our node keys to public keyservers, so leave automatic publishing disabled
# for now.
#monkeysphere::publish_server_keys { }
# Email the server key
monkeysphere::email_server_keys { "$mail_recipient":
require => Package['mailx'],
}
}
|