diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-08-24 17:56:15 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-08-24 17:56:15 +0000 |
commit | 5a7d1b8b03755cb4aeba3636b96a5665569331b5 (patch) | |
tree | dcb591c73e5c3d45e85bd5fbf3977a5b6d9b27a2 /manifests/profile | |
parent | 47637386dcbfc226116fa201577d02a957dd6529 (diff) | |
parent | 347aa4a4f255372201affc3dc6c7e409ca7e76b8 (diff) |
Merge "TLS-everywhere/libvirt: Make postsave command configurable"
Diffstat (limited to 'manifests/profile')
-rw-r--r-- | manifests/profile/base/certmonger_user.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/profile/base/certmonger_user.pp b/manifests/profile/base/certmonger_user.pp index c3dde96..cc29cd5 100644 --- a/manifests/profile/base/certmonger_user.pp +++ b/manifests/profile/base/certmonger_user.pp @@ -58,6 +58,11 @@ # it will create. # Defaults to hiera('libvirt_certificates_specs', {}). # +# [*libvirt_postsave_cmd*] +# (Optional) If set, it overrides the default way to restart libvirt when the +# certificate is renewed. +# Defaults to undef +# # [*mongodb_certificate_specs*] # (Optional) The specifications to give to certmonger for the certificate(s) # it will create. @@ -84,6 +89,7 @@ class tripleo::profile::base::certmonger_user ( $haproxy_certificates_specs = hiera('tripleo::profile::base::haproxy::certificates_specs', {}), $haproxy_postsave_cmd = undef, $libvirt_certificates_specs = hiera('libvirt_certificates_specs', {}), + $libvirt_postsave_cmd = undef, $mongodb_certificate_specs = hiera('mongodb_certificate_specs',{}), $mysql_certificate_specs = hiera('tripleo::profile::base::database::mysql::certificate_specs', {}), $rabbitmq_certificate_specs = hiera('tripleo::profile::base::rabbitmq::certificate_specs', {}), @@ -111,7 +117,8 @@ class tripleo::profile::base::certmonger_user ( } unless empty($libvirt_certificates_specs) { include ::tripleo::certmonger::libvirt_dirs - ensure_resources('tripleo::certmonger::libvirt', $libvirt_certificates_specs) + ensure_resources('tripleo::certmonger::libvirt', $libvirt_certificates_specs, + {'postsave_cmd' => $libvirt_postsave_cmd}) } unless empty($haproxy_certificates_specs) { include ::tripleo::certmonger::haproxy_dirs |