we should not use action verbs in names, managed is slightly better, but not yet that good
This commit is contained in:
parent
8f52edb0c8
commit
5c530023ff
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
# absent: let the system take a gid (*default*)
|
||||
# uid: take the same as the uid has if it isn't absent
|
||||
# <value>: take this gid
|
||||
define user::define_user(
|
||||
define user::managed(
|
||||
$name_comment = 'absent',
|
||||
$uid = 'absent',
|
||||
$gid = 'absent',
|
||||
|
@ -190,7 +190,7 @@ define user::sftp_only(
|
|||
$password_crypted = 'true'
|
||||
) {
|
||||
include user::groups::sftponly
|
||||
user::define_user{"${name}":
|
||||
user::managed{"${name}":
|
||||
uid => $uid,
|
||||
gid => $gid,
|
||||
name_comment => "SFTP-only_user_${name}",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
class user::openbsd::defaults {
|
||||
# we need this somehow to mange it
|
||||
user::define_user{root:
|
||||
user::managed{root:
|
||||
name => 'root',
|
||||
name_comment => 'Charlie &',
|
||||
uid => '0',
|
||||
|
|
Loading…
Reference in a new issue