diff options
author | mh <mh@immerda.ch> | 2008-11-09 15:16:20 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-11-09 15:16:20 +0000 |
commit | 189fdbed1d580001eb3102cadf2e936937d23e06 (patch) | |
tree | ffc6708c940917694b19ac2a17b251c7ae66c4bb | |
parent | f349f00244091e475695640b193b1d76abdb52c0 (diff) |
enable possibility to set uid and gid
-rw-r--r-- | manifests/defines.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp index 7113474..7dfca45 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -164,12 +164,16 @@ define user::define_user( define user::sftp_only( $managehome = 'false', + $uid = 'absent', + $gid = 'absent', $homedir_mode = '0750', $password = 'absent', $password_crypted = 'true' ) { include user::groups::sftponly user::define_user{"${name}": + uid => $uid, + gid => $gid, name_comment => "SFTP-only_user_${name}", groups => [ 'sftponly' ], managehome => $managehome, |