Merge "Reload haproxy when certificate is renewed"

This commit is contained in:
Zuul 2019-01-28 18:40:13 +00:00 committed by Gerrit Code Review
commit 27adab2d80
2 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ outputs:
- '/overcloud-haproxy-NETWORK.key'
hostname: "%{hiera('cloud_name_NETWORK')}"
principal: "haproxy/%{hiera('cloud_name_NETWORK')}"
postsave_cmd: "/usr/bin/certmonger-haproxy-refresh.sh reload NETWORK"
for_each:
NETWORK: {get_attr: [HAProxyNetworks, value]}
metadata_settings:

View File

@ -69,6 +69,7 @@ outputs:
- '/overcloud-haproxy-external.key'
hostname: "%{hiera('cloud_name_external')}"
principal: "haproxy/%{hiera('cloud_name_external')}"
postsave_cmd: "/usr/bin/certmonger-haproxy-refresh.sh restart external"
metadata_settings:
- service: haproxy
network: external