fix ruby::libshadow usage
This commit is contained in:
parent
54ddde930f
commit
673d1393c6
1 changed files with 1 additions and 2 deletions
|
@ -192,7 +192,7 @@ define user::managed(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
include ruby-libshadow
|
require ruby::libshadow
|
||||||
if $password_crypted {
|
if $password_crypted {
|
||||||
$real_password = $password
|
$real_password = $password
|
||||||
} else {
|
} else {
|
||||||
|
@ -204,7 +204,6 @@ define user::managed(
|
||||||
}
|
}
|
||||||
User[$name]{
|
User[$name]{
|
||||||
password => $real_password,
|
password => $real_password,
|
||||||
require => Package['ruby-libshadow'],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue