cookbook 'heartbeat', '~> 1.0.1'
heartbeat (4) Versions 1.0.1 Follow10
Installs but does not configure heartbeat
cookbook 'heartbeat', '~> 1.0.1'
knife cookbook site install heartbeat
knife cookbook site download heartbeat
Installs heartbeat, and includes resources/providers for managing heartbeat configuration.
It is outside the scope of this cookbook and the README to replace documentation and user understanding of the linux-ha and heartbeat project.
- Chef 11+
node['heartbeat']['conf_dir']- Directory where heartbeat configuration lives.
The following attributes are used in
pass into the LWRP used there. Each corresponds to a resource
attribute in the LWRP, making the recipe drivable with attributes,
e.g. set in a role. See the
heartbeat resource attributes below for
Manages heartbeat configuration files (ha.cf, authkeys, haresources).
:create- Default Creates the configuration. This will search for a specified query (see the
searchresource attribute below), and fall back to finding the cookbook and recipe name where the LWRP is used in the node's
auto_failback- used for the
auto_failbackconfiguration directive in ha.cf.
autojoin- used for the
autojoinconfiguration directive in ha.cf.
compression- used for the
compressionconfiguration directive in ha.cf.
compression_threshold- used for the
compression_thresholdconfiguration directive in ha.cf.
deadtime- used for the
deadtimeconfiguration directive in ha.cf.
initdead- used for the
initdeadconfiguration directive in ha.cf.
keepalive- used for the
keepaliveconfiguration directive in ha.cf.
logfacility- used for the
logfacilityconfiguration directive in ha.cf.
udpport- used for the
udpportconfiguration directive in ha.cf.
warntime- used for the
warntimeconfiguration directive in ha.cf.
search- a search query to use instead of the default (see description above).
authkeys- sha1 keys used in the authkeys config file.
active_key- the key used for the
authconfiguration directive in the authkeys config file.
interface- used for the `` configuration directive in ha.cf.
mcast_group- used for the `` configuration directive in ha.cf.
mcast_ttl- used for the `` configuration directive in ha.cf.
mode- tye network mode to use, can be ucast, bcast, or mcast, corresponds to the configuration directives in ha.cf.
resource_groups- array of resource groups
Used in the
heartbeat LWRP for the group IP.
Manages the haresources resource_groups.
Installs the heartbeat and heartbeat-dev packages, and manages the heartbeat service. The recipe does not at this time manage any configuration.
Uses the heartbeat LWRP with the
attributes to manage a complete heartbeat configuration.
default recipe to install heartbeat's packages and manage
Use the LWRP in your own recipe, or set the attributes described above
and use the
config recipe to setup a heartbeat-monitored application.
License & Authors
Author: Cookbook Engineering Team (email@example.com)
Copyright: 2009-2015, 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, 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. ```
This cookbook has no specified dependencies.
There are no cookbooks that are contingent upon this one.
heartbeat Cookbook CHANGELOG
This file is used to list changes made in each version of the heartbeat cookbook.
- Added .foodcritic file to skip certain rules
- Updated .gitignore file
- Added Test Kitchen config
- Added Chef standard Rubocop config
- Added testing in Travis CI
- Added a Berksfile
- Updated contributing and testing docs
- Added maintainers.md 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 long_description to the metadata
- Added source_url and issues_url to the metadata
- Added basic Chefspec convergence test
- [COOK-1692] - Make heartbeat available for Centos/Redhat
- [COOK-1699] - add LWRP for heartbeat configuration
- Current public release.
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/a8ad309136961d8a1f448583/heartbeat/providers/default.rb:22
FC016: LWRP does not declare a default action: /tmp/cook/a8ad309136961d8a1f448583/heartbeat/resources/ipaddr.rb:1
FC017: LWRP does not notify when updated: /tmp/cook/a8ad309136961d8a1f448583/heartbeat/providers/default.rb:20