use new stdlib function
This commit is contained in:
parent
9bbd720da1
commit
49b941aa89
1 changed files with 1 additions and 1 deletions
|
@ -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!")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue