Formula to create, delete and configure users via pillar.
Crete users by:
users:
auser:
# configuration
buser:
# configurationMinimal required values for creating user:
users:
auser:
fullname: Minimum Values
home: /home/auserDelete user by:
absent_users:
- auser
- buserSuch things can configured:
- fullname
- home directory
- uid, gid
- groups
- sudo without password
- ssh authorized keys
- ssh keys that will be moved to ~/.ssh
Pillar examples for ubuntu and centos placed in /tests/pillars/users.