Change the way HAProxy service is reloaded

NOTE: In queens, this changes the way haproxy is reloaded to the
same way it is reloaded in files/certmonger-haproxy-refresh.sh,
since there is no systemd unit file for the service.

The master patch only changes the name of the haproxy service
so that it reflects the new name of the service.

Resolves: rhbz#1698058

Change-Id: I66ee58f3b4fd2f10ceba6306497ac796daaf98e8
(cherry picked from commit 48125267dd)
This commit is contained in:
abdallahyas 2020-01-27 11:53:39 +00:00 committed by Grzegorz Grasza
parent fc8bbb5df4
commit 98283b6773
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class tripleo::profile::base::certmonger_user (
) {
if $step == 1 {
unless empty($haproxy_certificates_specs) {
$reload_haproxy = ['systemctl reload haproxy']
$reload_haproxy = ['pkill -f -HUP haproxy-systemd-wrapper']
Class['::tripleo::certmonger::ca::crl'] ~> Haproxy::Balancermember<||>
if defined(Class['::haproxy']) {
Class['::tripleo::certmonger::ca::crl'] ~> Class['::haproxy']