aboutsummaryrefslogtreecommitdiff
path: root/manifests/ssh_authorized_key.pp
AgeCommit message (Collapse)Author
2013-02-03style fixesMichael Moll
silence puppet-lint
2011-01-30ssh_authorized_key: use $name for user by defaultGabriel Filion
Currently ssh_authorized_key has some logic about $user being false or '', but it sets its value to default to 'root'. So, in order to use the name as the user's name, one has to clear the user parameter, which is totally redundant. Since it is sometimes useful to publish multiple keys for a user, the $user parameter is useful. To make using ssh_authorized_key for one-key normal users simpler, make $user default to being empty (which will use $name as the user name). 'root' can always be specified either via the name or by the $user paramter. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-01-30Fix ssh_authorized_keyGabriel Filion
When one uses the $name to define the user that should receive an SSH key, setting $user to a negative value, ssh_authorized_key currently creates the authorized_keys file under /home/.ssh/authorized_keys Fix this by changing ${user} to ${real_user} in the key's path. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2009-12-18make key removal a bit easiermh
2009-12-18enable that ssh auth-keys can be removedmh
2009-12-10undef or '' as defaultmh
2009-12-10merged with riseup module, various cleaning upmh
2009-12-07factor everything into its own filemh