Add package support to ceilometer-alarm-notifier

Updates the ceilometer-alarm-notifier so that it supports
using distro packages via pkg-map and package-installs.
The default distro package is set to openstack-ceilometer-alarm
which on RHEL/Fedora contains the ceilometer-alarm-notifier
binary.

Also, includes the related svc-map configs so that the
packaged version of the systemd scripts work correctly.

Change-Id: I0f40e0e241d3cfa2f2c33164a871792fe1b0bee2
This commit is contained in:
Dan Prince 2014-11-16 21:18:34 -05:00
parent 98cebc4aee
commit e29d4d39a1
5 changed files with 13 additions and 2 deletions

View File

@ -2,3 +2,5 @@ ceilometer
ceilometer-alarm-evaluator
os-refresh-config
os-svc-install
package-installs
pkg-map

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -eux
os-svc-enable -n ceilometer-alarm-notifier
os-svc-enable -an ceilometer-alarm-notifier
os-svc-restart -n ceilometer-alarm-evaluator
os-svc-restart -an ceilometer-alarm-evaluator

View File

@ -0,0 +1,5 @@
{
"default": {
"ceilometer_alarm_package": "openstack-ceilometer-alarm"
}
}

View File

@ -0,0 +1,3 @@
ceilometer-alarm-notifier:
default: ceilometer-alarm-notifier
redhat: openstack-ceilometer-alarm-notifier