aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/ceilometer-base.yaml
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-07-07 11:35:28 -0700
committerEmilien Macchi <emilien@redhat.com>2017-07-11 13:57:48 -0700
commitd5145167cb13170cb2f8b928b3c920648e7ecaf0 (patch)
treef06d143ca6aa9fb6b99f4ce2da0155951e233eb2 /puppet/services/ceilometer-base.yaml
parent322f2dbd4c1d9c8617186bcb9211d7a1fe10ba3f (diff)
Allow to set Notification Driver to 'noop'
This patch does 2 things: * Configure messagingv2 as default driver for Oslo Notifications sent on RPC. * Allow users to choose between messagingv2 (default) and noop when we want to disable notifications (for example, when Telemetry is disabled). * Deprecate KeystoneNotificationDriver in favor of NotificationDriver. Change-Id: Ia547d7f4bfb51e7c45246b097b48fd86da231bd3 Related-Bug: #1701357
Diffstat (limited to 'puppet/services/ceilometer-base.yaml')
-rw-r--r--puppet/services/ceilometer-base.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/ceilometer-base.yaml b/puppet/services/ceilometer-base.yaml
index 1d86369b..0cd9a6dd 100644
--- a/puppet/services/ceilometer-base.yaml
+++ b/puppet/services/ceilometer-base.yaml
@@ -103,6 +103,12 @@ parameters:
description: The user password for SNMPd with readonly rights running on all Overcloud nodes
type: string
hidden: true
+ NotificationDriver:
+ type: string
+ default: 'messagingv2'
+ description: Driver or drivers to handle sending notifications.
+ constraints:
+ - allowed_values: [ 'messagingv2', 'noop' ]
conditions:
service_debug_unset: {equals : [{get_param: CeilometerDebug}, '']}
@@ -139,6 +145,7 @@ outputs:
ceilometer::dispatcher::gnocchi::filter_project: 'service'
ceilometer::dispatcher::gnocchi::archive_policy: 'low'
ceilometer::dispatcher::gnocchi::resources_definition_file: 'gnocchi_resources.yaml'
+ ceilometer::notification_driver: {get_param: NotificationDriver}
ceilometer::rabbit_userid: {get_param: RabbitUserName}
ceilometer::rabbit_password: {get_param: RabbitPassword}
ceilometer::rabbit_use_ssl: {get_param: RabbitClientUseSSL}