Definitely seems like a bug. I added the Puppet Ubuntu repo and upgraded to puppet 3.0.1 and it works now. I'm not going to bother filing it since it seems like it's since been fixed.
On Thursday, October 25, 2012 5:01:11 PM UTC-7, Ben McCann wrote: > > That's not it. I changed it to Users::Virtual::Localuser <| |> and the > problem is still happening. > > > On Thu, Oct 25, 2012 at 4:59 PM, Stefan Schulte < > [email protected]> wrote: > >> On Thu, Oct 25, 2012 at 04:34:26PM -0700, Ben McCann wrote: >> > 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 >> >> Are you sure you have not defined the user resource a second time in >> another location? Because >> >> Users::Virtual::Localuser <| gid == users |> >> >> will realize nothing because your localuser define does not have a gid >> parameter (the user resource inside the define does, but that does not >> matter here). >> >> -Stefan >> >> -- >> 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. >> >> > > > -- > about.me/benmccann > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Ud80yc5cxMgJ. 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.
