https://github.com/simp/pupmod-simp-cron
A SIMP Puppet module for managing cron
https://github.com/simp/pupmod-simp-cron
simp
Last synced: about 1 year ago
JSON representation
A SIMP Puppet module for managing cron
- Host: GitHub
- URL: https://github.com/simp/pupmod-simp-cron
- Owner: simp
- License: other
- Created: 2016-12-08T19:23:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T19:52:59.000Z (almost 2 years ago)
- Last Synced: 2025-05-16T12:41:55.389Z (about 1 year ago)
- Topics: simp
- Language: Ruby
- Size: 129 KB
- Stars: 0
- Watchers: 16
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
[](http://www.apache.org/licenses/LICENSE-2.0.html)
[](https://bestpractices.coreinfrastructure.org/projects/73)
[](https://forge.puppetlabs.com/simp/cron)
[](https://forge.puppetlabs.com/simp/cron)
[](https://travis-ci.org/simp/pupmod-simp-cron)
#### Table of Contents
* [Description](#description)
* [This is a SIMP module](#this-is-a-simp-module)
* [Setup](#setup)
* [What cron affects](#what-cron-affects)
* [Usage](#usage)
* [Reference](#reference)
* [Limitations](#limitations)
* [Development](#development)
## 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](https://simp-project.com),
a compliance-management framework built on Puppet.
If you find any issues, they can be submitted to our [JIRA](https://simp-project.atlassian.net/).
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:
```yaml
---
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`:
```yaml
cron::users:
- foo
- bar
```
## Reference
See [REFERENCE.md](./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](./metadata.json)
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).