1
0
Fork 0
mirror of synced 2024-12-21 05:31:09 -05:00
Logrotate SaltStack Formula
Find a file
David Seira 08c09bd1df
Merge pull request #29 from dseira/master
Added salt message in the top of the job template
2017-11-24 02:16:30 +01:00
logrotate Added salt tag in job template 2017-11-23 21:01:23 +01:00
LICENSE Remove extra new line characters 2015-05-07 13:42:07 -04:00
pillar.example Fixed jobs indentation 2017-11-15 11:18:45 +01:00
README.rst Split init.sls into config, install and service 2017-02-14 17:13:57 +01:00

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.