Merge "Added neutron options for Horizon"
This commit is contained in:
		| @@ -162,6 +162,16 @@ def create_manifest(config, messages): | ||||
|     else: | ||||
|         config["CONFIG_HORIZON_SSL"] = 'false' | ||||
|  | ||||
|     if config["CONFIG_LBAAS_INSTALL"] == 'y': | ||||
|         config["CONFIG_HORIZON_NEUTRON_LB"] = 'true' | ||||
|     else: | ||||
|         config["CONFIG_HORIZON_NEUTRON_LB"] = 'false' | ||||
|  | ||||
|     if config["CONFIG_NEUTRON_FWAAS"] == 'y': | ||||
|         config["CONFIG_HORIZON_NEUTRON_FW"] = 'true' | ||||
|     else: | ||||
|         config["CONFIG_HORIZON_NEUTRON_FW"] = 'false' | ||||
|  | ||||
|     manifestdata = getManifestTemplate("horizon.pp") | ||||
|     appendManifestFile(manifestfile, manifestdata) | ||||
|  | ||||
|   | ||||
| @@ -19,6 +19,8 @@ class {'horizon': | ||||
|    horizon_cert => '/etc/pki/tls/certs/ssl_ps_server.crt', | ||||
|    horizon_key => '/etc/pki/tls/private/ssl_ps_server.key', | ||||
|    horizon_ca => '/etc/pki/tls/certs/ssl_ps_chain.crt', | ||||
|    neutron_options => { 'enable_lb' => %(CONFIG_HORIZON_NEUTRON_LB)s, | ||||
|     'enable_firewall' => %(CONFIG_HORIZON_NEUTRON_FW)s }, | ||||
| } | ||||
|  | ||||
| if %(CONFIG_HORIZON_SSL)s { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jenkins
					Jenkins