Skip to content

simp/pupmod-simp-cron

Repository files navigation

License CII Best Practices Puppet Forge Puppet Forge Downloads Build Status

Table of Contents

Description

This module manages the cron packages, service, and /etc/cron.allow.

This is a SIMP module

This module is a component of the System Integrity Management Platform, a compliance-management framework built on Puppet.

If you find any issues, they can be submitted to our JIRA.

This module is optimally designed for use within a larger SIMP ecosystem, but it can be used independently:

  • When included within the SIMP ecosystem, security compliance settings will be managed from the Puppet server.

Setup

What cron affects

  • crond service
  • /etc/cron.deny
  • /etc/cron.allow
  • tmpwatch package (if EL6)

Usage

To use this module, just call the class. This example adds it to a class list in hiera:

---
classes:
  - cron

Users can also be added to /etc/cron.allow with the cron::user defined type, or the cron::users array in hiera. The following example adds a few users to /etc/cron.allow:

cron::users:
  - foo
  - bar

Reference

See REFERENCE.md for details.

Limitations

SIMP Puppet modules are generally intended for use on Red Hat Enterprise Linux and compatible distributions, such as CentOS. Please see the metadata.json file for the most up-to-date list of supported operating systems, Puppet versions, and module dependencies.

Development

Please read our [Contribution Guide] (https://simp.readthedocs.io/en/stable/contributors_guide/index.html).