Fix prometheus-proxy service name in Red Hat-based distros
The prometheus-proxy service is called octavia-prometheus-proxy in RDO's RPMs [0]. Add a svc-map for the service name to fix the amphora-agent element for these distros. [0] https://review.rdoproject.org/r/c/openstack/octavia-distgit/+/44152 Partial-Bug: 1992668 Change-Id: Ie739cd582103d1aab3021c56654e395b5919358f
This commit is contained in:
parent
95adbbe618
commit
344d6d76ce
@ -8,5 +8,5 @@ set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ "$DIB_INIT_SYSTEM" == "systemd" ]; then
|
||||
systemctl enable prometheus-proxy
|
||||
systemctl enable $(svc-map prometheus-proxy)
|
||||
fi
|
||||
|
@ -1,3 +1,6 @@
|
||||
amphora-agent:
|
||||
default: amphora-agent
|
||||
redhat: octavia-amphora-agent
|
||||
prometheus-proxy:
|
||||
default: prometheus-proxy
|
||||
redhat: octavia-prometheus-proxy
|
||||
|
Loading…
Reference in New Issue
Block a user