Saltstack Official Users Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
761B

  1. users:
  2. ## Minimal required pillar values
  3. auser:
  4. fullname: A User
  5. ## Full list of pillar values
  6. buser:
  7. fullname: B User
  8. password: $6$w.............
  9. home: /custom/buser
  10. createhome: True
  11. sudouser: True
  12. sudo_rules:
  13. - ALL=(root) /usr/bin/find
  14. - ALL=(otheruser) /usr/bin/script.sh
  15. shell: /bin/bash
  16. prime_group:
  17. name: primarygroup
  18. gid: 500
  19. groups:
  20. - users
  21. ssh_key_type: rsa
  22. ssh_keys:
  23. privkey: PRIVATEKEY
  24. pubkey: PUBLICKEY
  25. ssh_auth:
  26. - PUBLICKEY
  27. ssh_auth.absent:
  28. - PUBLICKEY_TO_BE_REMOVED
  29. ## Absent user
  30. cuser:
  31. absent: True
  32. purge: True
  33. force: True
  34. ## Old syntax of absent_users still supported
  35. absent_users:
  36. - donald
  37. - bad_guy