Add notification_topic attributes for all services

These will be added to service config templates in subsequent patches.

Change-Id: I19b274d641f50e3c176bd038505140ffe92038c6
This commit is contained in:
Hugh Saunders
2014-02-14 13:12:07 +00:00
parent a84a40d912
commit 562c2b6f2e

View File

@@ -74,6 +74,7 @@ rabbit_defaults = {
###################################################################
services.each do |svc|
default['openstack']['mq'][svc]['service_type'] = node['openstack']['mq']['service_type']
default['openstack']['mq'][svc]['notification_topic'] = 'notifications'
case node['openstack']['mq'][svc]['service_type']
when 'qpid'
@@ -91,7 +92,6 @@ end
# Overrides and additional attributes for individual services
###################################################################
# block-storage
default['openstack']['mq']['block-storage']['notification_topic'] = 'notifications'
default['openstack']['mq']['block-storage']['qpid']['notification_topic'] =
node['openstack']['mq']['block-storage']['notification_topic']
default['openstack']['mq']['block-storage']['rabbit']['notification_topic'] =