2015-01-01 13:52:08 -05:00
|
|
|
logrotate
|
|
|
|
=========
|
|
|
|
Install and configure logrotate on a machine.
|
|
|
|
|
2015-01-01 13:54:29 -05:00
|
|
|
The config files are per OS.
|
2017-02-08 17:57:08 -05:00
|
|
|
At the moment only Debian, RedHat, Scientific Linux and Archlinux supported with this formula
|
2015-01-01 13:54:29 -05:00
|
|
|
|
2015-01-01 13:52:08 -05:00
|
|
|
.. 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``
|
|
|
|
--------------------
|
|
|
|
|
2015-01-22 06:38:32 -05:00
|
|
|
Manages logrotate config and include dir.
|
|
|
|
|
2017-02-14 06:50:32 -05:00
|
|
|
``logrotate.install``
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
Installs the logrotate package and its dependencies.
|
|
|
|
|
2015-01-22 06:38:15 -05:00
|
|
|
``logrotate.jobs``
|
|
|
|
------------------
|
2015-01-22 06:38:32 -05:00
|
|
|
|
2015-01-22 06:37:06 -05:00
|
|
|
Create custom job for logrotate.
|
|
|
|
|
2017-02-14 06:50:32 -05:00
|
|
|
``logrotate.service``
|
|
|
|
---------------------
|
2015-01-22 06:38:32 -05:00
|
|
|
|
2017-02-14 06:50:32 -05:00
|
|
|
Manages the startup and running state of the logrotate service.
|