Saltstack Official Logrotate Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. logrotate
  2. =========
  3. Install and configure logrotate on a machine.
  4. The config files are per OS.
  5. At the moment only Debian, RedHat, Scientific Linux and Archlinux supported with this formula
  6. .. note::
  7. See the full `Salt Formulas installation and usage instructions
  8. <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
  9. Available states
  10. ================
  11. .. contents::
  12. :local:
  13. ``logrotate``
  14. -------------
  15. Installs the ``logrotate`` package and service/timer/cron.
  16. ``logrotate.config``
  17. --------------------
  18. Manages logrotate config and include dir.
  19. ``logrotate.install``
  20. ---------------------
  21. Installs the logrotate package and its dependencies.
  22. ``logrotate.jobs``
  23. ------------------
  24. Create custom job for logrotate.
  25. ``logrotate.service``
  26. ---------------------
  27. Manages the startup and running state of the logrotate service.