bundles/users: add readme
This commit is contained in:
parent
0b51c9dae4
commit
719d41a557
1 changed files with 27 additions and 0 deletions
27
bundles/users/README.md
Normal file
27
bundles/users/README.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# bundles/users
|
||||||
|
|
||||||
|
This bundle evaluates node metadata to determine which users should
|
||||||
|
exist on the system.
|
||||||
|
It will also create a home directory, add ssh keys and deploy shell
|
||||||
|
configs, if user-specific configuration exists.
|
||||||
|
|
||||||
|
## metadata
|
||||||
|
'users': {
|
||||||
|
'username': {
|
||||||
|
'home': '/home/username', # this is the default
|
||||||
|
'shell': '/bin/bash', # this is the default
|
||||||
|
'groups': {
|
||||||
|
# list of groups the user should be in
|
||||||
|
},
|
||||||
|
'ssh_pubkey': [
|
||||||
|
# list of ssh pubkeys that are allowed to log in
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
## custom shell config
|
||||||
|
Deploy your custom config to these paths:
|
||||||
|
|
||||||
|
* data/users/files/tmux/username.conf
|
||||||
|
* data/users/files/fish/username.conf
|
||||||
|
* data/users/files/bash/username.bashrc
|
Loading…
Reference in a new issue