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.
Niels Abspoel 8ee4d19eb8
Merge pull request #36 from netmanagers/master
pirms 6 gadiem
logrotate Make sure dependencies are installed if required, fix tests pirms 6 gadiem
test/integration/default Make sure dependencies are installed if required, fix tests pirms 6 gadiem
.gitignore Make sure dependencies are installed if required, fix tests pirms 6 gadiem
.kitchen.docker.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec pirms 6 gadiem
.kitchen.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec pirms 6 gadiem
.travis.yml Make sure dependencies are installed if required, fix tests pirms 6 gadiem
Gemfile configuring travis-ci tests, using Kitchen with Docker, and Inspec 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.