Simon Bazley
2011-Oct-25 14:23 UTC
[Puppet Users] Adding already defined users to a group when its created
I saw a thread on puppet users with the subject ''Adding already defined users to a group when its created'' which suggests that the only way to add a user to more groups, when extra classes are included which require it, is to have the user definition change depending on which classes are defined. That''s fine when building new machines, but what about when upgrading existing ones? I have a class which defines a type of machine to use as a virtual for developers. If I change something I don''t want to have to rebuild all of those virtuals. In this case I just made the decisions to allow the specific developer which ''owns'' the vm they''re working on to join the admins group so have sudo access to their vm. The vm''s are all up and running and ideally I just want to call usermod and set the groups that the user should be in, to add them to the admin group, as part of the node config for each specific vm. Any way to do that in puppet? Si -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.