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

drbd (24) Versions 3.0.14

Installs/Configures drbd.

Policyfile
Berkshelf
Knife
cookbook 'drbd', '~> 3.0.14', :supermarket
cookbook 'drbd', '~> 3.0.14'
knife supermarket install drbd
knife supermarket download drbd
README
Dependencies
Changelog
Quality 50%

drbd Cookbook

Cookbook Version
CI State
OpenCollective
OpenCollective
License

Installs and configures the Distributed Replicated Block Device (DRBD) service for mirroring block devices between a pair of hosts. Right now it simply works in pairs, multiple hosts could be supported with a few small changes.

The drbd cookbook does not partition drives. It will format partitions given a filesystem type, but it does not explicitly depend on the xfs cookbook if you want that type of filesystem, but you can put it in your run list and set the node['drbd']['fs_type'] to 'xfs' or 'ext4' or whatever.

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Requirements

Platforms

  • Ubuntu
  • CentOS

Chef

  • Chef 12.15+

Cookbooks

  • yum-elrepo

Recipes

default

Installs drbd but does no configuration. If another version of drbd is desired, set the node['drbd']['packages'] attribute.

For example, to install drdb 8.4 on CentOS you might set node.override['drbd']['packages'] = %w(drbd84-utils kmod-drbd84).

pair

Given a filesystem and a partner host, configures block replication between the hosts. The master will claim the primary, format the filesystem and mount the partition. The slave will simply mirror without mounting. It currently takes 2 chef-client runs to ensure the pair is synced properly.

Attributes

The required attributes are

  • node['drbd']['remote_host'] - Remote host to pair with.
  • node['drbd']['remote_ip'] - Remote host to pair with.
  • node['drbd']['local_ip'] - Remote host to pair with.
  • node['drbd']['disk'] - Disk partition to mirror.
  • node['drbd']['mount'] - Mount point to mirror.
  • node['drbd']['fs_type'] - Disk format for the mirrored disk, defaults to ext3.
  • node['drbd']['master'] - Whether this node is master between the pair, defaults to false.

The optional attributes are

  • node['drbd']['packages'] - What packages are needed to install drbd, defaults to drbd_packages helper.

Roles

There are a pair of example roles drbd-pair.rb and drbd-pair-master.rb with the cookbook source.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website
https://opencollective.com/sous-chefs/sponsor/1/website
https://opencollective.com/sous-chefs/sponsor/2/website
https://opencollective.com/sous-chefs/sponsor/3/website
https://opencollective.com/sous-chefs/sponsor/4/website
https://opencollective.com/sous-chefs/sponsor/5/website
https://opencollective.com/sous-chefs/sponsor/6/website
https://opencollective.com/sous-chefs/sponsor/7/website
https://opencollective.com/sous-chefs/sponsor/8/website
https://opencollective.com/sous-chefs/sponsor/9/website

Dependent cookbooks

yum-elrepo >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

drbd Cookbook CHANGELOG

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

3.0.14 - 2024-12-05

3.0.13 - 2024-05-06

3.0.12 - 2024-05-06

3.0.11 - 2023-09-28

3.0.10 - 2023-09-28

3.0.9 - 2023-06-08

Standardise files with files in sous-chefs/repo-management

3.0.8 - 2023-05-17

3.0.7 - 2023-05-03

3.0.6 - 2023-04-01

3.0.5 - 2023-03-08

3.0.4 - 2023-03-02

  • Standardise files with files in sous-chefs/repo-management

3.0.3 - 2023-02-14

  • Remove delivery folder

3.0.2 - 2021-08-31

  • Standardise files with files in sous-chefs/repo-management

3.0.1 - 2021-06-01

  • Standardise files with files in sous-chefs/repo-management

3.0.0 - 2021-03-17

  • Updates default version to 9.0 on supported platforms
  • Sous Chefs Adoption
  • Cookstyle Fixes

2.0.1 (2017-09-01)

  • Use a SPDX standard license string
  • Disable FC075 where we actually need it
  • Cleanup Travis testing and Kitchen config

2.0.0 (2017-02-18)

  • Remove chef-solo compatibility check
  • Add support for RHEL platforms by using yum-elrepo repository
  • Use multi-package installs to speed up chef converges

1.0.0 (2016-09-15)

  • Testing updates
  • Require Chef 12.1

v0.10.0 (2015-10-20)

  • Converted Chef::Shellout to Mixlib::Shellout to prevent deprecation warnings
  • Changed Opscode -> Chef Software
  • Added gitignore file
  • Added chefignore file
  • Added initial Test Kitchen config
  • Added Chef standard rubocop config
  • Added Travis CI testing
  • Added Berksfile
  • Added Gemfile with testing deps
  • Updated testing and contributing docs
  • Added maintainers.md and maintainers.toml files
  • Added travis and cookbook version badges to the readme
  • Added a Rakefile for simplified testing
  • Added additional platforms to the metadata
  • Added source_url and issues_url to the metadata
  • Added basic convergence Chefspec
  • Resolved Rubocop warnings

v0.9.0 (2014-06-11)

  • # 3 - [CHEF-4979] add support for centos and multiple netwrok interfaces

v0.8.2

  • [COOK-2957]: drbd cookbook has foodcritic failures

v0.8.0

  • Initial release.

Collaborator Number Metric
            

3.0.14 passed this metric

Contributing File Metric
            

3.0.14 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
            

3.0.14 passed this metric

No Binaries Metric
            

3.0.14 passed this metric

Testing File Metric
            

3.0.14 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
            

3.0.14 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