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


elastic-heartbeat (2) Versions 0.1.1

Installs/Configures elastic-heartbeat

cookbook 'elastic-heartbeat', '~> 0.1.1'
cookbook 'elastic-heartbeat', '~> 0.1.1', :supermarket
knife supermarket install elastic-heartbeat
knife supermarket download elastic-heartbeat
Quality 63%

elastic-heartbeat Cookbook

Cookbook Build Status

This is a Chef cookbook to manage Heartbeat.

For Production environment, always prefer the most recent release.

Most Recent Release

cookbook 'elastic-heartbeat', '~> 0.1.1'

From Git

cookbook 'elastic-heartbeat', github: 'vkhatri/chef-heartbeat',  tag: 'v0.1.1'


Supported OS

This cookbook was tested on CentOS & Ubuntu Linux and expected to work on other RHEL platforms.

Cookbook Dependency

  • elastic_beats_repo
  • yum-plugin-versionlock


  • elastic-heartbeat::attributes - cookbook derived default attributes

  • elastic-heartbeat::config - configure heartbeat

  • elastic-heartbeat::default - default recipe (use it for run_list)

  • elastic-heartbeat::install - install heartbeat package for linux platform

Core Attributes

  • default['heartbeat']['version'] (default: 5.2.2): heartbeat version

  • default['heartbeat']['ignore_version'] (default: false): ignore heartbeat version for package install

  • default['heartbeat']['release'] (default: 1): heartbeat release for yum package

  • default['heartbeat']['service']['init_style'] (default: init): heartbeat service init system, options: init, runit

  • default['heartbeat']['conf_dir'] (default: /etc/heartbeat): heartbeat yaml configuration file directory

  • default['heartbeat']['conf_file'] (default: /etc/heartbeat/heartbeat.yml): heartbeat configuration file

  • default['heartbeat']['notify_restart'] (default: true): whether to restart heartbeat service on configuration file change

  • default['heartbeat']['disable_service'] (default: false): whether to stop and disable heartbeat service

  • default['heartbeat']['monitors_dir'] (default: /etc/heartbeat/conf.d): monitors configuration file directory

  • default['heartbeat']['setup_repo'] (default: true): whether to manage the beats apt/yum repository


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests (rake & rake knife), ensuring they all pass
  6. Write new resource/attribute description to
  7. Write description about changes to PR
  8. Submit a Pull Request using Github

Authors:: Virender Khatri and Contributors

<pre> 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, 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. </pre>

Dependent cookbooks

yum-plugin-versionlock >= 0.1.2
elastic_beats_repo >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

elastic-heartbeat CHANGELOG

This file is used to list changes made in each version of the elastic-heartbeat cookbook.


  • Virender Khatri - updated Kitchen Travis

  • Virender Khatri - added yum-plugin-versionlock::default recipe deps

  • Virender Khatri - added amazon platform family support

  • Virender Khatri - update default heatbeat version to 6.2.3

  • brianvans - remove some unused attributes and update README

  • brianvans - use optional elastic_beats_repo cookbook for managing repo

  • brianvans - support heartbeat 6.x 6.2.3 version change


  • Virender Khatri - Initial release of elastic-heartbeat

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric

0.1.1 failed this metric

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

Contributing File Metric

0.1.1 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, and your repo must contain a file

Foodcritic Metric

0.1.1 passed this metric

No Binaries Metric

0.1.1 passed this metric

Publish Metric

0.1.1 passed this metric

Supported Platforms Metric

0.1.1 passed this metric

Testing File Metric

0.1.1 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, and your repo must contain a file

Version Tag Metric

0.1.1 passed this metric