Added hostname processor to all plugins which require it
This commit is contained in:
		| @@ -5,6 +5,7 @@ Installs and configures an openstack client | ||||
| import logging | ||||
|  | ||||
| import packstack.installer.engine_validators as validate | ||||
| import packstack.installer.engine_processors as process | ||||
| from packstack.installer import basedefs | ||||
| import packstack.installer.common_utils as utils | ||||
|  | ||||
| @@ -30,6 +31,9 @@ def initConfig(controllerObject): | ||||
|                    "OPTION_LIST"     : [], | ||||
|                    "VALIDATION_FUNC" : validate.validatePing, | ||||
|                    "DEFAULT_VALUE"   : "127.0.0.1", | ||||
|                    "PROCESSOR_ARGS"  : {"allow_localhost": True}, | ||||
|                    "PROCESSOR_FUNC"  : process.processHost, | ||||
|                    "PROCESSOR_MSG"   : "WARN_VAL_IS_HOSTNAME", | ||||
|                    "MASK_INPUT"      : False, | ||||
|                    "LOOSE_VALIDATION": True, | ||||
|                    "CONF_NAME"       : "CONFIG_OSCLIENT_HOST", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Magr
					Martin Magr