diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-07-14 10:46:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-07-14 10:46:07 -0300 |
commit | 86b92a0fe67616d44235745a049d6cb966b58349 (patch) | |
tree | 1b7c3ea3c102358f10486b73764da0ff43e4d595 /README | |
parent | cfe9ef09911bace2287c21a4fb2449139e40df64 (diff) | |
parent | 7a21cb925707f04609da9e28fef13873a07e7e3a (diff) | |
download | puppet-monkeysphere-86b92a0fe67616d44235745a049d6cb966b58349.tar.gz puppet-monkeysphere-86b92a0fe67616d44235745a049d6cb966b58349.tar.bz2 |
Merge branch 'master' of git://git.mayfirst.org/mfpl/puppet-modules/monkeysphere into mayfirstmayfirst
Conflicts:
manifests/init.pp
Diffstat (limited to 'README')
-rw-r--r-- | README | 61 |
1 files changed, 61 insertions, 0 deletions
@@ -0,0 +1,61 @@ +The monkeysphere puppet module is designed to help you manage your servers +and users using the monkeysphere[0]. + +Example usage for server setup: + + # Assuming you are using the sshd puppet module... + $sshd_authorized_keys_file = "/var/lib/monkeysphere/authorized_keys/%u" + include sshd + + # Optionally, indicate your preferred keyserver. You can specify a server + # under your control and not accessible to the public or + # pool.sks-keyservers.net if you want to publish to the public pool. The + # value you specify here will be used for all monkeysphere and gpg commands + $monkeysphere_keyserver = "zimmermann.mayfirst.org" + include monkeysphere + + # Ensure the server's ssh key is imported into your monkeysphere key ring + monkeysphere::import_key { "main": } + + # Optionally publish the server key to a keyserver (as indicated above) + monkeysphere::publish_server_keys { "main": } + + # Optionally email the server key to your self + monkeysphere::email_server_keys { "we@ourdomain.org": } + + # Be sure to sign the server's key! + + # Indiciate the fingerprint of the gpg key that should be used + # to verify user ids. You can repeat this for as many certifiers + # as you need + monkeysphere::add_id_certifier { "jamie": + keyid => "1CB57C59F2F42470238F53ABBB0B7EE15F2E4935" + } + + # Indicate who should have root access on the server + monkeysphere::authorized_user_ids { "root": + user_ids => [ "sarah <sarah@ourgroup.org>" , "jose <josue@ourgroup.org" ] + } + +In addition, you may want to create a password-less key for a user to use +when logging into another server (e.g. if you want automated backups from +one server to another). + +Example usage for user setup: + + # Ensure that the root user has authentication capable + # monkeysphere key + monkeysphere::auth_capable_user { "root": } + + # Optionally publish the key + monkeysphere::publish_user_key { "root": } + + # Grant full trust to a gpg key so the root user can properly + # authenticate servers to which it connects + # You can run this as many times as you want + monkeysphere::owner_trust { "jamie": + fingerprint => "0EE5BE979282D80B9F7540F1CCD2ED94D21739E9" + } + + +0. http://monkeysphere.info/ |