Go to file
David Seira c6c2a1dfd8 Initial commit 2017-07-28 01:43:45 +02:00
cron Initial commit 2017-07-28 01:43:45 +02:00
README.rst Initial commit 2017-07-28 01:43:45 +02:00
pillar.example Initial commit 2017-07-28 01:43:45 +02:00

README.rst

==============
cron-formula
==============

Install and configure cron and set up cron tasks.

.. 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:

|OS|Compatibility|
|:----:|:--------------:|
|Ubuntu 12|Yes|
|Ubuntu 14|Yes|
|Ubuntu 16|Yes|
|CentOS 6|Yes|
|CentOS 7|Yes|

``cron``
--------
Join install, configure and service states.

``install``
-----------
Install required package to run cron.

``config``
----------
Configure cron tasks based on the pillar configuration.

Remember that is you need to delete a cron task you have to set ``type`` as ``absent`` if not, the crontask will not be deleted. You can also disable a crontask using the ``commented`` keyword.

``service``
-----------
Manage the ``cron`` service. Stopping or starting it. If needed, you can disable the cron service by setting the ``enabled: False`` option in the pillar.