1
0
Fork 0
mirror of synced 2024-12-09 08:25:35 -05:00
Logrotate SaltStack Formula
Find a file
waynegemmell d34348f06b
Merge pull request #1 from waynegemmell/waynegemmell-patch-1
Updated package install with json filter
2019-03-06 09:46:51 +02:00
logrotate Updated package install with json filter 2019-03-06 09:46:26 +02:00
test/integration/default integrating patch from danny-smit, fixes #33 2018-12-05 22:08:20 +01:00
.gitignore Make sure dependencies are installed if required, fix tests 2018-10-26 08:54:02 -03:00
.kitchen.docker.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec 2018-10-16 16:53:01 +02:00
.kitchen.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec 2018-10-16 16:53:01 +02:00
.travis.yml Make sure dependencies are installed if required, fix tests 2018-10-26 08:54:02 -03:00
Gemfile configuring travis-ci tests, using Kitchen with Docker, and Inspec 2018-10-16 16:53:01 +02:00
LICENSE Remove extra new line characters 2015-05-07 13:42:07 -04:00
pillar.example new possibility to configure a job giving the raw content to store as a file 2018-07-12 12:44:01 +02: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.