diff options
author | mh <mh@immerda.ch> | 2008-12-01 22:45:57 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-12-01 22:45:57 +0000 |
commit | 5c530023ffafcd199d3fa2f4e85b9e552d0cf18c (patch) | |
tree | 7cb3cfcd1ac3997b13c9a5e059ac42180a43aa89 | |
parent | 8f52edb0c88647a280f1684e0f009a8efd4d9009 (diff) |
we should not use action verbs in names, managed is slightly better, but not yet that good
-rw-r--r-- | manifests/defines.pp | 4 | ||||
-rw-r--r-- | manifests/openbsd/defaults.pp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp index 7699b4f..d3bdb70 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -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}", diff --git a/manifests/openbsd/defaults.pp b/manifests/openbsd/defaults.pp index e20814d..d69105e 100644 --- a/manifests/openbsd/defaults.pp +++ b/manifests/openbsd/defaults.pp @@ -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', |