Configure users via pillar
https://github.com/saltstack-formulas/users-formula/
031d6ce81f
Example pillar: ssh_keys: id_rsa: privkey: | -----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEAoQiwO3JhBquPAalQF9qP1lLZNXVjYMIswrMe2HcWUVBgh+vY U7sCwx/dH6+VvNwmCoqmNnP+8gTPKGl1vgAObJAnMT623dMXjVKwnEagZPRJIxDy B/HaAre9euNiY3LvIzBTWRSeMfT+rWvIKVBpvwlgGrfgz70m0pqxu+UyFbAGLin+ GpxzZAMaFpZw4sSbIlRuissXZj/sHpQb8p9M5IeO4Z3rjkCP1cxI -----END RSA PRIVATE KEY----- pubkey: | ssh-rsa MIIEowIBAAKCAQEAoQiwO3JhBquPAalQF9qP1lLZNXVjYMIswrMe2H.... |
||
---|---|---|
users | ||
LICENSE | ||
pillar.example | ||
README.rst |
users
Formula to configure users via pillar.
Note
See the full Salt Formulas installation and usage instructions.
Available states
users
Configure a user's home directory, group, the user itself, secondary groups, and associated keys. Also configures sudo access, and absent users.
users.sudo
Ensures the sudo group exists, the sudo package is installed and the sudo file is configured.