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.2KB

11 anni fa
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. Configures 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. Sets '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. Sets '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. Sets '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.