Merge "Certmonger: Only attempt to reload haproxy is it's active"

This commit is contained in:
Jenkins 2017-08-26 18:41:13 +00:00 committed by Gerrit Code Review
commit 4d89a8e095
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ define tripleo::certmonger::haproxy (
$dnsnames_real = $hostname
}
$postsave_cmd_real = pick($postsave_cmd, 'systemctl reload haproxy')
$postsave_cmd_real = pick($postsave_cmd, 'if systemctl -q is-active haproxy; then systemctl reload haproxy; else true; fi')
certmonger_certificate { "${title}-cert":
ensure => 'present',
ca => $certmonger_ca,