blob: 8c35d13676ca12cdf9d483711fc4c2f4ff15a4ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Define a monkeysphere host
define monkeysphere_host($port = '') {
include monkeysphere
# Ensure the server's ssh key is imported into your monkeysphere key ring
monkeysphere::import_key { "ssh":
port => $port,
}
# TODO
# 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 { "$root_mail_recipient": }
}
class monkeysphere_nodo {
# Monkeysphere configuration
monkeysphere_host { "$hostname":
port => $monkeysphere_ssh_port ? {
false => '',
default => $monkeysphere_ssh_port,
}
}
}
|