use new stdlib function

This commit is contained in:
mh 2011-10-08 20:06:45 +02:00
parent 9bbd720da1
commit 49b941aa89

View file

@ -56,7 +56,7 @@ define user::managed(
default => $shell,
}
if strlength($name) > 31 {
if size($name) > 31 {
fail("Usernames can't be longer than 31 characters. ${name} is too long!")
}