On Thu, 2011-02-17 at 06:37 -0800, Robin Lee Powell wrote: > I have a central server, that happens to be the puppetmaster, that > has various users on it. I would like to copy out their information > (name, uid, password, .bashrc, etc) to all my other hosts, but I > want to let the users change their stuff on that host, so I don't > want to just stick it in puppet. > > My inclination is to just make a script that runs through the passwd > file and generates puppet instructions out, and also copies the user > files in question into a place in the puppetmaster directories. > > Is there a more-idiomatic way to do that?
I'd be tempted to use Puppet to manage the user accounts (virtualise the resources and then realise them on each host/node-type as appropriate) then just mount /home on each server from the same NFS mountpoint. You could even use puppet to manage the mountpoint, and that way you're managing the things that you need to from a System Administrators Point of View and leaving the things such as ensuring consistency of ~ across multiple systems to a shared-storage device - exactly the task they were invented for! Kind regards, Matt (who often over-engineers a solution to things and sometimes thinks others are doing the same! ;) ) -- 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.
