fix ruby::libshadow usage

This commit is contained in:
Philipp Gassmann 2010-12-22 15:22:31 +01:00
parent 54ddde930f
commit 673d1393c6

View file

@ -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'],
} }
} }
} }