redis: Generate tls certs timely for redis-sentinel

The same certs are used by not only redis but also redis-sentinel so
the certs should be generated at the appropriate timing for sentinel
installation/configuration.

Change-Id: I50e08ff61d3e4152777b425fe15f2f48fcea6070
This commit is contained in:
Takashi Kajinami 2024-05-10 23:00:51 +09:00
parent 8deb43581f
commit 0a9c65cbe1
1 changed files with 8 additions and 2 deletions

View File

@ -46,8 +46,14 @@ class openstack_integration::redis {
if $::openstack_integration::config::ssl {
openstack_integration::ssl_key { 'redis':
require => Package[$::redis::package_name],
notify => Service[$::redis::service_name],
require => [
Package[$::redis::package_name],
Package[$::redis::sentinel::package_name],
],
notify => [
Service[$::redis::service_name],
Service[$::redis::sentinel::service_name],
]
}
}
}