diff options
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 31a7512..120f147 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -14,7 +14,7 @@ class user { $groups = [], $managehome = true, $homedir_mode = '0750', - $name_comment = 'absent', + $comment = 'absent', $homedir = 'absent', $password = 'absent', $shell = 'absent', @@ -36,9 +36,9 @@ class user { default => $homedir, } - $real_name_comment = $name_comment ? { + $real_name_comment = $comment ? { 'absent' => $name, - default => $name_comment, + default => $comment, } $real_sshkey_type = $sshkey_type ? { |