Adoptable Cookbooks List

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

License & Authors

Copyright 2010-2018, Chef Software, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

cron Cookbook CHANGELOG

This file is used to list changes made in each version of the cron cookbook.

6.0.0 (2018-05-11)

The cron_d resource no longer provides crontab emulation on FreeBSD or Solaris. This is outside the scope of this resource and users on platforms without cron.d support should instead use Chef's build in cron resource which manages the monolithic cron config.

define pld linux package and service name used for cron

Simplify how we validate the predfined_value property to provide better error messages

Add a name_property if you want a more descriptive resource name

Make sure cron files are 0600 not 0644 for CIS compliance

Document the comment property in the readme

Create a single test suite to speed up testing

5.1.0 (2018-03-19)

Add support for Amazon Linux 2.0

Remove Chef 12 testing since Chef 12 goes EOL in just a few weeks

Test Amazon Linux / Ubuntu 18.04 and Chef 14

Remove ChefSpec matchers since these are autogenerated now. If this causes failurs then you need to update to the latest ChefDK release

5.0.1 (2017-11-16)

Remove the redundant name property in the cron_d resource

5.0.0 (2017-10-23)

Require Chef 12.7+ and remove compat_resource dependency

Improve the readme layout

Update Travis CI testing to test Chef 12/13 and also Debian 9

4.2.0 (2017-10-23)

Activate RANDOMDELAY in cron.d template

Add support and testing for SLES 11

Update and improve testing setup

4.1.3 (2017-06-01)

Converting integration testing to InSpec

4.1.2 (2017-05-30)

Remove class_eval usage

Require Chef 12.1 not 12.5 since we use compat_resource

4.1.1 (2017-04-11)

Ensure compatibility with Chef 12.5-12.6

chef-client 13 amazon linux fix

4.1.0 (2017-03-13)

Move files out of default dirs since only Chef 11 required that

Fix the namespacing and cookstyle violations in validators (Fixes #80)

Add compat_resource depends so that Chef 12.5 is really supported

Remove the hostname from templates

Rename the test cookbook to test

make env variables safe if they span lines

4.0.0 (2017-03-07)

Convert cron_d from a LWRP to a custom resource, which raises the requirement for chef-client to 12.5+

Fix failures on Suse and add it to the readme/metadata as a supported platform

Test with Local Delivery and not Rake

3.0.0 (2016-10-06)

Remove support for Arch and Gentoo as we lack the ability to test these platforms

Fix the installation of the core-os package on Solaris

2.0.0 (2016-09-15)

Update supported OS releases in the readme

Switch to kitchen-dokken and test on more platforms

Resolve foodcritic warnings

Split out unit testing in travis and use the rakefile with cookstyle

Require chef 12.1

Properly define the chefspec matcher

Use multipackage for installs

v1.7.6 (2016-03-23)

Cleanup the cron.d jobs with the non-santized filenames to prevent duplicate job jobs if cron < 1.7.4 was ever run on the node

v1.7.5 (2016-03-01)

Fixes '* is not valid value for validate_numeric' errors

v1.7.4 (2016-02-16)

Sanitize cron job names in the custom resource to replace '.' with '-'

v1.7.3 (2015-12-20)

Re-release to remove DS Store file that snuck in

v1.7.2 (2015-12-14)

Fixed the inability to delete a cron job without specifying the command. Expanded tests to cover this scenario and the create_if_missing action

v1.7.1 (2015-12-11)

#65 - Added action create_if_missing for cron jobs you want to create, but not modify later

v1.7.0 (2015-10-05)

Added Arch Linux support

Added FreeBSD support, which emulates /etc/cron.d folder support and builds a single /etc/crontab file using the contents of /etc/cron.d