diff options
author | Emilien Macchi <emilien@redhat.com> | 2017-07-07 11:35:28 -0700 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2017-07-11 13:57:48 -0700 |
commit | d5145167cb13170cb2f8b928b3c920648e7ecaf0 (patch) | |
tree | f06d143ca6aa9fb6b99f4ce2da0155951e233eb2 /puppet/services/barbican-api.yaml | |
parent | 322f2dbd4c1d9c8617186bcb9211d7a1fe10ba3f (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/barbican-api.yaml')
-rw-r--r-- | puppet/services/barbican-api.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/barbican-api.yaml b/puppet/services/barbican-api.yaml index 51331242..65c26d40 100644 --- a/puppet/services/barbican-api.yaml +++ b/puppet/services/barbican-api.yaml @@ -73,6 +73,12 @@ parameters: e.g. { barbican-context_is_admin: { key: context_is_admin, value: 'role:admin' } } default: {} type: json + NotificationDriver: + type: string + default: 'messagingv2' + description: Driver or drivers to handle sending notifications. + constraints: + - allowed_values: [ 'messagingv2', 'noop' ] resources: @@ -109,6 +115,7 @@ outputs: - service_debug_unset - {get_param: Debug } - {get_param: BarbicanDebug } + barbican::api::notification_driver: {get_param: NotificationDriver} barbican::api::rabbit_use_ssl: {get_param: RabbitClientUseSSL} barbican::api::rabbit_userid: {get_param: RabbitUserName} barbican::api::rabbit_password: {get_param: RabbitPassword} |