allow to set allowdupe

This commit is contained in:
mh 2011-12-28 16:26:59 +01:00
parent 49b941aa89
commit f1593efcf9

View file

@ -35,6 +35,7 @@ define user::managed(
$sshkey = 'absent', $sshkey = 'absent',
$password = 'absent', $password = 'absent',
$password_crypted = true, $password_crypted = true,
$allowdupe => false,
$shell = 'absent' $shell = 'absent'
){ ){
@ -62,7 +63,7 @@ define user::managed(
user { $name: user { $name:
ensure => $ensure, ensure => $ensure,
allowdupe => false, allowdupe => $allowdupe,
comment => "$real_name_comment", comment => "$real_name_comment",
home => $real_homedir, home => $real_homedir,
managehome => $managehome, managehome => $managehome,