1
0
Fork 0
Logrotate SaltStack Formula
Go to file
Niels Abspoel 183027653e Merge pull request #27 from asenci/master
Compress rotated files by default on Debian
2017-03-29 08:57:29 +02:00
logrotate Compress rotated files by default on Debian 2017-03-29 18:06:25 +13:00
LICENSE Remove extra new line characters 2015-05-07 13:42:07 -04:00
README.rst Split init.sls into config, install and service 2017-02-14 17:13:57 +01:00
pillar.example Fix default_config example in pillar.example 2017-03-13 11:40:09 +01:00

README.rst

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.install``
---------------------

Installs the logrotate package and its dependencies.

``logrotate.jobs``
------------------

Create custom job for logrotate.

``logrotate.service``
---------------------

Manages the startup and running state of the logrotate service.