Saltstack Official Logrotate Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Daniel Wallace 6575a95764
Merge pull request #32 from daks/jobs_contents
pirms 6 gadiem
logrotate new possibility to configure a job giving the raw content to store as a file pirms 6 gadiem
test/integration/default adding Inspec tests for raw content jobs pirms 6 gadiem
LICENSE Remove extra new line characters pirms 9 gadiem
README.rst Split init.sls into config, install and service pirms 7 gadiem
pillar.example new possibility to configure a job giving the raw content to store as a file pirms 6 gadiem

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.