Saltstack Official Logrotate Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Eric Veiras Galisson 364ef833cc adding Inspec tests for raw content jobs 6 vuotta sitten
logrotate new possibility to configure a job giving the raw content to store as a file 6 vuotta sitten
test/integration/default adding Inspec tests for raw content jobs 6 vuotta sitten
LICENSE Remove extra new line characters 9 vuotta sitten
README.rst Split init.sls into config, install and service 7 vuotta sitten
pillar.example new possibility to configure a job giving the raw content to store as a file 6 vuotta sitten

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.