Yes, I am realizing it: Users::Virtual::Localuser <| gid == users |>
If I go onto the host and delete the user (sudo userdel myuser) then puppet will create a new user and that user will be a member of all the groups I desire: notice: /Stage[main]/Users/Users::Virtual::Localuser[myuser]/User[myuser]/ensure: created notice: Finished catalog run in 0.43 second However, if I delete the user from the group (sudo gpasswd -d myuser mygroup) and rerun then puppet does not re-add the group membership: notice: Finished catalog run in 0.34 seconds This seems like a bug in puppet perhaps? Thanks, Ben On Thu, Oct 25, 2012 at 4:26 PM, Jeff McCune <j...@puppetlabs.com> wrote: > On Thu, Oct 25, 2012 at 4:23 PM, Ben McCann > <benjamin.j.mcc...@gmail.com>wrote: > >> If I remove the virtualization aspect then it works. Any idea why that >> might stop the groups from being applied? > > > When you mark the resource as virtual, are you also realizing it somewhere > else in your manifests? Without realizing a virtual or an exported > resource it will never be added to the configuration catalog. > > -Jeff > > -- > 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. > -- about.me/benmccann -- 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.