An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/73/badge)](https://bestpractices.coreinfrastructure.org/projects/73)
[![Puppet Forge](https://img.shields.io/puppetforge/v/simp/cron.svg)](https://forge.puppetlabs.com/simp/cron)
[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/simp/cron.svg)](https://forge.puppetlabs.com/simp/cron)
[![Build Status](https://travis-ci.org/simp/pupmod-simp-cron.svg)](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).