Only enable keystone notifications if telemetry is enabled
This will get rid of the unnecessary notifications that were being produced and help with the undercloud's memory consumption. Change-Id: If4d97e5069ca678edbcd2270a75f6faf67364420 Closes-Bug: #1729293
This commit is contained in:
parent
6939ac649d
commit
d60cd84502
|
@ -320,8 +320,15 @@ if hiera('tripleo::haproxy::service_certificate', undef) {
|
|||
$enable_proxy_headers_parsing = false
|
||||
}
|
||||
|
||||
if str2bool(hiera('enable_telemetry', false)) {
|
||||
$notification_topics = ['notifications']
|
||||
} else {
|
||||
$notification_topics = []
|
||||
}
|
||||
|
||||
class { '::keystone':
|
||||
enable_proxy_headers_parsing => $enable_proxy_headers_parsing,
|
||||
notification_topics => $notification_topics,
|
||||
}
|
||||
include ::keystone::wsgi::apache
|
||||
include ::keystone::cron::token_flush
|
||||
|
|
Loading…
Reference in New Issue