__user groups parameter #291
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#291
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: jpease
On OS X 10.8.2, trying to run:
__user foo --groups sudo
The result is:
awk: illegal field $(), name "field"
Error is originating in __user/gencode-remote
current_value="$(awk -F: '{ print $ENVIRON["field"] }' < "$file")"
Specifically it is choking on the optional parameter --groups
Created by: jpease
Sorry about the slow response time. Looks good. Thank you.
Created by: telmich
Hello,
the __user_groups type has been included in the master tree - do you want to give it a try and some feedback?
Created by: jpease
However implemented, I like the idea of being able to re-run cdist to adjust group membership after initial user creation.
Created by: telmich
Well, it looks like you spotted something we have documented, but not implemented so far :-)
We are currently discussing whether to implement it in __user or to create a new type, so you can easily add more groups to a user.