Re: [Puppet Users] Re: how to avoid duplicate types (i.e. users)

2013-01-02 Thread jcbollinger
On Monday, December 31, 2012 7:51:37 PM UTC-6, Jason Edgecombe wrote: > > On 12/31/2012 07:20 PM, Schofield wrote: > > > >> 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

Re: [Puppet Users] Re: how to avoid duplicate types (i.e. users)

2013-01-01 Thread col_s
You may find virtual resources useful for this. Define the user home directory resources as virtual resources (within a separate class), and then" realize" them in your buildbot::slave::instance type. http://docs.puppetlabs.com/guides/virtual_resources.html -- You received this message becau

Re: [Puppet Users] Re: how to avoid duplicate types (i.e. users)

2012-12-31 Thread Jason Edgecombe
On 12/31/2012 07:20 PM, Schofield wrote: 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? If I understand right you want all buildbot::slave::instance types to have the same user

[Puppet Users] Re: how to avoid duplicate types (i.e. users)

2012-12-31 Thread Schofield
> 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? > If I understand right you want all buildbot::slave::instance types to have the same user. The special little flowers se