-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to manage the primary group of an user. #12
Comments
You could use the user { "neo":
ensure => "present",
managehome => true,
groups => ['users']
} |
I've added a parameter user { "neo":
manage_group => false,
} which will disable creating a group. Hopefully it will solve your issue. The naming is not consistent with |
Hello, |
Right, according to documentation as user { "neo":
gid => 'primary-group',
} if we fix the numerical validation |
It will be really nice to have an option to change the primary group of the user.
Now if you try to set a gid to an existing gid the groupmod fails with:
Update: the normal puppet "user" resource allows you to specify an existing group as primary group.
The text was updated successfully, but these errors were encountered: