diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:16:42 -0300 | 
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:16:42 -0300 | 
| commit | 76ec4642be1a8bc64380c077a5890c4d0f4243e0 (patch) | |
| tree | e31930271b7eefb3c3d693264e012e8ff45832ae /manifests/subsystem/monkeysphere.pp | |
| parent | 6509060a791daeeee13c40f9367489ac5e00880e (diff) | |
| download | puppet-nodo-76ec4642be1a8bc64380c077a5890c4d0f4243e0.tar.gz puppet-nodo-76ec4642be1a8bc64380c077a5890c4d0f4243e0.tar.bz2  | |
Autoload definitions
Diffstat (limited to 'manifests/subsystem/monkeysphere.pp')
| -rw-r--r-- | manifests/subsystem/monkeysphere.pp | 20 | 
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/subsystem/monkeysphere.pp b/manifests/subsystem/monkeysphere.pp new file mode 100644 index 0000000..c09effe --- /dev/null +++ b/manifests/subsystem/monkeysphere.pp @@ -0,0 +1,20 @@ +define nodo::subsystem::monkeysphere( +  $port           = hiera('nodo::monkeysphere_host::ssh_port', ''), +  $mail_recipient = hiera('mail::root_mail_recipient', 'nobody') +) { +  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 { "$mail_recipient": } +}  | 
