Only setup nova notifications if nova is being installed

Change-Id: Ia8e4c3410b04671c4f9796a7bb02845b081b0355
This commit is contained in:
Terry Wilson
2014-05-19 11:20:48 -05:00
committed by Martin Magr
parent 399eece74d
commit b628613069

View File

@@ -747,7 +747,9 @@ def create_manifests(config, messages):
if host in api_hosts:
manifest_file = "%s_neutron.pp" % (host,)
manifest_data = getManifestTemplate("neutron_api.pp")
manifest_data += getManifestTemplate("neutron_notifications.pp")
if config['CONFIG_NOVA_INSTALL'] == 'y':
template_name = "neutron_notifications.pp"
manifest_data += getManifestTemplate(template_name)
# Firewall Rules
for f_host in q_hosts: