Dears all,
I'm trying to create new users members of some groups so it's need
to ensure they exist before user creation.
I have something like :
----
define updssh::add_user ( $email , $groups ) {
$username = $title
user { $username:
comment => "$email",
home => "/home/$username",
shell => "/bin/bash",
password => "!!",
groups => $groups
}
------
How to ensure groups dependencies at user creation ?.
I appreciate any help,
eduardo.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.