diff options
author | mh <mh@immerda.ch> | 2010-01-29 21:23:05 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-01-29 21:23:05 +0100 |
commit | 86296e2391e9cbeffe676d4a673ce391dcf41518 (patch) | |
tree | 7b26620d472fc89c987b0cdc2054c5dd9cccfcc5 | |
parent | 59cfdc9d4f5198661cebe51b37e5c06fd1f3f63a (diff) | |
parent | c9e7ef48118c98a36d54fe0ffc77a84e5c511d90 (diff) |
Merge commit 'lavamin/master'
-rw-r--r-- | manifests/sftp_only.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/sftp_only.pp b/manifests/sftp_only.pp index 2047ef1..c1b6dcb 100644 --- a/manifests/sftp_only.pp +++ b/manifests/sftp_only.pp @@ -4,6 +4,7 @@ define user::sftp_only( $managehome = false, $uid = 'absent', $gid = 'uid', + $homedir = 'absent', $homedir_mode = '0750', $password = 'absent', $password_crypted = true @@ -16,6 +17,7 @@ define user::sftp_only( name_comment => "SFTP-only_user_${name}", groups => [ 'sftponly' ], managehome => $managehome, + homedir => $homedir, homedir_mode => $homedir_mode, shell => $operatingsystem ? { debian => '/usr/sbin/nologin', |