add support for managing users that can ssh to a node via key

This commit is contained in:
m0duspwnens
2021-06-23 12:39:48 -04:00
parent 0341eb5d8f
commit 322c2804fc
4 changed files with 158 additions and 0 deletions

20
pillar/users/pillar.usage Normal file
View File

@@ -0,0 +1,20 @@
users:
sclapton:
# required fields
status: <present | absent>
# node_access determines which node types the user can access.
# this can either be by grains.role or by final part of the minion id after the _
node_access:
- standalone
- searchnode
# optional fields
- fullname: <string>
- uid: <integer>
- gid: <integer>
- roomnumber: <string>
- workphone: <string>
- homephone: <string>
groups:
- <string>
- <string>
- wheel # give sudo access