Saltstack Official Users Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

11 лет назад
10 лет назад
9 лет назад
9 лет назад
9 лет назад
9 лет назад
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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
  33. ``users.user_files``
  34. ---------------
  35. Permits the abitrary management of files. See pillar.example for configuration details.