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

RSS

sanity (26) Versions 2.2.0

Standardize configuration of various machines (VM, cloud, bare metal, etc.) with a common set of packages and settings

Policyfile
Berkshelf
Knife
cookbook 'sanity', '= 2.2.0', :supermarket
cookbook 'sanity', '= 2.2.0'
knife supermarket install sanity
knife supermarket download sanity
README
Dependencies
Changelog
Quality 33%

Sanity Cookbook

Cookbook
Build Status

This cookbook is an opinionated but configurable set of packages and settings to make machines saner.

Here are some highlights of what it does:

  • sets timezone to UTC and enables NTP
  • sets up a basic firewall with iptables to block incoming connections (IPv4 and IPv6)
  • hardens sshd config with public key authentication and strong ciphers
  • sets up a local MTA using Postfix to send emails to sysadmin
  • sets up Monit to alert sysadmin when CPU, memory, disk, etc. is overused
  • sets up unattended_upgrades (Debian only)
  • sets up a reliable DNS resolver
  • installs a few useful packages like tmux, htop, curl, etc.

Recipes

sanity::default is a curated list of recipes that should fit most setups.

You can include extra recipes as you see fit.

License

MIT

Dependent cookbooks

apt ~> 7.4
iptables-ng ~> 4.0
monit-ng ~> 2.4
openssh ~> 2.10
postfix ~> 6.0
resolver ~> 3.0
vim ~> 2.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Unreleased (changes)

  • TBD

v2.2.0, 2021-09-?? (changes)

  • cc6b956 Fix the build for new ruby Docker image
  • f62fe38 Extract DNS servers as attributes
  • 7ce7c73 Switch from Vagrant to kitchen-dokken
  • 102b594 Use systemd resolved for DNS
  • ba5784e Drop support for discontinued CentOS
  • a92a0d7 Set up network interfaces automatically
  • a1ea577 Don't log unhandled UDP traffic
  • 62c6685 Update dependencies
  • 8b6f949 Use new Chef resource to set timezone to UTC
  • e9d43b6 Update dependencies
  • a6be455 Make sure ntp package is uninstalled
  • a9f0248 Use ShellOut to comply with http://www.foodcritic.io/#FC048
  • da74ae0 Update Gems
  • ba11518 Check free space on all regular filesystems
  • 17dfb8a Forward all unknown local recipients to root
  • 925f21f Update CHANGELOG

v2.1.0, 2020-06-23 (changes)

  • ffd9a59 Allow to whitelist non-free packages
  • a7be684 Bump rack from 2.2.2 to 2.2.3
  • 5370c31 Update dependencies
  • 0ff3153 Bump activesupport from 5.2.4.1 to 5.2.4.3
  • 50f5892 Keep old config upon updating package with conflict
  • 26b20d9 Make sure the ping program is installed
  • aa5eb33 Don't run Postfix in backwards-compatible mode
  • 2588893 Set smtpd_relay_restrictions for newer Postfix versions
  • 857feb1 Bump nokogiri from 1.10.7 to 1.10.8
  • f1a0f0e Fix broken NTP detection on Debian 10
  • 643c390 Update dependencies
  • 36272f5 Rename auto_reboot to automatic_reboot
  • e91f8b7 Don't recreate the backports repo on every Chef run
  • 2669d5e Use platform helper to make Cookstyle happy
  • 69e8b40 Bump version to 2.1.0
  • ff6ec90 Use numeric ports for NetBIOS
  • d073819 Enable backports on Debian Buster to get Monit package
  • 4bc1912 Update dependencies
  • e2053d6 Test against Debian 10
  • 5d78c58 Don't log UDP broadcast spam
  • 9d1b48e Update dependencies
  • 6fe120a Make sure apt-transport-https package is installed
  • 3612e01 Update dependencies

v2.0.1, 2019-08-23 (changes)

  • [BUGFIX] Don't email about successful package upgrades
  • [BUGFIX] Update Gems
  • [BUGFIX] Use built-in apt_update resource

v2.0.0, 2019-06-19 (changes)

  • First stable release. Enjoy!

v1.0.0 to v1.3.0, 2018-02-17 to 2019-06-19 (changes)

  • Experimental pre-releases. You should avoid to use these versions.

Collaborator Number Metric
            

2.2.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

2.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

2.2.0 passed this metric

No Binaries Metric
            

2.2.0 passed this metric

Testing File Metric
            

2.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

2.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number