5ce5e04f51
Add .gitreview, Gemfile, .rubocop.yml, Berksfile, Strainerfile Fixed style errors. Added empty unit test so chef-unit passes until we get real unit tests Change-Id: I75a9449a28cfc294eacbdc0003a8b7de2613290e |
||
---|---|---|
attributes | ||
recipes | ||
spec | ||
templates/default | ||
.gitreview | ||
.rubocop.yml | ||
Berksfile | ||
Gemfile | ||
metadata.rb | ||
README.md | ||
Strainerfile |
mon_notification Cookbook
Sets up the mon-notification daemon
Requirements
The cookbook only requires access to the mon-notification package.
Attributes
mon_notification::default
Key | Type | Description | Default |
---|---|---|---|
[:mon_notification][:user] | String | System user for the daemon | mon-notification |
[:mon_notification][:group] | String | System group for the daemon | mon-notification |
[:mon_notification][:conf_dir] | String | Configuration Directory | /etc/mon |
[:mon_notification][:data_bag] | String | Configuration data bag | mon_notification |
[:mon_notification][:log_dir] | String | Daemon log directory | /var/log/mon-notification |
Data Bags
A data bag item named hosts in node[:mon_notification][:data_bag] is required for running. It simply has 4 dictionary items for the host names and auth infomation to connect to the services: kafka, mysql, smtp and zookeeper
Usage
Simply include the mon_notification default recipe in a role.