summaryrefslogtreecommitdiff
path: root/manifests/defines.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-01 22:45:57 +0000
committermh <mh@immerda.ch>2008-12-01 22:45:57 +0000
commit5c530023ffafcd199d3fa2f4e85b9e552d0cf18c (patch)
tree7cb3cfcd1ac3997b13c9a5e059ac42180a43aa89 /manifests/defines.pp
parent8f52edb0c88647a280f1684e0f009a8efd4d9009 (diff)
we should not use action verbs in names, managed is slightly better, but not yet that good
Diffstat (limited to 'manifests/defines.pp')
-rw-r--r--manifests/defines.pp4
1 files changed, 2 insertions, 2 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}",