33 lines
671 B
ReStructuredText
33 lines
671 B
ReStructuredText
logrotate
|
|
=========
|
|
Install and configure logrotate on a machine.
|
|
|
|
The config files are per OS.
|
|
At the moment only Debian, RedHat, Scientific Linux and Archlinux supported with this formula
|
|
|
|
.. note::
|
|
See the full `Salt Formulas installation and usage instructions
|
|
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
|
|
|
|
Available states
|
|
================
|
|
|
|
.. contents::
|
|
:local:
|
|
|
|
``logrotate``
|
|
-------------
|
|
|
|
Installs the ``logrotate`` package and service/timer/cron.
|
|
|
|
``logrotate.config``
|
|
--------------------
|
|
|
|
Manages logrotate config and include dir.
|
|
|
|
``logrotate.jobs``
|
|
------------------
|
|
|
|
Create custom job for logrotate.
|
|
|
|
|