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.

README.rst 1.1KB

11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. =====
  2. users
  3. =====
  4. Formula to configure users via pillar.
  5. .. note::
  6. See the full `Salt Formulas installation and usage instructions
  7. <http://docs.saltstack.com/topics/development/conventions/formulas.html>`_.
  8. Available states
  9. ================
  10. .. contents::
  11. :local:
  12. ``users``
  13. ---------
  14. Configure a user's home directory, group, the user itself, secondary groups,
  15. and associated keys. Also configures sudo access, and absent users.
  16. ``users.sudo``
  17. --------------
  18. Ensures the sudo group exists, the sudo package is installed and the sudo file
  19. is configured.
  20. ``users.bashrc``
  21. ----------------
  22. Ensures the bashrc file exists in the users home directory. Set manage_bashrc:
  23. True in pillar per user. Defaults to False
  24. ``users.profile``
  25. ----------------
  26. Ensures the profile file exists in the users home directory. Set manage_profile:
  27. True in pillar per user. Defaults to False
  28. ``users.vimrc``
  29. ---------------
  30. Ensures the vimrc file exists in the users home directory. Set manage_vimrc:
  31. True in pillar per user. Defaults to False
  32. This depends on the vim-formula to be installed