Skip to content
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

Groups and Users #50

Open
paulohtfs opened this issue Dec 16, 2016 · 2 comments
Open

Groups and Users #50

paulohtfs opened this issue Dec 16, 2016 · 2 comments
Labels

Comments

@paulohtfs
Copy link
Member

The order of Users and Group may broke the converge. Check the order.

@paulohtfs paulohtfs added the bug label Dec 16, 2016
@paulohtfs
Copy link
Member Author

When it tries to create a user with a given GID it may breaks, because the GID is related to a group. Which means... on Linux, when you creates a user (without setting the GID) it's creates it inside a group with the same name and UID as the user. So, for the recipe, the GID is related to a group that already exists, but that group will be created along the creation of the user.

The solution here is to remove the GID from the recipe of user and let the group recipe specify the members of the group.

@paulohtfs
Copy link
Member Author

Add a 'manage_home true' into user recipe. Check if the user needs a home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant