Go to file
Craig Bryant aa40f33af9 Create a monasca group
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
2014-08-27 13:20:34 -06:00
attributes Create a monasca group 2014-08-27 13:20:34 -06:00
recipes Upgrade the notification engine rather than just install 2014-07-31 16:25:52 -06:00
spec Get initial build to work. 2014-07-16 16:25:01 -06:00
templates/default Rename to monasca and Added gitreview 2014-07-16 16:49:22 -06:00
.gitreview Get initial build to work. 2014-07-16 16:25:01 -06:00
.rubocop.yml Get initial build to work. 2014-07-16 16:25:01 -06:00
Berksfile Get initial build to work. 2014-07-16 16:25:01 -06:00
Gemfile Get initial build to work. 2014-07-16 16:25:01 -06:00
metadata.rb Create a monasca group 2014-08-27 13:20:34 -06:00
README.md Rename to monasca and Added gitreview 2014-07-16 16:49:22 -06:00
Strainerfile Get initial build to work. 2014-07-16 16:25:01 -06:00

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.