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.
- Update
stdlibrequirements inmetadata.json. - Update Puppet version requirements in
metadata.json(now only Puppet 7 and 8 are supported). - Update Ubuntu version support (now only 18.04, 20.04, 22.04 are supported).
- Switch to Litmus acceptance testing.
- Switch to GitHub actions for testing.
- GH-8 Add
$ensureparameter tocron::jobandcron::job::*defined types.
- Update
stdlibversion requirements inmetadata.json. - Update
REFERENCE.mdwith data type since Puppet strings started supporting these. - PDK update.
- Puppet 6 support (no production code changes).
- Validation, Unit, and Acceptance stages now all include Puppet 6.
- Run acceptance tests using new puppet and module install helpers.
- Custom cron job types:
cron::job::hourly.cron::job::daily.cron::job::weekly.cron::job::monthly.
Cron::Usertype alias.
- Improve
$::cron::package_versionvalidation.
cron::prep4cron()function. This was an internal function thatuniq'd arrays passed to thecron::jobresource. Things like[ 20, 50, 20, 50 ]are now fair play - both according to the crontab definition and this module.
- Minor change to
README.mdpurely to test how Travis deployment works.
REFERENCE.md.
$cron::purge_cronparameter to manage crontab purging.$cron::allow_all_usersparameter to allow all users to manage their crontabs.
puppetlabs_spec_helper'smock_withdeprecation warning.- Acceptance tests with latest beaker.
- RuboCop update.
- Acceptance tests for
/etc/cron.allow. - Manage package version through
$cron::package_versionparameter. - The following parameters are now available to manage cron service:
$cron::service_manage$cron::service_ensure$cron::service_enable
- Create an empty
/etc/cron.allowby default. cron::jobinput is stricter:commanddoes not accept newlinesuseraccepts strings of at least 1 character- all time values have been updated (
\A,\zinstead of^and$)
- Acceptance testing on Ubuntu 18.04.
- Acceptance tests for
cron::job. REFERENCE.mdgenerated using puppet-strings.
- Travis configuration prettified.
- Documentation cleanups.
- Acceptance tests split up into multiple spec files.
- Removal order that led to (through a chain of other events) a non-working
ensure => absenton Ubuntu 18.04. - Proper trailing newline handling for
/etc/cron.allowand/etc/cron.deny.
- The Changelog.
$::cron::purge_noopparameter that disables crontab purging (but you'll still see noop notices).$::cron::allowed_usersand$::cron::denied_usersparameters that manage users thrucron.allowandcron.denyfiles.
- A few more acceptance tests.
- Idempotence tests refactored.
- Adding/removing cron entries does not reload the cron service anymore.
Cron::MinuteandCron::Hournow accept ranges and patterns like*/2inside an array.- Because of the previous change,
cron::prep4cronfunction 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 ::cronto thecron::jobdefine. 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!
- Updated documentation for
cron::prep4cron()function.
- This is the first clean release of the cron module.
- Removed all incron references (this used to be cron + incron module).
- 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.