I have a defined type buildbot::slave::instance, which has a username as a parameter. The instance type has a "user" instance to create the specified user. This works fine, but each buildbot::slave::instance must use a different user. Passing the same user gives an error that the user is defined twice.

How do I automatically create a user (including home directory and cp of /etc/skel) as triggered by buildbot::slave::instance, and avoid the duplicate user errors?

The source of the problem files is at:
https://github.com/edgester/puppet-buildbot/blob/master/manifests/user_homedir.pp
https://github.com/edgester/puppet-buildbot/blob/master/manifests/slave/instance.pp

Thanks,
Jason

--
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.

Reply via email to