Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp 2010-11-22 12:13:10 UTC (rev 385)
+++ puppet/modules/buildsystem/manifests/init.pp 2010-11-22 12:29:28 UTC (rev 386)
@@ -48,9 +48,15 @@
managehome => true,
gid => $build_login,
shell => "/bin/bash",
- password => '*', # set password to * to unlock the account but forbid login through login
+ notify => Exec["unlock$build_login"],
}
+ # set password to * to unlock the account but forbid login through login
+ exec { "unlock$build_login":
+ command => "usermod -p '*' $build_login",
+ refreshonly => true,
+ }
+
file { $build_home_dir:
ensure => "directory",
}