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


elastic_beats_repo (3) Versions 1.2.0

Installs/Configures Elastic Beats APT/Yum Repository

cookbook 'elastic_beats_repo', '~> 1.2.0', :supermarket
cookbook 'elastic_beats_repo', '~> 1.2.0'
knife supermarket install elastic_beats_repo
knife supermarket download elastic_beats_repo
Quality 33%

elastic_beats_repo Cookbook

Cookbook Build Status

This is a Chef cookbook to manage Elastic Beats YUM/APT Repository.

For Production environment, always prefer the most recent release.

Most Recent Release

cookbook 'elastic_beats_repo', '~> 1.2.0'

From Git

cookbook 'elastic_beats_repo', github: 'vkhatri/chef-elastic-beats-repo',  tag: 'v1.2.0'


Supported OS

  • Amazon Linux
  • CentOS
  • Ubuntu
  • Debian

Supported Chef

  • Chef 12

  • Chef 13

Supported Elastic Beats Repository

  • 1.x
  • 5.x

Cookbook Dependency

  • apt
  • yum


  • elastic_beats_repo::apt - configure elastic beats apt repository for node['elastic_beats_repo']['version']

  • elastic_beats_repo::yum - configure elastic beats yum repository for node['elastic_beats_repo']['version']

  • elastic_beats_repo::default - platform specific beats repository for node['elastic_beats_repo']['version']

  • elastic_beats_repo::apt_all - configure elastic beats v1.x and v5.x apt repositories

  • elastic_beats_repo::yum_all - configure elastic beats v1.x and v5.x yum repositories

  • elastic_beats_repo::default_all - platform specific v1.x and v5.x beats repositories

Core Attributes

  • default['elastic_beats_repo']['version'] (default: 5.6.4): elastic_beats_repo version

  • default['elastic_beats_repo']['setup_repo'] (default: true): setup apt or yum repository if set to true

  • default['elastic_beats_repo']['yum']['priority'] (default: nil): yum repository attribute

  • default['elastic_beats_repo']['yum']['description'] (default: Elastic Beats Repository): yum repository attribute

  • default['elastic_beats_repo']['yum']['gpgcheck'] (default: true): yum repository attribute

  • default['elastic_beats_repo']['yum']['enabled'] (default: true): yum repository attribute

  • default['elastic_beats_repo']['yum']['baseurl'] (default: calculated): yum repository attribute

  • default['elastic_beats_repo']['yum']['gpgkey'] (default: calculated): yum repository attribute

  • default['elastic_beats_repo']['yum']['metadata_expire'] (default: 3h): yum repository attribute

  • default['elastic_beats_repo']['yum']['action'] (default: :create): yum repository attribute

  • default['elastic_beats_repo']['apt']['description'] (default: Elastic Beats Repository): apt repository attribute

  • default['elastic_beats_repo']['apt']['components'] (default: ['stable', 'main']): apt repository attribute

  • default['elastic_beats_repo']['apt']['uri'] (default: calculated): apt repository attribute

  • default['elastic_beats_repo']['apt']['key'] (default: calculated): apt repository attribute

  • default['elastic_beats_repo']['apt']['distribution'] (default: ``): apt repository attribute

  • default['elastic_beats_repo']['apt']['action'] (default: :add): apt repository attribute


  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

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.

elastic_beats_repo CHANGELOG


  • Virender Khatri - corrected apt cookbook version dependency


  • Virender Khatri - added apt cookbook version dependency

  • Virender Khatri - updated kitchen inspec tests


  • Virender Khatri - first commit

Collaborator Number Metric

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

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

Foodcritic Metric

1.2.0 passed this metric

No Binaries Metric

1.2.0 passed this metric

Testing File Metric

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

Version Tag Metric

1.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, and your repo must include a tag that matches this cookbook version number