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:
parent
8deb43581f
commit
0a9c65cbe1
@ -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],
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user