6a2f2352be
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
44 lines
973 B
Text
44 lines
973 B
Text
cdist-type__ssh_dot_ssh(7)
|
|
==========================
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
|
|
|
|
|
NAME
|
|
----
|
|
cdist-type__ssh_dot_ssh - Manage .ssh directory
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Adds or removes .ssh directory to a user home.
|
|
|
|
This type is being used by __ssh_authorized_keys.
|
|
|
|
OPTIONAL PARAMETERS
|
|
-------------------
|
|
state::
|
|
if the directory should be 'present' or 'absent', defaults to 'present'.
|
|
|
|
|
|
EXAMPLES
|
|
--------
|
|
|
|
--------------------------------------------------------------------------------
|
|
# Ensure root has ~/.ssh with the right permissions
|
|
__ssh_dot_ssh root
|
|
|
|
# Nico does not need ~/.ssh anymore
|
|
__ssh_dot_ssh nico --state absent
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
- cdist-type(7)
|
|
- cdist-type__ssh_authorized_keys(7)
|
|
|
|
|
|
COPYING
|
|
-------
|
|
Copyright \(C) 2014 Nico Schottelius. Free use of this software is
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|