allow to set allowdupe
This commit is contained in:
parent
49b941aa89
commit
f1593efcf9
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue