Many thanks John. Now it is solved.
Here is the solution.
init.pp
class admin_user::group {
group { "baaderadm":
gid => "888",
ensure => present,
}
}
class admin_user {
include admin_user::group, admin_user::list
}
list.pp
class admin_user::list {
admin_user::useradd { "
On Friday, September 6, 2013 6:43:27 AM UTC-5, Andreas Dvorak wrote:
>
> class admin_user::add {
>define useradd ( $name, $uid, $group, $gid, $password, $shell,
> $sshkeytype, $sshkey) {
> $homedir = "/home"
> $username = $title
>
> user { $username:
> ensure => pr