rnelson0 / puppet-local_user

Puppet module. Manage local users, setting an initial password but letting the user change it as needed afterward.
4 stars 5 forks source link

Remove duplicate groups when assigning both gid and groups #55

Closed bbriggs closed 8 years ago

bbriggs commented 8 years ago

A user may attempt to assign the gid in the groups array. This patch uses stdlib's unique() to ensure the duplicate group gets removed before the create_resources() call.