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:
parent
98cebc4aee
commit
e29d4d39a1
|
@ -2,3 +2,5 @@ ceilometer
|
|||
ceilometer-alarm-evaluator
|
||||
os-refresh-config
|
||||
os-svc-install
|
||||
package-installs
|
||||
pkg-map
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ceilometer_alarm_package
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"default": {
|
||||
"ceilometer_alarm_package": "openstack-ceilometer-alarm"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
ceilometer-alarm-notifier:
|
||||
default: ceilometer-alarm-notifier
|
||||
redhat: openstack-ceilometer-alarm-notifier
|
Loading…
Reference in New Issue