On Thu, Feb 17, 2011 at 15:18, Robin Lee Powell <rlpow...@digitalkingdom.org> wrote: > On Thu, Feb 17, 2011 at 09:30:33AM -0800, Daniel Pittman wrote: > >> You could use the resource description tool, in a generate call in the >> appropriate resource, to have puppet ruun the process of rebuilding the >> appropriate manifest content on demand. (Probably needs a little scripting >> wrapped around it to get the content in the right format.) > > I'm not following that at all, I'm afraid; especially "the resource > description tool"; can you give me an example?
So, if you want puppet to manage the user stuff, and to update a manifest to reflect changes on one system later you can use 'puppet resource user' to list all users known on the system, or 'puppet resource user daniel' to get details on just daniel. That outputs a resource blob in puppet manifest format that you can stick into a manifest somewhere to have puppet manage that user on other systems. Basically, "tell me what would make this resource". >> For the file content I would add another fileserver mount for >> /home on that system, then serve the content into the appropriate >> target location. > > An interesting idea, but I can see some decently heavy security > issues there, and I'm sufficiently ignorant of puppet's security > model to be afraid of them. As I understood it you already proposed coping those files, which means that you are not really opening any more security issues by doing it from the source rather than copying the source. (Puppet is a read-only file server, if that helps. :) Regards, Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman <dan...@puppetlabs.com> ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.