Re: [Puppet Users] puppet resource for group
Nigel Kersten wrote: On Fri, May 13, 2011 at 11:41 PM, Nan Liu n...@puppetlabs.com wrote: On Fri, May 13, 2011 at 4:20 PM, Corey Osman co...@logicminds.biz wrote: Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With the command: puppet resource group mg_team only returns: group { 'mg_team': gid = '501', ensure = 'present' } I was expecting: group { 'mg_team': gid = '501', ensure = 'present' members = ['smruph', 'cosman', 'msmith', 'mhankey'], } Am I missing a parameter or something? Manage member is limited to specific providers: http://docs.puppetlabs.com/references/latest/type.html#group-2 I feel we've produced inconsistencies here, and given I added the group membership support for OS X, it's largely my fault :) We've too closely modelled the tools for managing users/groups on various platforms, and I actually feel like we should break group membership out into a separate type, so it's easier to express semantics like: * ensure nigel is not a member of group admin, leave group alone otherwise * ensure nigel is a member of group admin, leave group alone otherwise without requiring that the user nigel or group admin are even managed by Puppet. That would be useful to us. -- 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.
Re: [Puppet Users] puppet resource for group
On Fri, Jun 17, 2011 at 3:50 AM, Andreas Kuntzagk andreas.kuntz...@mdc-berlin.de wrote: Nigel Kersten wrote: I feel we've produced inconsistencies here, and given I added the group membership support for OS X, it's largely my fault :) We've too closely modelled the tools for managing users/groups on various platforms, and I actually feel like we should break group membership out into a separate type, so it's easier to express semantics like: * ensure nigel is not a member of group admin, leave group alone otherwise * ensure nigel is a member of group admin, leave group alone otherwise without requiring that the user nigel or group admin are even managed by Puppet. That would be useful to us. http://projects.puppetlabs.com/issues/7241 Anyone who has an opinion on this feature idea, please update that ticket with your thoughts. -- Nigel Kersten Product, Puppet Labs @nigelkersten -- 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.
Re: [Puppet Users] puppet resource for group
On Sat, May 14, 2011 at 12:50:20AM +, Nigel Kersten wrote: We've too closely modelled the tools for managing users/groups on various platforms, and I actually feel like we should break group membership out into a separate type, so it's easier to express semantics like: Big +1. * ensure nigel is not a member of group admin, leave group alone otherwise * ensure nigel is a member of group admin, leave group alone otherwise Having this would be nice. Dean -- Dean Wilson http://www.unixdaemon.net @unixdaemon http://www.puppetcookbook.com @puppetcookbook -- 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.
[Puppet Users] puppet resource for group
Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With the command: puppet resource group mg_team only returns: group { 'mg_team': gid = '501', ensure = 'present' } I was expecting: group { 'mg_team': gid = '501', ensure = 'present' members = ['smruph', 'cosman', 'msmith', 'mhankey'], } Am I missing a parameter or something? Corey -- 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.
Re: [Puppet Users] puppet resource for group
On Fri, May 13, 2011 at 4:20 PM, Corey Osman co...@logicminds.biz wrote: Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With the command: puppet resource group mg_team only returns: group { 'mg_team': gid = '501', ensure = 'present' } I was expecting: group { 'mg_team': gid = '501', ensure = 'present' members = ['smruph', 'cosman', 'msmith', 'mhankey'], } Am I missing a parameter or something? Manage member is limited to specific providers: http://docs.puppetlabs.com/references/latest/type.html#group-2 Nan -- 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.
Re: [Puppet Users] puppet resource for group
On Fri, May 13, 2011 at 11:41 PM, Nan Liu n...@puppetlabs.com wrote: On Fri, May 13, 2011 at 4:20 PM, Corey Osman co...@logicminds.biz wrote: Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With the command: puppet resource group mg_team only returns: group { 'mg_team': gid = '501', ensure = 'present' } I was expecting: group { 'mg_team': gid = '501', ensure = 'present' members = ['smruph', 'cosman', 'msmith', 'mhankey'], } Am I missing a parameter or something? Manage member is limited to specific providers: http://docs.puppetlabs.com/references/latest/type.html#group-2 I feel we've produced inconsistencies here, and given I added the group membership support for OS X, it's largely my fault :) We've too closely modelled the tools for managing users/groups on various platforms, and I actually feel like we should break group membership out into a separate type, so it's easier to express semantics like: * ensure nigel is not a member of group admin, leave group alone otherwise * ensure nigel is a member of group admin, leave group alone otherwise without requiring that the user nigel or group admin are even managed by Puppet. -- 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.