summaryrefslogtreecommitdiff
path: root/manifests/ssh_authorized_key.pp
AgeCommit message (Collapse)Author
2015-05-21Add newline to ssh_authorized_key file contentJerome Charaoui
2015-05-21Simplify ssh_authorized_keyJerome Charaoui
2015-05-21Revert "Simplify ssh_authorized_key"Jerome Charaoui
puppet-lint complains about "selector inside resource" This reverts commit f3c0115743cab9d4e6c08b654b67631566572d41.
2015-05-21Simplify ssh_authorized_keyJerome Charaoui
2015-05-21Add header to ssh_authorized_key when override_builting = 1Jerome Charaoui
2015-05-21Fix invalid single quotes around variablesJerome Charaoui
2015-05-20add override_builtin parameter to handle the common authorized_key directory ↵Matt Taggart
case
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