aa40f33af9
All monasca users will belong to the monasca group so /var/log/monasca can be writable for all monasca users so there can be the one monasca log directory There will no longer be a monasca-notification group The code adding this group will be added to other cookbooks so the group will be created correctly no matter which cookbook runs first Change-Id: Ic47701fa24d33a8d8d713697901f13c09790c87d |
||
---|---|---|
attributes | ||
recipes | ||
spec | ||
templates/default | ||
.gitreview | ||
.rubocop.yml | ||
Berksfile | ||
Gemfile | ||
metadata.rb | ||
README.md | ||
Strainerfile |
monasca_notification Cookbook
Sets up the monasca-notification daemon
Requirements
The cookbook only requires access to the monasca-notification package.
Attributes
monasca_notification::default
Key | Type | Description | Default |
---|---|---|---|
[:monasca_notification][:user] | String | System user for the daemon | monasca-notification |
[:monasca_notification][:group] | String | System group for the daemon | monasca-notification |
[:monasca_notification][:conf_dir] | String | Configuration Directory | /etc/monasca |
[:monasca_notification][:data_bag] | String | Configuration data bag | monasca_notification |
[:monasca_notification][:log_dir] | String | Daemon log directory | /var/log/monasca-notification |
Data Bags
A data bag item named hosts in node[:monasca_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 monasca_notification default recipe in a role.