Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

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.

Select Badges

Select Supported Platforms

Select Status

The logwatch cookbook has been deprecated

Author provided reason for deprecation:

The logwatch cookbook has been deprecated and is no longer being maintained by its authors. Use of the logwatch cookbook is no longer recommended.


logwatch (9) Versions 2.1.0

Installs logwatch, a nice log analyzer

cookbook 'logwatch', '= 2.1.0', :supermarket
cookbook 'logwatch', '= 2.1.0'
knife supermarket install logwatch
knife supermarket download logwatch
Quality 100%

logwatch Cookbook

Build Status Cookbook Version

Installs logwatch



  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle


  • Chef 12.1+


  • perl


Ensures that perl is installed to be used with logwatch and then installs logwatch.


  • node['logwatch']['email'] - Email Address which Logwatch reports to
  • node['logwatch']['detail'] - The level of detail in the Logwatch report
  • node['logwatch']['range'] - The default time range for the Logwatch report
  • node['logwatch']['format'] - The format of the Logwatch report
  • node['logwatch']['directives'] - Additional configuration options can be added here, comma separated, for example: default['logwatch']['directives'] = ['Print = Yes', 'Output = mail', 'Service = All']
  • node['logwatch']['ignores'] - Lines to be added to the ignore.conf file can be added here, comma separated, for example: default['logwatch']['ignores'] = ['Kerberos database', 'warning']

License & Authors

Author: Cookbook Engineering Team (

Copyright: 2009-2016, 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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

logwatch Cookbook CHANGELOG

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

2.1.0 (2017-01-18)

  • added support for ignore.conf file using a new attribute

2.0.0 (2016-09-16)

  • Remove node name from the template
  • Testing updates
  • Require Chef 12.1

v1.2.1 (11-16-2016)

  • Added node['logwatch']['directives'] attribute for passing an array of directives to the logwatch config


  • Add new node['logwatch']['sender'] attribute
  • Added additional platforms to the metadata
  • Updated .gitignore file
  • Updated Test Kitchen config for the latest platforms
  • Added Chef standard Rubocop config
  • Updated testing in Travis CI to use ChefDK vs. Gems
  • Updated Berksfile to 3.X format
  • Updated contributing and testing docs
  • Added and maintainers.toml files
  • Added Travis and cookbook version badges to the readme
  • Expanded the requirements section in the readme and clarify the minimum supported Chef release is 11
  • Updated Opscode -> Chef Software
  • Added a Rakefile for simplified testing
  • Added a Chefignore file
  • Resolved Rubocop warnings
  • Added source_url and issues_url to the metadata
  • Updated Chefspec tests to 4.X format



  • COOK-3259 - Add and document additional logwatch configuration options as node attributes


  • [COOK-1529] - Add default logwatch.conf
  • Add test-kitchen support


  • Initial public release

Collaborator Number Metric

2.1.0 passed this metric

Contributing File Metric

2.1.0 passed this metric

Foodcritic Metric

2.1.0 passed this metric

License Metric

2.1.0 passed this metric

No Binaries Metric

2.1.0 passed this metric

Testing File Metric

2.1.0 passed this metric

Version Tag Metric

2.1.0 passed this metric