If you see a message that tells you “Could not evaluate: invalid group” in Puppet, or any kind of error that says “Invalid group” when running a puppet test it’s possible that you might have some old configuration from another puppet master for adding users.
If that’s the case, you would only need to delete a user then run puppet again and hopefully it’ll use your new puppet settings and re-add the user.