cron

pdk
Manage cron jobs in a tidy way

26,382 downloads

142 latest version

5.0 quality score

Version information

  • 0.11.0 (latest)
  • 0.10.0
  • 0.9.0
  • 0.8.0
  • 0.7.0
  • 0.6.2
  • 0.6.1
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
released Mar 4th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.4.0 < 6.0.0
  • Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'pegas-cron', '0.4.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add pegas-cron
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install pegas-cron --version 0.4.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

pegas/cron — version 0.4.0 Mar 4th 2018

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.4.0] - 2018-03-05

Added

  • Acceptance testing on Ubuntu 18.04.
  • Acceptance tests for cron::job.
  • REFERENCE.md generated using puppet-strings.

Changed

  • Travis configuration prettified.
  • Documentation cleanups.
  • Acceptance tests split up into multiple spec files.

Fixed

  • Removal order that led to (through a chain of other events) a non-working ensure => absent on Ubuntu 18.04.
  • Proper trailing newline handling for /etc/cron.allow and /etc/cron.deny.

[0.3.0] - 2017-12-21

Added

  • The Changelog.
  • $::cron::purge_noop parameter that disables crontab purging (but you'll still see noop notices).
  • $::cron::allowed_users and $::cron::denied_users parameters that manage users thru cron.allow and cron.deny files.

Changed

  • A few more acceptance tests.
  • Idempotence tests refactored.
  • Adding/removing cron entries does not reload the cron service anymore.
  • Cron::Minute and Cron::Hour now accept ranges and patterns like */2 inside an array.
  • Because of the previous change, cron::prep4cron function doesn't sort the array anymore, it simply throws away repeated values.
  • All Cron:: types accept a minimum of 2 array elements instead of 1.
  • Updated tests for Cron:: types as rspec-puppet now supports these natively. w00h00!
  • Added require ::cron to the cron::job define. It is now not necessary to include it. Beware though, that this might break if you don't have any cron jobs defined. No purging for you then!

Fixed

  • Updated documentation for cron::prep4cron() function.

[0.2.0] - 2017-02-10

Added

  • This is the first clean release of the cron module.

Changed

  • Removed all incron references (this used to be cron + incron module).

[0.1.0] - 2017-02-08 [YANKED]

Added

  • This used to be cron + incron module. After reading lots of suggestions about single-purposeness of modules, I decided to split this module into two and make this a pure cron-only one.
  • This is the last point where you can check the previous approach.
  • Doesn't seem feasible to release this, hence the [YANKED] tag.