tag | fafeb6d5b850a8b3f77f888bba812c8850ec41da | |
---|---|---|
tagger | Garrett Honeycutt <code@garretthoneycutt.com> | Thu Oct 17 17:20:19 2013 -0400 |
object | fef452b80331b2501d9f72951e4d275eef8eded3 |
v2.3.0
commit | fef452b80331b2501d9f72951e4d275eef8eded3 | [log] [tgz] |
---|---|---|
author | Garrett Honeycutt <code@garretthoneycutt.com> | Thu Oct 17 17:19:50 2013 -0400 |
committer | Garrett Honeycutt <code@garretthoneycutt.com> | Thu Oct 17 17:19:50 2013 -0400 |
tree | fb82965e519ea79cb07d18cd02ebb7322761459a | |
parent | 62989c5c195c07784972620f6629a2df48326cc2 [diff] |
Release 2.3.0 Support for Suse 11
Manage ssh client and server.
The module uses exported resources to manage ssh keys and removes ssh keys that are not managed by puppet. This behavior is managed by the parameters ssh_key_ensure and purge_keys.
===
This module has been tested to work on the following systems.
===
Hash of keys for user's ~/.ssh/authorized_keys
Array of package names used for installation.
Allow root login. Valid values are ‘yes’, ‘without-password’, ‘forced-commands-only’, ‘no’.
Remove keys not managed by puppet.
Open firewall for SSH service.
Path to ssh_config.
ssh_config's owner.
ssh_config's group.
ssh_config's mode.
ForwardX11 option in ssh_config. Not set by default.
ForwardAgent option in ssh_config. Not set by default.
ServerAliveInterval option in ssh_config. Not set by default.
Path to sshd_config.
sshd_config's owner.
sshd_config's group.
sshd_config's mode.
SyslogFacility option in sshd_config.
LoginGraceTime option in sshd_config.
ChallengeResponseAuthentication option in sshd_config.
PrintMotd option in sshd_config.
UseDNS option in sshd_config.
Banner option in sshd_config.
XAuthLocation option in sshd_config.
Path to sftp file transfer subsystem in sshd_config.
Ensure SSH service is running. Valid values are ‘stopped’ and ‘running’.
Name of the SSH service.
Start SSH at boot. Valid values are ‘true’, ‘false’ and ‘manual’.
Specify that the init script has a restart command. Valid values are ‘true’ and ‘false’.
Declare whether the service's init script has a functional status command. Valid values are ‘true’ and ‘false’
Export node SSH key. Valid values are ‘present’ and ‘absent’.
Encryption type for SSH key. Valid values are ‘rsa’, ‘dsa’, ‘ssh-dss’ and ‘ssh-rsa’
Manage SSH config of root. Valid values are ‘true’ and ‘false’.
Content of root's ~/.ssh/config.
===
This works by passing the ssh::keys hash to the ssh_authorized_keys type with create_resources(). Because of this, you may specify any valid parameter for ssh_authorized_key. See the Type Reference for a complete list.
Push authorized key “root_for_userX” and remove key “root_for_userY” through Hiera.