This is a Chef cookbook to manage Heartbeat.
For Production environment, always prefer the most recent release.
cookbook 'elastic-heartbeat', '~> 0.1.1'
cookbook 'elastic-heartbeat', github: 'vkhatri/chef-heartbeat', tag: 'v0.1.1'
https://github.com/vkhatri/chef-heartbeat
This cookbook was tested on CentOS & Ubuntu Linux and expected to work on other RHEL platforms.
- 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
-
default['heartbeat']['version']
(default:5.2.2
): heartbeat version -
default['heartbeat']['ignore_version']
(default:false
): ignore heartbeat version forpackage
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
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests (
rake & rake knife
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- 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 http://www.apache.org/licenses/LICENSE-2.0 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.