Saltstack Official Logrotate Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Eric Veiras Galisson ef88f3d047 fix: corrected indentation on context in file.managed states 5 年前
logrotate fix: corrected indentation on context in file.managed states 5 年前
test/integration/default integrating patch from danny-smit, fixes #33 6 年前
.gitignore Make sure dependencies are installed if required, fix tests 6 年前
.kitchen.docker.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec 6 年前
.kitchen.yml configuring travis-ci tests, using Kitchen with Docker, and Inspec 6 年前
.travis.yml Make sure dependencies are installed if required, fix tests 6 年前
Gemfile configuring travis-ci tests, using Kitchen with Docker, and Inspec 6 年前
LICENSE Remove extra new line characters 9 年前
README.rst Split init.sls into config, install and service 7 年前
pillar.example new possibility to configure a job giving the raw content to store as a file 6 年前

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.