Add package support to ceilometer-alarm-evaluator

Updates the ceilometer-alarm-evaluator 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-evaluator
binary.

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

Change-Id: Ie7c68ddd6d17de4b48b7ef9eb692ee650e38c601
This commit is contained in:
Dan Prince 2014-11-16 21:21:47 -05:00
parent e29d4d39a1
commit d28848b265
5 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,5 @@
ceilometer
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-evaluator
os-svc-enable -an ceilometer-alarm-evaluator
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-evaluator:
default: ceilometer-alarm-evaluator
redhat: openstack-ceilometer-alarm-evaluator