Skip to content

Latest commit

 

History

History
136 lines (111 loc) · 4.82 KB

File metadata and controls

136 lines (111 loc) · 4.82 KB

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.

[Unreleased]

[0.11.0] - 2024-08-01

Changed

  • Update stdlib requirements in metadata.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.

[0.10.0] - 2020-01-27

Added

  • GH-8 Add $ensure parameter to cron::job and cron::job::* defined types.

[0.9.0] - 2019-08-08

Changed

  • Update stdlib version requirements in metadata.json.
  • Update REFERENCE.md with data type since Puppet strings started supporting these.
  • PDK update.

[0.8.0] - 2018-10-09

Added

  • Puppet 6 support (no production code changes).

Changed

  • Validation, Unit, and Acceptance stages now all include Puppet 6.
  • Run acceptance tests using new puppet and module install helpers.

[0.7.0] - 2018-09-08

Added

  • Custom cron job types:
    • cron::job::hourly.
    • cron::job::daily.
    • cron::job::weekly.
    • cron::job::monthly.
  • Cron::User type alias.

Changed

  • Improve $::cron::package_version validation.

Removed

  • cron::prep4cron() function. This was an internal function that uniq'd arrays passed to the cron::job resource. Things like [ 20, 50, 20, 50 ] are now fair play - both according to the crontab definition and this module.

[0.6.2] - 2018-09-01

Changed

  • Minor change to README.md purely to test how Travis deployment works.

[0.6.1] - 2018-08-16

Fixed

  • REFERENCE.md.

[0.6.0] - 2018-08-16

Added

  • $cron::purge_cron parameter to manage crontab purging.
  • $cron::allow_all_users parameter to allow all users to manage their crontabs.

Fixed

  • puppetlabs_spec_helper's mock_with deprecation warning.
  • Acceptance tests with latest beaker.
  • RuboCop update.

[0.5.0] - 2018-03-14

Added

  • Acceptance tests for /etc/cron.allow.
  • Manage package version through $cron::package_version parameter.
  • The following parameters are now available to manage cron service:
    • $cron::service_manage
    • $cron::service_ensure
    • $cron::service_enable

Changed

  • Create an empty /etc/cron.allow by default.
  • cron::job input is stricter:
    • command does not accept newlines
    • user accepts strings of at least 1 character
    • all time values have been updated (\A, \z instead of ^ and $)

[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.