Add RabbitMQ as option for Qpid

Adds the rabbitmq puppet module and configures
all the plugins to use it.

Change-Id: I5e25ec75689aaf63b8c3938fbe845785b964b7fb
This commit is contained in:
Ivan Chavero
2014-02-19 14:15:55 -07:00
parent e34b032c9e
commit 35f2526338
34 changed files with 384 additions and 251 deletions

View File

@@ -10,6 +10,7 @@ from packstack.installer import basedefs
from packstack.installer import utils
from packstack.installer.utils import split_hosts
from packstack.modules.shortcuts import get_mq
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
# Controller object will be initialized from main flow
@@ -97,7 +98,8 @@ def createmanifest(config):
manifestfile = "%s_glance.pp" % controller.CONF['CONFIG_GLANCE_HOST']
manifestdata = getManifestTemplate("glance.pp")
if config['CONFIG_CEILOMETER_INSTALL'] == 'y':
manifestdata += getManifestTemplate('glance_ceilometer.pp')
manifestdata += getManifestTemplate(get_mq(config, "glance_ceilometer"))
hosts = set()
if config['CONFIG_NOVA_INSTALL'] == 'y':
hosts = split_hosts(config['CONFIG_NOVA_COMPUTE_HOSTS'])