Saltstack Official Logrotate Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Eric Veiras Galisson ef88f3d047 fix: corrected indentation on context in file.managed states 5 år sedan
logrotate fix: corrected indentation on context in file.managed states 5 år sedan
test/integration/default integrating patch from danny-smit, fixes #33 6 år sedan
.gitignore Make sure dependencies are installed if required, fix tests 6 år sedan
.kitchen.docker.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec 6 år sedan
.kitchen.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec 6 år sedan
.travis.yml Make sure dependencies are installed if required, fix tests 6 år sedan
Gemfile configuring travis-ci tests, using Kitchen with Docker, and Inspec 6 år sedan
LICENSE Remove extra new line characters 9 år sedan
README.rst Split init.sls into config, install and service 7 år sedan
pillar.example new possibility to configure a job giving the raw content to store as a file 6 år sedan

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.